run_tests.R

library(RUnit)
library(parallel)
library(matrixpls)

options(boot.ncpus = detectCores())
options(boot.parallel = "multicore")

 
test.suite <- defineTestSuite("matrixpls",
                              dirs = file.path("tests"),
                              testFileRegexp = '^\\d+\\.R')
 
test.result <- runTestSuite(test.suite)
 
printTextProtocol(test.result)
mronkko/matrixpls documentation built on April 19, 2024, 4:23 p.m.