stylise_code: Stylises the code of multiverse for printing

style_multiverse_codeR 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


MUCollective/multidy documentation built on Jan. 27, 2024, 9:52 a.m.