sanitize: Sanitize file collection

View source: R/collection.R

sanitizeR Documentation

Sanitize file collection

Description

Remove commonly excluded files from a file collection.

Usage

sanitize(x)

## S3 method for class 'file_collection'
sanitize(x)

Arguments

x

File collection.

Value

Sanitized file collection.

Specification

The contents of this section are shown in PDF user manual only.

Examples

system.file("examples/pkg1/", package = "pkglite") %>%
  collate(file_default()) %>%
  sanitize()

pkglite documentation built on Aug. 29, 2022, 1:05 a.m.