unittests: Run unit tests

Description Usage Arguments Value Author(s) Examples

Description

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

Usage

1
unittest(ns, standalone = TRUE, reporter = "progress")

Arguments

ns

namespace (package) to test

standalone

if TRUE, appropriate testthat::Reporters are used, if FALSE the exectution assumes reporters are started already.

reporter

testthat::Reporter to be used.

Value

Invisibly returns a data.frame with the test results

Author(s)

Claudia Beleites

Examples

1
unittest("hySpc.testthat")

hySpc.testthat documentation built on July 2, 2020, 2:31 a.m.