Other packages > Find by keyword >

exampletestr  

Help for Writing Unit Tests Based on Function Examples
View on CRAN: Click here


Download and install exampletestr package within the R console
Install from CRAN:
install.packages("exampletestr")

Install from Github:
library("remotes")
install_github("cran/exampletestr")

Install by package version:
library("remotes")
install_version("exampletestr", "1.7.3")



Attach the package and use:
library("exampletestr")
Maintained by
Rory Nolan
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2017-03-18
Latest Update: 2024-10-07
Description:
Take the examples written in your documentation of functions and use them to create shells (skeletons which must be manually completed by the user) of test files to be tested with the 'testthat' package. Sort of like python 'doctests' for R.
How to cite:
Rory Nolan (2017). exampletestr: Help for Writing Unit Tests Based on Function Examples. R package version 1.7.3, https://cran.r-project.org/web/packages/exampletestr. Accessed 01 Sep. 2026.
Previous versions and publish date:
(2026-07-09 07:36), 0.3.0 (2017-03-18 18:52), 0.4.0 (2017-04-12 15:34), 1.0.0 (2017-07-05 15:26), 1.0.1 (2017-07-31 22:19), 1.1.0 (2017-12-03 15:12), 1.1.1 (2017-12-12 14:56), 1.2.0 (2018-01-26 15:11), 1.3.0 (2018-04-23 12:56), 1.3.1 (2018-07-09 16:50), 1.4.0 (2018-09-27 16:30), 1.4.1 (2018-11-07 18:10), 1.4.2 (2019-05-31 14:10), 1.5.0 (2019-07-05 19:10), 1.5.1 (2019-08-04 12:50), 1.5.2 (2019-11-05 20:10), 1.6.0 (2020-04-08 18:40), 1.6.1 (2020-04-15 20:10), 1.6.2 (2020-11-17 09:10), 1.6.3 (2021-04-24 21:10), 1.6.4 (2021-08-02 06:20), 1.6.5 (2021-08-09 00:30), 1.7.0 (2022-12-06 20:20), 1.7.1 (2023-06-11 05:10), 1.7.2 (2024-08-17 23:30)
Other packages that cited exampletestr R package
View exampletestr citation profile
Other R packages that exampletestr depends, imports, suggests or enhances
Complete documentation for exampletestr
Functions, R codes and Examples using the exampletestr R package
Some associated functions: make-test-shells . 
Some associated R codes: addins.R . example-extraction.R . exampletestr.R . exemplar.R . shell-creation.R . utils.R .  Full exampletestr package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

markets  
Estimation Methods for Markets in Equilibrium and Disequilibrium
Provides estimation methods for markets in equilibrium and disequilibrium. Supports the estimation ...
Download / Learn more Package Citations See dependency  
fANCOVA  
Nonparametric Analysis of Covariance
A collection of R functions to perform nonparametric analysis of covariance for regression curves o ...
Download / Learn more Package Citations See dependency  
reproj  
Coordinate System Transformations for Generic Map Data
Transform coordinates from a specified source to a specified target map projection. This uses the ' ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
flood  
Statistical Methods for the (Regional) Analysis of Flood Frequency
Includes several statistical methods for the estimation of parameters and high quantiles of river fl ...
Download / Learn more Package Citations See dependency  

28,400

R Packages

239,283

Dependencies

75,283

Author Associations

28,401

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA