Remove content lines from a pkglite file
Arguments
- input
Path to the text file.
- x
A character vector. Exactly matched lines in the file content will be removed.
- quiet
Suppress printing of progress?
Examples
pkg <- system.file("examples/pkg1", package = "pkglite")
txt <- tempfile(fileext = ".txt")
pkg %>%
collate(file_default()) %>%
pack(output = txt, quiet = TRUE) %>%
remove_content(c("## New Features", "## Improvements"), quiet = TRUE)