listPackageFiles: Get a vector of filenames associated with a package

View source: R/listPackageFiles.R

listPackageFilesR Documentation

Get a vector of filenames associated with a package

Description

Function to get a vector of filenames associated with a package.

Usage

listPackageFiles(pkg, sub = NULL)

Arguments

pkg
  • name of package

sub
  • (optional) name of subfolder to check

Details

If sub is NULL, the names of all folders/files included in the package are returned. Note, though, that this does NOT return file names from the package source, but from the compiled package.

Value

a character vector of file paths relative to the package folder or sub-folder.


wStockhausen/wtsUtilities documentation built on March 16, 2024, 10:38 a.m.