Learn R Programming

humanleague (version 2.0.2)

unitTest: Entry point to enable running unit tests within R (e.g. in testthat)

Description

Note: Unit tests are only enabled when the package is compiled with the UNIT_TEST flag (see Makevars)

Usage

unitTest()

Arguments

Value

a List containing, number of tests run, number of failures, and any error messages.

Examples

Run this code
# NOT RUN {
unitTest()
# }

Run the code above in your browser using DataLab