Learn R Programming

pkglite (version 0.1.1)

collate: Evaluate a list of file specifications

Description

Evaluate a list of file specifications and bind the results as a file collection.

Usage

collate(pkg = ".", ...)

Arguments

pkg

Path to the package directory.

...

One or more file specification objects.

Value

A file collection object containing the package name, file paths, and file format types.

Specification

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

Examples

Run this code
# NOT RUN {
system.file("examples/pkg1/", package = "pkglite") %>%
  collate(file_default())
# }

Run the code above in your browser using DataLab