grep_log: 'Grep' Lines From a File

View source: R/rcmdcheck.R

grep_logR Documentation

Grep Lines From a File

Description

Grep Lines From a File

Usage

grep_log(file, pattern, strip = TRUE)

Arguments

file

The path to the file or a character vector holding the lines.

pattern

The pattern to grep for.

strip

Substitute the pattern with the empty string before returning the lines grepped?

Value

A character vector giving the lines.


packager documentation built on Aug. 16, 2023, 5:08 p.m.