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

drive_example(path = NULL)

Arguments

path

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

Examples

drive_example()
#> [1] "chicken.csv" "chicken.jpg" "chicken.pdf" "chicken.txt"
drive_example("chicken.jpg")
#> [1] "/Users/jenny/rrr/googledrive/inst/extdata/chicken.jpg"