style_multiverse_code {multiverse} | R Documentation |
Stylises the code of multiverse for printing
Description
Stylises the code declared with a multiverse object according to the tidyverse style guide.
Usage
style_multiverse_code(.code)
Arguments
.code |
a quoted (or unevaluated) expression surrounded; usually the expression within a single multiverse code block or inside function. |
Details
Since multiverse captures unevaluated expressions, the formatting is not preserved. However, if we want to view the code that is delcared for a particular multiverse analysis, the lack of formatting would lead to difficulty in readability. 'style_multiverse_code' is primarily intended for internal use to stylise the output based on the tidyverse style guide and custom rules necessary for multiverse.
Value
an object of class vertical
[Package multiverse version 0.6.2 Index]