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 07 Nov. 2024.
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

con2aqi  
Calculate the AQI from Pollutant Concentration
To calculate the AQI (Air Quality Index) from pollutant concentration data. O3, PM2.5, PM10, CO, SO ...
Download / Learn more Package Citations See dependency  
bacondecomp  
Goodman-Bacon Decomposition
Decomposition for differences-in-differences with variation in treatment timing from Goodman-Bacon ...
Download / Learn more Package Citations See dependency  
robregcc  
Robust Regression with Compositional Covariates
We implement the algorithm estimating the parameters of the robust regression model with composition ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  

23,092

R Packages

198,677

Dependencies

62,675

Author Associations

23,089

Publication Badges

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