example_path {mpactr}R Documentation

Get file paths for examples

Description

mpactr contains a number of example files in the inst/extdata directory. This function makes them accessible in documentation that shows how file paths are used in function examples.

Usage

example_path(file = NULL)

Arguments

file

Name of a file. If NULL, all examples files will be listed.

Value

A file path to example data stored in the inst/extdata directory of the package.

Examples

example_path()

example_path("metadata.csv")

[Package mpactr version 0.2.1 Index]