unittest {hySpc.testthat}R Documentation

Run unit tests

Description

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

Usage

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

unittest("hySpc.testthat")

[Package hySpc.testthat version 0.2.1 Index]