remove_content | R Documentation |
Remove content lines from a pkglite file
remove_content(input, x, quiet = FALSE)
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? |
The input file path.
The contents of this section are shown in PDF user manual only.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.