package_file

0th

Percentile

Find file in a package.

It always starts by finding by walking up the path until it finds the root directory, i.e. a directory containing DESCRIPTION. If it cannot find the root directory, or it can't find the specified path, it will throw an error.

Usage
package_file(..., path = ".")
Arguments
...

Components of the path.

path

Place to start search for package directory.

Aliases
  • package_file
Examples
# NOT RUN {
package_file("figures", "figure_1")
# }
Documentation reproduced from package devtools, version 1.13.5, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.