/tinytest.extension

Example/test package extending R package tinytest

Primary LanguageRGNU General Public License v3.0GPL-3.0

tinytest.extension

Example/test package extending R package tinytest

This is a very simple package, offering extra expect functions that can be used with the the tinytest package.

For an example of a package that uses this package see uses.tinytest.extension.

This package repository is aimed only to be used as a template for package authors who wish to extend tinytest, and as a testing ground for tinytest itself.

For a description of how to build a tinytest extension package, see

library(tinytest)
?register_tinytest_extension

Install this package

remotes::install_github("markvanderloo/tinytest.extension/pkg")

Obtain source, build, test

git clone https://github.com/markvanderloo/tinytest.extension
cd tinytest.extension

Run tests:

make test

Build, run R CMD check

make check

Build, install

make install