View source: R/verifyFunctionReturnTypesDefinition.R
verifyFunctionReturnTypesDefinition | R Documentation |
Verifies your declared return type definitions and detects anomalies.
verifyFunctionReturnTypesDefinition(object_o_1,
requiresFullInstrumentation_b_1 = TRUE)
object_o_1 |
The |
requiresFullInstrumentation_b_1 |
a |
When requiresFullInstrumentation_b_1
is TRUE
,
each function must have an entry in the test case parameter definition.
A list
with names
validity |
a single |
class |
the class name of the provided |
intent |
the stage of the failure, provides hint about the faced issue |
message |
some hints to resolve the issue(s). |
Fabien Gelineau <neonira@gmail.com>
Maintainer: Fabien Gelineau <neonira@gmail.com>
Refer to defineTestCaseDefinitionsParameterName
.
##---- typical case ----
library('data.table')
source(system.file('code-samples/frt-defs/good/full/AdditionFI.R',
package = 'wyz.code.offensiveProgramming'))
fi <- AdditionFI()
print(verifyFunctionReturnTypesDefinition(fi))
print(verifyFunctionReturnTypesDefinition(fi, FALSE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.