goodpractice (version 1.0.2)

r_package_files: 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 corrent collation order.