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
rhino::format_r("/app/view/filename.R")
format_r() throws an error when a specific file is specified:
Error in `setwd()`: ! cannot change working directory Hide Traceback ▆ 1. └─rhino::format_r("/app/view/filename.R") 2. └─box.linters (local) style_box_use(path, exclude_files = exclude_files) 3. └─withr::with_dir(...) 4. └─base::setwd(dir = new) >
Works fine when just a directory is specified.
To format the specific file as stated in the docs.
Windows 10 x64 build 26100 R version 4.4.2 (2024-10-31 ucrt) rhino: 1.10.1 node: v22.12.0
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Steps to reproduce
Bug description
format_r() throws an error when a specific file is specified:
Works fine when just a directory is specified.
Expected behavior
To format the specific file as stated in the docs.
Rhino diagnostics
Windows 10 x64 build 26100
R version 4.4.2 (2024-10-31 ucrt)
rhino: 1.10.1
node: v22.12.0
Comments
No response
The text was updated successfully, but these errors were encountered: