inst/test_suite/ppam_test_suite.R

library("RUnit")
library("ff")
library("cluster")
library("golubEsets")


for (nm in list.files("../unitTests/ppam/", pattern = "\\.[Rr]$")){
  source(file.path("../unitTests/ppam/", nm))
}
library("sprint")
test.suite <- defineTestSuite("ppam", dirs = file.path("../unitTests/ppam/"),testFileRegexp = '*.R')

# === Set up finished ===

test.result <- runTestSuite(test.suite)
printTextProtocol(test.result)

pterminate()
quit()

Try the sprint package in your browser

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

sprint documentation built on May 30, 2017, 8:25 a.m.