Learn R Programming

testit (version 0.14)

A Simple Package for Testing R Packages

Description

Provides two convenience functions assert() and test_pkg() to facilitate testing R packages.

Copy Link

Version

Install

install.packages('testit')

Monthly Downloads

24,045

Version

0.14

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Yihui Xie

Last Published

December 6th, 2025

Functions in testit (0.14)

has_warning

Check if an R expression produces warnings or errors
test_pkg

Run the tests of a package in its namespace
assert

Assertions with an optional message