Help for Writing Unit Tests Based on Function Examples


[Up] [Top]

Documentation for package ‘exampletestr’ version 1.1.1

Help Pages

construct_expect_equal Construct an 'expect_equal' expression
extract_examples Extract examples lines from the functions in a .R file of a package.
extract_examples_rd Extract examples from a '.Rd' file as a character vector.
extract_expressions Text expression groups.
make_tests_shells_file Create the shell of a test file.
make_tests_shells_pkg Create the shell of a test file.
make_test_shell Make the shell of a 'test_that' test.
text_parse_error Does parsing of text give an error?