tests/doRUnit.R

## unit tests will not be done if RUnit is not available
if(require("testthat", quietly=TRUE)) {
	#pkg <- "PKG" # <-- Change to package name!
	pkg <- "RespChamberProc" # <-- Change to package name!
	test_package(pkg)
} else {
	warning("cannot run unit tests -- package testthat is not available")
}

Try the RespChamberProc package in your browser

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

RespChamberProc documentation built on May 2, 2019, 5:53 p.m.