Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

can_verify_roundtrip

Check whether a round trip verification can be carried out


Description

If scope was set to "line_breaks" or lower (compare tidyverse_style()), we can compare the expression before and after styling and return an error if it is not the same.

Usage

can_verify_roundtrip(transformers)

Arguments

transformers

The list of transformer functions used for styling. Needed for reverse engineering the scope.


styler

Non-Invasive Pretty Printing of R Code

v1.4.1
MIT + file LICENSE
Authors
Kirill Müller [aut], Lorenz Walthert [cre, aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.