installPackageTests: Prepare test files for an R-package

View source: R/RtestingHelpers.R

installPackageTestsR Documentation

Prepare test files for an R-package

Description

Takes pathes to test files and installs these tests in an R-package. Also creates required expectation files.

Usage

installPackageTests(
  packageDir,
  testPathes,
  createReference = TRUE,
  asCran = FALSE
)

Arguments

packageDir

path to R-package folder structure

testPathes

character vector with files containing tests of the package

createReference

boolean to indicate whether a reference output is to be created for R when the package tests are run by standard R functions.

asCran

boolean to indicate whether tests should be prepared for running on CRAN

Value

undefined return value.


sboehringer/testme documentation built on Jan. 17, 2024, 4:58 p.m.