R/utils.R
soils_example.Rd
soils comes bundled with some example files in its inst/extdata directory. This function make them easy to access.
soils
inst/extdata
soils_example(file = NULL)
Adapted from readxl::readxl_example().
readxl::readxl_example()
Name of file. If NULL, the example files will be listed.
NULL
soils_example() #> [1] "df_plot.RDS" "headers.RDS" "tables.RDS" soils_example("df_plot.RDS") #> [1] "/home/runner/work/_temp/Library/soils/extdata/df_plot.RDS"