Learn R Programming

languageserver (version 0.2.7)

stylize: edit code style

Description

This functions formats a document using styler::style_text() with the styler::tidyverse_style() style.

Usage

stylize(document, options)

Arguments

document

a character, the contents of the document

options

a named list of options, with a tabSize parameter