Man pages for datacamp/testwhat
Easily write submission correctness tests for R exercises

check_thatExpectation wrapper
DC_reporterDataCamp reporter: 'log' test results
exGet the main state
execute_solutionExecute code in the solution environment
execute_studentExecute code in the student environment
get_solution_codeGet solution environment (backwards comp)
get_solution_envGet solution environment (backwards comp)
get_student_codeGet solution environment (backwards comp)
get_student_envGet student environment (backwards comp)
is_equalCheck equality of two objects
is_falseCheck if object is false
is_gteCheck >= relation
is_trueCheck if object is true
overrideOverride the solution code and pd in a state
parse_rcppParse Rcpp code
reexportsObjects exported from other packages
s3definitionsS3 definitions
set_languageSpecify the language for the automated feedback
success_msgDefine the success message
test_an_objectCheck if the student defined an object, independent of the...
test_callTest whether a student correctly called a function/operator
test_call_resultCheck the result of a function call/operation
test_chunk_optionsTest whether the student defined the correct chunk options (R...
test_codeTest the student's code as text
test_controlTest if student coded a control statement correctly
test_correctTest things. If it fails, test additional things.
test_errorCheck whether the student's submission threw an error.
test_exerciseRun all tests for an exercise
test_exprCheck the result, output or errors thrown by an expression
test_fun_defCheck whether the student defined a function correctly
test_ggplotTest ggplot call
test_library_functionTest whether the library function was called correctly
test_mcTest a multiple choice exercise
test_objectTest R object existence and value
test_orTest if one of many test sets pass.
test_outputCheck whether the student printed something to the console
test_pipeTest whether a student used the pipe operator sufficiently...
test_predefined_objectsTest predefined R objects
test_propsTest whether the student used the correct properties (ggvis...
test_rmd_fileTest R Markdown file
test_rmd_groupTest a single R Markdown file group (R Markdown exercises)
test_textTest inline text and formatting (Markdown)
test_wdTest whether a file exists
testwhatEasily write submission correctness tests for DataCamp
test_yaml_headerTest yaml header (Markdown)
datacamp/testwhat documentation built on Dec. 29, 2017, 7:50 a.m.