path_examples: Paths to example data installed in any package at...

View source: R/path_examples.R

path_examplesR Documentation

Paths to example data installed in any package at .libPaths()

Description

Paths to example data installed in any package at .libPaths()

Usage

path_examples(package)

path_example(path, package)

Arguments

package

Character string giving the name of a single package. NULL defaults to the current

path

Name of file.

Value

  • path_example(): A path to a single example.

  • path_examples(): A character vector of all built-in examples.

See Also

Other miscellaneous utility functions: check_crucial_names(), degrees(), dropbox_exists(), r2dii_packages()

Examples

path_examples("readr")
path_example("mtcars.csv", package = "readr")

2DegreesInvesting/r2dii.utils documentation built on March 31, 2022, 11:20 p.m.