View source: R/verifyObjectNames.R
verifyObjectNames | R Documentation |
Verify object class name, object function names, and object function parameter names, and provides a synthesis of executed checks.
Proceeds also to some introspection on object
to identify instrumentation of function
return types and test case definitions. Provides information about completeness of instruction,
and about missing functions and test cases.
verifyObjectNames(object_o_1)
object_o_1 |
the object to be checked |
A list
with following names
class_name |
the class name of the provided |
supports_strict_compliance |
a single |
supports_lazy_compliance |
a single |
class_name_compliance |
a |
class_name_compliance |
a |
class_name_compliance |
a |
owns_function_return_type_information |
a single |
can_be_type_checked |
a single |
is_function_fully_instrumented |
a single |
missing_function |
a |
owns_test_case_definitions |
a single |
is_test_case_fully_instrumented |
a single |
missing_test_cases |
a single |
Fabien Gelineau <neonira@gmail.com>
Maintainer: Fabien Gelineau <neonira@gmail.com>
Refer to verifyClassName
and
verifyFunctionName
.
##---- typical case ----
library('data.table')
source(system.file('code-samples/frt-defs/good/full/AdditionFI.R',
package = 'wyz.code.offensiveProgramming'))
fi <- AdditionFI()
print(verifyObjectNames(fi))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.