tests/testthat/helper-tests.R

ReportStart <- "20200125"
ReportEnd <- "30082020"
message(.Library)
message(.libPaths())
if (testthat::is_testing()) {
  .data_path <- fs::path("test-between", ext = "rds")
} else {
  .data_path <- rprojroot::find_package_root_file("tests", "testthat", "test-between.rds")
}

dates <- c()
test_data <- readRDS(.data_path)
COHHIO/HMIS documentation built on Sept. 8, 2024, 7:47 a.m.