tests/testthat.R

library(testthat)
library(DatabaseConnector)
if (Sys.getenv("CDM5_POSTGRESQL_SERVER") != "") {
  test_check("DatabaseConnector")
} else {
  message("Skipping testing because environmental variables not set") 
}
OHDSI/DatabaseConnector documentation built on Nov. 16, 2018, 6:20 p.m.