avoid_new_lines: Avoid new lines in sprintf output. Function helps to avoid...

View source: R/linter.R

avoid_new_linesR Documentation

Avoid new lines in sprintf output. Function helps to avoid line lenght limits without affecting sprintf output

Description

Avoid new lines in sprintf output. Function helps to avoid line lenght limits without affecting sprintf output

Usage

avoid_new_lines(fmt)

Arguments

fmt

string, formatted as sprintf input

Value

string

Examples

sprintf(avoid_new_lines(
  "Lorem ipsum dolor sit amet, %s adipiscing elit, sed do eiusmod
  tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim
  veniam."
), "consectetur")


gdrplatform/gDRstyle documentation built on Nov. 9, 2024, 9:28 p.m.