-
Notifications
You must be signed in to change notification settings - Fork 153
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
Custom location of renv/library folder #384
Comments
Indeed -- unfortunately, A workaround is to tell
replacing I'm still considering whether I could do something like this by default for package projects, since this is going to be a common pain point for anyone using |
@kevinushey I have a question to clearify the Path reference of renv. there is written:
For my understanding the RENV_PATHS_LIBRARY path don't get any expandation with version or system specific extensions, because this directory could contain packages already. Is this right? To ask the question in more advanced way: If I set the env var RENV_PATHS_LIBRARY this variable is valid for every environment not just one? It would be great if you can specifiy more clearly in which scope every env variable is considered and valid. Thank you and kind regards :-) |
Sorry, I should make this more clear -- We do this so that the user can set a single Let me know if that's the behavior you were hoping for, or were hoping for a mechanism to avoid appending the architecture-specific path components. |
I think the right solution here is for
I'll try to explore this. |
This has now been implemented in the development version of
If you want the old behavior, you can use:
in an appropriate |
First of, nice package!
I am trying to use renv in combination with package development (under Windows) to share package configurations among developers, but due to the renv/library folder, commands like
are taking very long probably due to scanning of all the renv/libraries. That is, adding the renv directory to the .Rbuildignore file does not seem to prevent R from still scanning it.
As a workaround, I can clone my git repo (which does not contain renv/library) somewhere else to check & build it. So to save this step, renv would require an option to put the renv/library folder somewhere else, e.g. just outside the package root.
Sorry, if that is already possible, but I could not find anything in the docs to make renv work like this.
Thanks!
Roman
The text was updated successfully, but these errors were encountered: