pkg_tests2vignettes: Tests to Vignettes

Description Usage Arguments Author(s)

View source: R/pkg_tests2vignettes.R

Description

Copy and spin tests/testhat/*.R to vignettes/tests/*.Rmd. It is assumed that tests/testhat/*.R are written using Roxygen comments.

Usage

1
pkg_tests2vignettes(pkg_root = getwd(), par = FALSE, ncores = NULL)

Arguments

pkg_root

Character string. Package root directory.

par

Logical. If TRUE, use multiple cores.

ncores

Integer. Number of cores to use if par = TRUE. If unspecified, defaults to detectCores() - 1.

Author(s)

Ivan Jacob Agaloos Pesigan


jeksterslabds/jeksterslabRpkg documentation built on Jan. 22, 2021, 11:43 p.m.