Description Usage Arguments Value
These functions are deprecated because we now believe that you're better of performing the comparisons directly, yourself, in order to generate more informative test failures.
1 2 3 4 5 6 7 8 9 | bench_tbls(tbls, op, ..., times = 10)
compare_tbls(tbls, op, ref = NULL, compare = equal_data_frame, ...)
compare_tbls2(tbls_x, tbls_y, op, ref = NULL, compare = equal_data_frame, ...)
eval_tbls(tbls, op)
eval_tbls2(tbls_x, tbls_y, op)
|
tbls, tbls_x, tbls_y |
A list of |
op |
A function with a single argument, called often with each
element of |
... |
For For |
times |
For benchmarking, the number of times each operation is repeated. |
ref |
For checking, a data frame to test results against. If not
supplied, defaults to the results from the first |
compare |
A function used to compare the results. Defaults to
|
eval_tbls()
: a list of data frames.
compare_tbls()
: an invisible TRUE
on success, otherwise
an error is thrown.
bench_tbls()
: an object of class
microbenchmark::microbenchmark()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.