unittests: hyperSpec unit tests

Description Usage Arguments Value Author(s) Examples

Description

If testthat is available, run the unit tests and display the results.

Usage

1
hy.unittest(standalone = TRUE, reporter = "progress")

Arguments

standalone

run the unit test on their own, e.g. from the console ('TRUE') or within testthat tests ('FALSE'), e.g. via 'devtools::test()'

reporter

the reporter to use, defaults to [testthat::ProgressReporter]

Value

Invisibly returns a data frame with the test results

Author(s)

Claudia Beleites

Examples

1
hy.unittest ()

hyperSpec documentation built on Sept. 13, 2021, 5:09 p.m.