Last data update: 2014.03.03

Data Source

R Release (3.2.3)
CranContrib
BioConductor
All

Data Type

Packages
Functions
Images
Data set

Classification

Results 1 - 3 of 3 found.
[1] < 1 > [1]  Sort:

assert (Package: testit) : Assertions with a message

The function assert() was built from stopifnot(). It emits a message in case of errors, which can be a helpful hint for diagnosing the errors (stopifnot() only prints the possibly truncated source code of the expressions).
● Data Source: CranContrib
● Keywords:
● Alias: %==%, assert
● 0 images

test_pkg (Package: testit) : Run the tests of a package in its namespace

The main purpose of this function is to expose the namespace of a package when running tests, which allows one to use non-exported objects in the package without having to resort to the triple colon ::: trick.
● Data Source: CranContrib
● Keywords:
● Alias: test_pkg
● 0 images

has_warning (Package: testit) : Check if an R expression produces warnings or errors

The two functions has_warning() and has_error() check if an expression produces warnings and errors, respectively.
● Data Source: CranContrib
● Keywords:
● Alias: has_error, has_warning
● 0 images