Left as is, renv::restore() fails because here::here() only generates a file path.
This PR successfully calls renv::restore() and uses here::here() so that renv can search for the renv.lock file within the root directory via here::here(), regardless of where the user is within the directory.
Left as is,
renv::restore()
fails becausehere::here()
only generates a file path.This PR successfully calls
renv::restore()
and useshere::here()
so thatrenv
can search for therenv.lock
file within the root directory viahere::here()
, regardless of where the user is within the directory.