View source: R/RtestingHelpers.R
getTests | R Documentation |
This function takes a pair of reults/expectation and performs a comparison.
getTests(prefixes = list(c("rTest", "rExp"), c("T", "E")), which = -2)
prefixes |
variable name prefixes for detecting test computations and expectations |
which |
which 'sys.frame' to search |
Call as argument to TestCompareDeparsedList(getTests()), otherwise which argument has to be modified; e.g.: separate line before: which = -1
a list with elements 'tests' and 'expectation' with character strings of the corresponding test/expectation pairs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.