CMD + K

r-testit

Community

A minimal, dependency-free testing framework for R packages. Write tests as simple R expressions that return TRUE, using assert() for assertions (with informative error messages on failure), has_error() / has_warning() / has_message() for testing conditions, and test_pkg() to run all tests with full access to internal (non-exported) package functions. Snapshot testing via Markdown files is also supported.

Installation

To install this package, run one of the following:

Conda
$conda install conda-forge::r-testit

Usage Tracking

1.0
0.18
0.17
0.16
0.15
5 / 8 versions selected
Downloads (Last 6 months): 0

About

Summary

A minimal, dependency-free testing framework for R packages. Write tests as simple R expressions that return TRUE, using assert() for assertions (with informative error messages on failure), has_error() / has_warning() / has_message() for testing conditions, and test_pkg() to run all tests with full access to internal (non-exported) package functions. Snapshot testing via Markdown files is also supported.

Last Updated

May 15, 2026 at 14:31

License

MIT

Supported Platforms

noarch

Unsupported Platforms

linux-64 Last supported version: 0.7
macOS-64 Last supported version: 0.7
win-64 Last supported version: 0.7