Hi,
I'm trying to use "usethis" to create a Xaringan presentation on my Mac, with version control and a Git Hub repo.
I'm following these instructions: Deploying xaringan Slides: A Ten-Step GitHub Pages Workflow | Silvia Canelón
Here are the two error messages I get when I start:
> usethis::create_project("/Users/howardm/XaringanCaseConferences/CaseConferenceApril6th2021")
✓ Setting active project to '/Users/howardm/XaringanCaseConferences/CaseConferenceApril6th2021'
✓ Creating 'R/'
✓ Writing 'CaseConferenceApril6th2021.Rproj'
✓ Adding '.Rproj.user' to '.gitignore'
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
✓ Opening '/Users/howardm/XaringanCaseConferences/CaseConferenceApril6th2021/' in new RStudio session
✓ Setting active project to '<no active project>'
and, continuing, later
> usethis::use_git()
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
I haven't gone beyond this point.
Does anyone know what this is about ? I have previously installed the Command Line tools from the Apple developers page on my machine:
At the Terminal, I get:
xcode-select -p
/Library/Developer/CommandLineTools
Thanks,
Howard