Description Usage Arguments Examples
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
1 | AddTestToPkg(strTestFileName)
|
strFunctionName |
The name of the function to add. |
1 2 3 4 | ## Not run:
AddTestToPkg( "RunSimulation" ) # This would create a test file at /tests/testthat/test-RunSimulation.R
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.