Rdocumentation
powered by
Learn R Programming
markmyassignment (version 0.5.0)
function_code: Function contain code test
Description
Test if function code contains a given text string.
Usage
function_code(expected, label = NULL)
Arguments
expected
Pattern to test for in function code.
label
Expectation label used by
expect_function_code()