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, write_back, write_tree = FALSE,
  out_tree = "_tree", ...)An path to an file to transform.
The path to a file that contains the expected result.
The label of the in_item, defaults to in_item.
The label of the out_item, defaults to out_item.
A function to apply to the content of in_item.
Whether the results of the transformation should be written to the output file.
Whether or not the tree structure of the test should be computed and written to a file.
Name of tree file if written out.
Parameters passed to transformer function.