We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently ‘box’ assumes that ‘rstudioapi’ is installed if the code is run from inside RStudio:
box/R/paths.r
Line 193 in 0345109
However, this is apparently not always the case. Make code conditional on the package’s existence, or avoid depending on it altogether.
The text was updated successfully, but these errors were encountered:
Could probably be implemented as as.environment("tools:rstudio")$.rs.api.getActiveDocumentContext()$path. Caveat: this uses private (?) RStudio APIs.
as.environment("tools:rstudio")$.rs.api.getActiveDocumentContext()$path
Sorry, something went wrong.
461c706
See unresolved comment on 461c706.
Don’t fail if ‘rstudioapi’ is not installed.
c983693
Fall back to 'tools:rstudio' inside RStudio where appropriate and possible. Generate a warning otherwise. Fixes klmr#293.
klmr
No branches or pull requests
Currently ‘box’ assumes that ‘rstudioapi’ is installed if the code is run from inside RStudio:
box/R/paths.r
Line 193 in 0345109
However, this is apparently not always the case. Make code conditional on the package’s existence, or avoid depending on it altogether.
The text was updated successfully, but these errors were encountered: