AddTestToPkg: AddTestToPkg

Description Usage Arguments Examples

View source: R/AddTestToPkg.R

Description

Description - The function will add a new test function to the calculation package. This function is intended to be used when a file in the package was already created but a test file was not created. This fuction will create a file named /tests/testthat/test-strTestFileName.R

Usage

1
AddTestToPkg(strTestFileName)

Arguments

strFunctionName

The name of the function to add.

Examples

1
2
3
4
## Not run: 
    AddTestToPkg( "RunSimulation" )  # This would create a test file at /tests/testthat/test-RunSimulation.R

## End(Not run)

BioPharmSoftGrp/BaSS documentation built on April 2, 2021, 2:34 a.m.