testit
A Simple Package for Testing R Packages
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.
1.1
MIT + file LICENSE
1 个版本
安装
install.packages("testit")
remotes::install_cran("testit")
版本列表
1.1
2026-06-18