R/global.R

# Activate virtual env
Sys.unsetenv("RETICULATE_PYTHON")
# Note, the name of the virtual environment is defined in the GH Actions workflow
venv_name<-"virtual_env"
# We get a '126' error (non-executable) if we don't do this:
system(sprintf("chmod -R +x %s", venv_name))
reticulate::use_virtualenv(file.path(getwd(),venv_name), required = TRUE)




if (interactive()) {
  options(shiny.port = 8100)
} 

OAUTH_LIST <- projectlive.modules::create_oauth_list("oauth_config.yaml")
jaybee84/projectLive documentation built on Dec. 2, 2023, 1:29 a.m.