tidycode_example: Get path to example file

Description Usage Arguments Examples

View source: R/tidycode_example.R

Description

tidycode comes bundled with a few small files to use in examples. This function makes them easy to access.

Usage

1

Arguments

path

Name of file. If NULL, the example files will be listed.

Examples

1
2
tidycode_example()
tidycode_example("example_plot.R")

Example output

[1] "example_analysis.R" "example_plot.R"    
[1] "/usr/lib/R/site-library/tidycode/extdata/example_plot.R"

tidycode documentation built on Dec. 11, 2019, 1:08 a.m.