View source: R/RtestingHelpers.R
TestCompareDeparsed | R Documentation |
This function takes reult/expectation arguments and performs a comparison.
TestCompareDeparsed(
result,
expectation,
modes = as.list(rep("compare", length(result)))
)
result |
list of results of the current test function |
expectation |
list of Deparsed, expected results |
modes |
comparison modes |
The return value is a list with the following components
result: Logical being true when all tests passed, false otherwise.
NsubTests: Integer value containing the number of subtests performed.
Returns a list containing the test results (see details)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.