check | R Documentation |
Execute checks in a test suite and return the TestFileResult object from executing the test. Optionally prints results of the test to console.
check(test_file, test_env, show_results)
test_file |
Path to a test file |
test_env |
An environment against which to run tests |
show_results |
Whether to print the results to stdout |
The parsed test results for the suite
## Not run:
check("tests/q1.R")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.