remove_empty_lines {beautier}R Documentation

Remove all lines that are only whitespace

Description

Remove all lines that are only whitespace

Usage

remove_empty_lines(lines, trim = FALSE)

Arguments

lines

character vector with text

trim

FALSE if indentation must be preserved, TRUE will remove all surrounding whitespace

Value

the lines with text

Author(s)

Richèl J.C. Bilderbeek


[Package beautier version 2.6.12 Index]