transform_and_check | R Documentation |
Transform an file and check whether it is identical to a reference.
transform_and_check(
in_item,
out_item,
in_name = in_item,
out_name = out_item,
transformer,
dry,
write_tree = NA,
out_tree = "_tree",
...
)
in_item |
An path to an file to transform. |
out_item |
The path to a file that contains the expected result. |
in_name |
The label of the in_item, defaults to |
out_name |
The label of the out_item, defaults to |
transformer |
A function to apply to the content of |
dry |
To indicate whether styler should run in dry mode, i.e. refrain
from writing back to files . |
write_tree |
Whether or not the tree structure of the test should be
computed and written to a file. Note that this needs R >= 3.2
(see |
out_tree |
Name of tree file if written out. |
... |
Parameters passed to transformer function. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.