CRAN/E | exampletestr

exampletestr

Help for Writing Unit Tests Based on Function Examples

Installation

About

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.

Citation exampletestr citation info
rorynolan.github.io/exampletestr/
github.com/rorynolan/exampletestr#readme
Bug report File report

Key Metrics

Version 1.7.1
R ≥ 3.5
Published 2023-06-11 313 days ago
Needs compilation? no
License GPL-3
CRAN checks exampletestr results
Language en-US

Downloads

Yesterday 112 0%
Last 7 days 184 -21%
Last 30 days 959 -1%
Last 90 days 3.151 +36%
Last 365 days 10.754 +6%

Maintainer

Maintainer

Rory Nolan

rorynoolan@gmail.com

Authors

Rory Nolan

aut / cre

Sergi Padilla-Parra

ths

Thomas Quinn

rev

Laurent Gatto

rev

Material

NEWS
Reference manual
Package source

Vignettes

One .R file at a time
One function at a time
A whole package

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

exampletestr archive

Depends

R ≥ 3.5

Imports

checkmate ≥ 2.0
fs ≥ 1.5
magrittr ≥ 1.5
purrr
readr ≥ 2.0
rlang ≥ 0.4
roxygen2
rstudioapi ≥ 0.4
strex ≥ 1.4.2
stringr ≥ 1.5
styler ≥ 1.2
usethis ≥ 2.0
withr ≥ 2.1

Suggests

clipr ≥ 0.7
covr
crayon
knitr
pacman
rmarkdown
spelling
testthat ≥ 2.1