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 10 Mar. 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

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  
gena  
Genetic Algorithm and Particle Swarm Optimization
Implements genetic algorithm and particle swarm algorithm for real-valued functions. Various modific ...
Download / Learn more Package Citations See dependency  
plyr  
Tools for Splitting, Applying and Combining Data
A set of tools that solves a common set of problems: you need to break a big problem down into mana ...
Download / Learn more Package Citations See dependency  
envirem  
Generation of ENVIREM Variables
Generation of bioclimatic rasters that are complementary to the typical 19 bioclim variables. ...
Download / Learn more Package Citations See dependency  

26,293

R Packages

225,784

Dependencies

70,376

Author Associations

26,294

Publication Badges

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