OMOP/tests/setup.R

9 lines
272 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)
2021-08-19 20:28:21 +00:00
if(Sys.getenv("LOCAL_TEST") != "TRUE") {
DatabaseConnector::downloadJdbcDrivers("all", pathToDriver = driverPath)
}