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 Sept. 9, 2024, 4:21 p.m.