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 09 Jun. 2026.
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

Today's Hot Picks in Authors and Packages

stdReg  
Regression Standardization
Contains functionality for regression standardization. Four general classes of models are allowed; g ...
Download / Learn more Package Citations See dependency  
Formula  
Extended Model Formulas
Infrastructure for extended formulas with multiple parts on the right-hand side and/or multiple res ...
Download / Learn more Package Citations See dependency  
handyplots  
Handy Plots
Several handy plots for quickly looking at the relationship between two numeric vectors of equal len ...
Download / Learn more Package Citations See dependency  
linemap  
Line Maps
Create maps made of lines. The package contains one function: linemap(). linemap() displays a map m ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
wheatmap  
Incrementally Build Complex Plots using Natural Semantics
Builds complex plots, heatmaps in particular, using natural semantics. Bigger plots can be assembled ...
Download / Learn more Package Citations See dependency  

27,372

R Packages

233,548

Dependencies

72,820

Author Associations

27,205

Publication Badges

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