expect_function_code: Expect function contain code
Description
Test that a given code string exists in function
Usage
expect_function_code(
object,
expected,
info = NULL,
label = NULL,
expected.label = NULL
)
Arguments
- object
Function to check for mandatory code
- expected
Expected arguments in function.
- info
Deprecated.
- label
Additional information.
- expected.label
Deprecated.