run_local_test | R Documentation |
Based on a test name, compares a computed table against a previously saved one.
run_local_test(
res_table,
ctx,
test_name,
test_folder = NULL,
absTol = NULL,
relTol = NULL,
r2 = NULL,
skipCols = c(),
forcejoincol = NULL,
forcejoinrow = NULL
)
res_table |
operator output table with namespace |
ctx |
Tercen context |
test_name |
Name identifying the test. |
absTol |
Absolute tolerance parameter. |
relTol |
Relative tolerance parameter. |
r2 |
Squared correlation parameter. |
skipCols |
Column names to be skipped during testing |
forcejoincol |
Logical array matching num. of out_table to force relation to column (when join was not made through .ci). |
forcejoinrow |
Logical array matching num. of out_table to force relation to row (when join was not made through .ri). |
run_local_test(tbl, ctx, paste0(step_name, "_absTol"), absTol = 0.001)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.