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.


MangoTheCat/goodpractice documentation built on Sept. 5, 2022, 2 p.m.