Learn R Programming

⚠️There's a newer version (0.16) of this package.Take me there.

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

28,884

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