Spaces:
Runtime error
Runtime error
if (file.exists("renv")) { | |
source("renv/activate.R") | |
} else { | |
# The `renv` directory is automatically skipped when deploying with rsconnect. | |
message("No 'renv' directory found; renv won't be activated.") | |
} | |
# Allow absolute module imports (relative to the app root). | |
options(box.path = getwd()) | |