| prune | R Documentation | 
Remove files from a file collection
prune(x, path)
## S3 method for class 'file_collection'
prune(x, path)
| x | File collection. | 
| path | Character vector. Relative paths of the files to remove. | 
Pruned file collection.
The contents of this section are shown in PDF user manual only.
system.file("examples/pkg1/", package = "pkglite") %>%
  collate(file_default()) %>%
  prune(path = c("NEWS.md", "man/figures/logo.png"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.