drive_example: Get path to example file

Description Usage Arguments Examples

Description

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

Usage

1

Arguments

path

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

Examples

1
2
drive_example()
drive_example("chicken.jpg")

Example output

[1] "chicken.csv" "chicken.jpg" "chicken.pdf" "chicken.txt"
[1] "/usr/local/lib/R/site-library/googledrive/extdata/chicken.jpg"

googledrive documentation built on May 2, 2019, 1:26 p.m.