remove_commented_and_empty_lines: Remove commented and empty lines

View source: R/others.R

remove_commented_and_empty_linesR Documentation

Remove commented and empty lines

Description

Removes empty or commented lines from a character vector (each element being a line)

Usage

remove_commented_and_empty_lines(lines)

Arguments

lines

a character vector, usually the result from using the readLines function

Value

a character vector of the pruned lines


bblodfon/usefun documentation built on Sept. 17, 2023, 4:37 p.m.