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).
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.