r_package_files: Get all source files of a package, in the right order

View source: R/prep_expressions.R

r_package_filesR Documentation

Get all source files of a package, in the right order

Description

It uses the Collate entry in the DESCRIPTION file, if there is one. Otherwise the order is alphabetical.

Usage

r_package_files(path)

Arguments

path

Path to the root of the R package.

Value

A character vector of (relative) file names in the current collation order.


goodpractice documentation built on Aug. 31, 2022, 1:05 a.m.