Skip to content

An R package for help with writing unit tests based on examples in documentation. Slightly similar to python's doctests.

License

Notifications You must be signed in to change notification settings

rorynolan/exampletestr

Repository files navigation

exampletestr

An R package to help developers create unit tests (designed for use with the testthat package) for their package, based on the examples in their package documentation.

R-CMD-check

Project Status: Active – The project has reached a stable, usable state and is being actively developed. lifecycle

CRAN status RStudio CRAN downloads RStudio CRAN monthly downloads

Installation

To install the release version from CRAN:

install.packages("exampletestr")

To install the dev version from GitHub:

remotes::install_github("rorynolan/exampletestr")

Use

To learn how to use exampletestr, visit the package’s website at https://rorynolan.github.io/exampletestr/.

Contributing

The preferred method of contribution is via GitHub pull request. Please note that the exampletestr project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms. # Contribution Contributions to this package are welcome. The preferred method of contribution is through a github pull request. Feel free to contact me by creating an issue. Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

About

An R package for help with writing unit tests based on examples in documentation. Slightly similar to python's doctests.

Resources

License

Stars

Watchers

Forks

Packages