OMOP/tests/setup.R

9 lines
273 B
R
Raw Normal View History

2021-08-19 04:04:51 +00:00
# Download the JDBC drivers used in the tests
2021-08-19 11:35:41 +00:00
driverPath <- file.path(Sys.getenv("HOME"), "drivers")
if(!dir.exists(driverPath)) dir.create(driverPath)
if(!Sys.getenv("LOCAL_TEST" == "TRUE")) {
DatabaseConnector::downloadJdbcDrivers("all", pathToDriver = driverPath)
}