Learn R Programming

testit (version 0.16)

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

18,337

Version

0.16

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Yihui Xie

Last Published

February 23rd, 2026

Functions in testit (0.16)

test_pkg

Run the tests of a package in its namespace
assert

Assertions with an optional message
has_warning

Check if an R expression produces warnings or errors