You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ℹ Loading jbplot
ℹ The package "ggplot2" is required.
✖ Would you like to install it?
1: Yes
2: No
After doing some troubleshooting, this appears to be happening because some packages are not detected during execution of the .Rprofile. Running renv::diagnostics() inside .Rprofile after source("renv/activate.R") reports the following in the Status section:
# Status ---------------------------------------------------------------------
The following package(s) are missing:
package installed recorded used
colorspace n y ?
farver n y ?
ggplot2 n y y
gtable n y ?
isoband n y ?
labeling n y ?
munsell n y ?
RColorBrewer n y ?
scales n y ?
showtext n y y
showtextdb n y ?
sysfonts n y ?
viridisLite n y ?
See ?renv::status() for advice on resolving these issues.
Running renv::diagnostics() again after R starts reports:
# Status ---------------------------------------------------------------------
No issues found -- the project is in a consistent state.
The text was updated successfully, but these errors were encountered:
Thanks for the bug report! By any chance, does this issue only reproduce in RStudio and not within R terminal sessions?
We made a change recently that ensures the project is loaded within an RStudio session init hook, which is something that happens "later", soon-after the rest of the R session has finished initialization. I suspect you're running into trouble due to this issue.
Starting in renv 1.0.0, I get an unexpected message when starting R in one of my packages (https://github.com/jabenninghoff/jbplot)
After doing some troubleshooting, this appears to be happening because some packages are not detected during execution of the
.Rprofile
. Runningrenv::diagnostics()
inside.Rprofile
aftersource("renv/activate.R")
reports the following in the Status section:Running
renv::diagnostics()
again after R starts reports:The text was updated successfully, but these errors were encountered: