testit: A Simple Package for Testing R Packages
Version 0.7

Provides two convenience functions assert() and test_pkg() to facilitate testing R packages.

Browse man pages Browse package API and functions Browse package files

AuthorYihui Xie
Date of publication2017-05-22 05:16:36 UTC
MaintainerYihui Xie <xie@yihui.name>
LicenseGPL
Version0.7
URL https://github.com/yihui/testit
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("testit")

Man pages

assert: Assertions with an optional message
has_message: Check if an R expression produces warnings or errors
test_pkg: Run the tests of a package in its namespace

Functions

\%==\% Man page
all_true Source code
assert Man page Source code
assert2 Source code
available_dir Source code
deparse_key Source code
has_error Man page Source code
has_warning Man page Source code
insert_identical Source code
one_expression Source code
sys.source2 Source code
test_pkg Man page Source code

Files

inst
inst/rstudio
inst/rstudio/addins.dcf
tests
tests/testit
tests/testit/test-utils.R
tests/testit/test-assert.R
tests/test-error
tests/test-error/test-error.R
tests/test-all.R
NAMESPACE
NEWS
R
R/utils.R
R/testit.R
README.md
MD5
DESCRIPTION
man
man/assert.Rd
man/test_pkg.Rd
man/has_message.Rd
testit documentation built on May 29, 2017, 9:33 a.m.