demo/do.test.R

cat("This demo shows an example of using do.test\n")
demoLocation <- system.file(package = "splus2R", "examples.t")

##################################################
# First just do.test("examples.t")
# One test should fail.
##################################################
do.test(demoLocation)

##################################################
# Run verbosely: do.test("examples.t", verbose=TRUE)
# This also shows the tests that pass.
do.test(demoLocation, verbose = TRUE)

Try the splus2R package in your browser

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

splus2R documentation built on May 30, 2017, 4:10 a.m.