indent: Indent text for a certain number of spaces. If the text is...

View source: R/indent.R

indentR Documentation

Indent text for a certain number of spaces. If the text is only whitespace, leave it as such

Description

Indent text for a certain number of spaces. If the text is only whitespace, leave it as such

Usage

indent(text, n_spaces = 4)

Arguments

text

the text to indent

n_spaces

the number of spaces to add before the text. BEAUti uses four spaces by default

Value

the indented text

Author(s)

Richèl J.C. Bilderbeek


beautier documentation built on Nov. 2, 2023, 5:08 p.m.