Get path to example file

testsheets_example(type = NULL)

Arguments

type

Name of spreadsheet type. If `NULL`, the example file types will be listed.

Value

a path or url to the specified resource

Examples

testsheets_example()
#> Available example file types are excel and google sheets.
testsheets_example("google sheets")
#> # A tibble: 1 x 3 #> name id drive_resource #> * <chr> <chr> <list> #> 1 testsheets_example 1vR1aUlKMGtZIJOZaHNk7kePgeYYrkhoy0PFmZxs8… <named list [28
testsheets_example("excel")
#> [1] "/private/var/folders/9d/fcqbb3xn6n1dqz8f1d0g_gr00000gn/T/RtmpHJpOCl/temp_libpath16f1273719494/testsheets/extdata/testsheets_example.xlsx"