Learn R Programming

testit (version 0.15)

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

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Yihui Xie

Last Published

December 19th, 2025

Functions in testit (0.15)

test_pkg

Run the tests of a package in its namespace
has_warning

Check if an R expression produces warnings or errors
assert

Assertions with an optional message