Learn R Programming

hySpc.testthat (version 0.2.2)

unittest: 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")

Value

Invisibly returns a data.frame with the test results

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.

Author

Claudia Beleites

Examples

Run this code
unittest("hySpc.testthat")

Run the code above in your browser using DataLab