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

Disable renv sandboxing #8

Open
mlell opened this issue Feb 12, 2022 · 0 comments
Open

Disable renv sandboxing #8

mlell opened this issue Feb 12, 2022 · 0 comments

Comments

@mlell
Copy link
Owner

mlell commented Feb 12, 2022

The renv R package has a feature called "sandbox" where it uses a folder with symlinks to the core R packages as system library to avoid loading other system-wide packages. This is unnecessary for this project where the system packages are frozen in the container anyway. Moreover, it prevents the BH replacement package from being recognized without further configuration.

The environment variable RENV_CONFIG_SANDBOX_ENABLED should be set to FALSE

mlell added a commit that referenced this issue Sep 27, 2024
From #8. Note that we do not install renv by default. That can be done by the
user But this setting makes sense for all usages of the container I can imagine
and avoids that the user has to set it in .Renviron or .bash_profile. However,
RStudio server will probably not respect this, at least it does not load user
environment variables.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant