Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid xcode-select --install hangups for RStudio #126

Open
zkamvar opened this issue May 29, 2021 · 1 comment
Open

Avoid xcode-select --install hangups for RStudio #126

zkamvar opened this issue May 29, 2021 · 1 comment
Assignees
Labels
Alpha Results This is an issue that came from findings in Alpha Testing

Comments

@zkamvar
Copy link
Contributor

zkamvar commented May 29, 2021

Based on carpentries/sandpaper-docs#33 (comment), we could implement a solution where we check if the user has macOS and are running RStudio and if so, use Sys.getenv(which -a") to check if /usr/bin/git actually works or if there is an xcrun error. If there is an error, we check if /usr/local/bin/git exists and use that version.

@zkamvar zkamvar self-assigned this May 29, 2021
@zkamvar zkamvar added the Alpha Results This is an issue that came from findings in Alpha Testing label May 29, 2021
@zkamvar
Copy link
Contributor Author

zkamvar commented Jun 22, 2021

This is a know issue in RStudio and it seems like they don't really think it's an issue: https://community.rstudio.com/t/where-does-the-path-variable-come-from-in-sys-getenv/70744/2?u=zkamvar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Alpha Results This is an issue that came from findings in Alpha Testing
Projects
None yet
Development

No branches or pull requests

1 participant