tidycode comes bundled with a few small files to use in examples. This function makes them easy to access.
tidycode_example(path = NULL)
path | Name of file. If |
---|
tidycode_example()#> [1] "example_analysis.R" "example_plot.R"tidycode_example("example_plot.R")#> [1] "/Users/lucymcgowan/wonderland/tidycode/inst/extdata/example_plot.R"