drive_examples {googledrive} | R Documentation |
Example files
Description
googledrive makes a variety of example files – both local and remote –
available for use in examples and reprexes. These functions help you access
the example files. See vignette("example-files", package = "googledrive")
for more.
Usage
drive_examples_local(matches)
drive_examples_remote(matches)
drive_example_local(matches)
drive_example_remote(matches)
Arguments
matches |
A regular expression that matches the name of the desired
example file(s). This argument is optional for the plural forms
( |
Value
For
drive_example_local()
anddrive_examples_local()
, one or more local filepaths.For
drive_example_remote()
anddrive_examples_remote()
, adribble
.
Examples
drive_examples_local() %>% basename()
drive_examples_local("chicken") %>% basename()
drive_example_local("imdb")
drive_examples_remote()
drive_examples_remote("chicken")
drive_example_remote("chicken_doc")
[Package googledrive version 2.1.1 Index]