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
renv start with a new package won't react to the library() function to load package #1855
Comments
Did you choose to use "explicit" snapshots for the package? If so, then |
Thank you for reply |
Hi I think I got what you mean here, there is snapshot type setting By the way, I noticed there is some libraries installed in the renv::paths$sandbox(). |
Hi I think I also figure out what should be in sandbox by default. Thank you for tell me some clue to find these infos |
Right, exactly -- the sandbox is described in https://rstudio.github.io/renv/reference/sandbox.html. The intention here is that users might install packages into the default library paths, and we want to avoid those packages being made available by default in |
In order to confirm I understand your meaning, I try to clarify: So you choose the 2nd way, and this way you don't need to install 'base' and 'recommended' package everytime you start a new project, and those packages need to get update only when R's version has changed. |
Hi
Start a new package(not a project)
create an r file, with following line:
library(tictoc)
renv::status() didn't reflect the status change,it saids nothing changed, but a package tictoc is used but not installed and not recorded. There should be an inconsistency.
Is this on purpose design? or a bug? or I make a wrong operation?
The text was updated successfully, but these errors were encountered: