Package: testit 1.0.1

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.

Authors:Yihui Xie [aut, cre], Tomas Kalibera [ctb], Steven Mortimer [ctb]

testit_1.0.1.tar.gz
testit_1.0.1.zip(r-4.7)testit_1.0.1.zip(r-4.6)testit_1.0.1.zip(r-4.5)
testit_1.0.1.tgz(r-4.6-any)testit_1.0.1.tgz(r-4.5-any)
testit_1.0.1.tar.gz(r-4.7-any)testit_1.0.1.tar.gz(r-4.6-any)
testit_1.0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
testit/json (API)
NEWS

# Install 'testit' in R:
install.packages('testit', repos = c('https://yihui.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/yihui/testit/issues

On CRAN:

Conda:

testing

11.48 score 66 stars 12 packages 1.4k scripts 27k downloads 1 mentions 6 exports 0 dependencies

Last updated from:f836795374. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK100
source / vignettesOK131
linux-release-x86_64OK97
macos-release-arm64OK61
macos-oldrel-arm64OK73
windows-develOK69
windows-releaseOK70
windows-oldrelOK53
wasm-releaseOK83

Exports:%==%asserthas_errorhas_messagehas_warningtest_pkg

Dependencies: