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


ropensci/beautier documentation built on July 9, 2024, 6:14 a.m.