View source: R/evaluate_test_code.R
vt_run_test_code_file | R Documentation |
Evaluate the test code file
Turn test code results data.frame into kable output
vt_run_test_code_file(file, test_env = new.env(), ..., ref = vt_path())
vt_kable_test_code_results(results, format = vt_render_to())
file |
full path to test code file. |
test_env |
environment to perform tests in |
... |
argument passed to |
ref |
reference path to use. Defaults to vt_path() |
results |
results data.frame from |
format |
passed to |
a kable with variables: Test
, Expected
, Results
,
Pass/Fail
. Suitable for including in validation report
kableExtra object with formatting
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.