tests/testthat/testShim/R/a.r

a <- 1

# When this package is loaded with load_all, devtools should add a
# replacement system.file function.
# When the package is loaded with load_all, this returns devtools::system.file
# When installed and loaded, this returns base:system.file.
get_system.file <- function(...) {
  system.file
}
r-pkgs/pkgload documentation built on Feb. 5, 2024, 5:43 a.m.