REDCapCAST/tests/testthat/helper-paths.R

15 lines
263 B
R
Raw Permalink Normal View History

# get_data_location <- function(x) {
# system.file(
# "testdata",
# x,
# package = "REDCapCAST"
# )
# }
2023-04-14 11:47:23 +02:00
# setwd("tests/testthat")
2024-06-07 11:16:58 +02:00
get_data_location <- function(x){
# here::here(file.path("tests","testthat","data", x))
2023-01-16 09:49:17 +01:00
file.path("data", x)
2024-06-07 11:16:58 +02:00
}