inst/testfiles/mm/isall.R

#!/usr/bin/Rscript
# vim:set ff=unix expandtab ts=2 sw=2:
source("isolatedTestRunner.R")
tmpDir="tmp"
arg=commandArgs(trailingOnly=TRUE)
if (length(arg)>0) {
  tmpDir <- arg[[1]]
}
runIsolatedTests(
  srcDir=file.path(getwd(),"../../../R/"),
  tmpDir=tmpDir,
  dirs=".",
  testFileRegexp="^runit.+\\.R",
  testFuncRegexp = "^test.+"
)                 

Try the inlinedocs package in your browser

Any scripts or data that you put into this service are public.

inlinedocs documentation built on May 2, 2019, 4:44 p.m.