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
I was just confused by things only half working when I cloned the repo outside of my home directory (which has limited capacity). I ended up looking into the code and realised I needed to set the RENV_ROOT variable to the cloned folder. Maybe this is obvious to most people but perhaps could be mentioned in the README?
The text was updated successfully, but these errors were encountered:
AltfunsMA
changed the title
R-build not adding the install command
explicitly explaining setting of RENV_ROOT variable?
Jan 3, 2021
Renv currently expects to be installed in your home area, but as you discovered, you can set RENV_ROOT yourself if you installed it somewhere else. Here's a snippet from the Renv main script:
if [ -z "${RENV_ROOT}" ]; then
RENV_ROOT="${HOME}/.Renv"
else
RENV_ROOT="${RENV_ROOT%/}"
fi
export RENV_ROOT
You're right though, this should probably be documented somewhere useful.
I was just confused by things only half working when I cloned the repo outside of my home directory (which has limited capacity). I ended up looking into the code and realised I needed to set the RENV_ROOT variable to the cloned folder. Maybe this is obvious to most people but perhaps could be mentioned in the README?
The text was updated successfully, but these errors were encountered: