expect_pipeline_result | R Documentation |
This function provides an expectation for use with the "tinytest" package, which runs the pipeline specified in its first argument and compares the result to its second.
expect_pipeline_result(current, target, precision = "double", ...)
current |
The pipeline to run, which should have class |
target |
The target value to compare against, a numeric array of some
kind, which will be converted to a |
precision |
A string specifying the working precision. Passed to
|
... |
Further arguments to |
A "tinytest"
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.