file_auto: File specification (automatic guess)

View source: R/templates.R

file_autoR Documentation

File specification (automatic guess)

Description

Lists all files under a folder recursively and guesses the file format type (text or binary) based on the file extension.

Usage

file_auto(path)

Arguments

path

The directory's relative path (relative to the package root), for example, "inst/".

Value

A list of file specifications.

Specification

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

Examples

file_auto("inst/")

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