Learn R Programming

pkglite (version 0.2.3)

sanitize: Sanitize file collection

Description

Remove commonly excluded files from a file collection.

Usage

sanitize(x)

# S3 method for file_collection sanitize(x)

Value

Sanitized file collection.

Arguments

x

File collection.

Specification

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

Examples

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

Run the code above in your browser using DataLab