-
Notifications
You must be signed in to change notification settings - Fork 58
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
bslib dependencies fail during file copy when installed read-only #1154
Comments
That seems reasonable, would you like to submit a PR with the fix? |
Some follow up questions: Are you sure that the file mode attributes are the issue? Can you otherwise write files into R's temp folders on your system? |
Part of my reservation is that the files causing the warning are not copied via Lines 82 to 96 in b54bfb5
I haven't looked into It might be worth explaining your system set up so that we can recreate the environment and reproduce the issue. |
Permission denied when using precompiled css from a read-only bslib installation
In enterprise settings it is not uncommon to have a centralized library of packages where everything is installed read-only and maintained by designated users/teams. Another use case which is quickly gaining popularity is using Nix package manager for maintaining data science environments. Nix also installs everything read-only.
bslib/R/bs-dependencies.R
Line 88 in b54bfb5
One solution would be to add
copy.mode = FALSE
to thefile.copy
calls, so that the file mode attributes are not preserved.This fails in applications that call
bslib
internally, likeelmer
Added here based on the issue raised on elmer
The text was updated successfully, but these errors were encountered: