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: 2023-06-11
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 18 Feb. 2025.
Previous versions and publish date:
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
Get rewarded with contribution points by helping add
Reviews / comments / questions /suggestions ↴↴↴

Today's Hot Picks in Authors and Packages

clustMixType  
k-Prototypes Clustering for Mixed Variable-Type Data
Functions to perform k-prototypes partitioning clustering for mixed variable-type data according to ...
Download / Learn more Package Citations See dependency  
MOSS  
Multi-Omic Integration via Sparse Singular Value Decomposition
High dimensionality, noise and heterogeneity among samples and features challenge the omic integrat ...
Download / Learn more Package Citations See dependency  
ppmf  
Read Census Privacy Protected Microdata Files
Implements data processing described in to align modern differentially ...
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  
OptGS  
Near-Optimal Group-Sequential Designs for Continuous Outcomes
Optimal group-sequential designs minimise some function of the expected and maximum sample size whil ...
Download / Learn more Package Citations See dependency  
RobustBayesianCopas  
Robust Bayesian Copas Selection Model
Fits the robust Bayesian Copas (RBC) selection model of Bai et al. (2020) for cor ...
Download / Learn more Package Citations See dependency  

23,712

R Packages

205,795

Dependencies

64,332

Author Associations

23,631

Publication Badges

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