R/OfflineStudyPackageExecution.R
prepareForOfflineStudyPackageExecution.Rd
Prepare system to run hydrated packages without further internet connection
prepareForOfflineStudyPackageExecution(
installRpackages = TRUE,
installJdbcDrivers = TRUE,
skeletons = listSkeletons()
)
Install the R packages required by the skeletons?
Install all JDBC drivers? Requires the DATABASECONNECTOR_JAR_FOLDER environmental variable to be set.
A list of skeletons to check, for example 'CohortDiagnosticsStudy_v0.0.1.zip'.
This function does not return anything. Instead, it installs all dependencies required to run the hydrated skeletons. (Only those skeletons that use a renv.lock file)
Note that when installJdbcDrivers = TRUE
this will only include the Jar drivers
supported by DatabaseConnector::downloadJdbcDrivers. Other drivers (like BigQuery) will
need to be downloaded manually and placed in the folder identified by the
DATABASECONNECTOR_JAR_FOLDER environmental variable.
Use list.files(system.file("skeletons", package = "Hydra"), pattern = "*.zip")
for a list of
all skeletons