An Interface to Google Drive

Manage Google Drive files from R.

CRAN_Status_Badge Build StatusAppVeyor Build Statuscodecov


googledrive allows you to interact with files on Google Drive from R.


Install the CRAN version:


Or install the development version from GitHub:



Please see the package website:

Here's a teaser that uses googledrive to view some of the files you see on

drive_find(n_max = 25)
#> Auto-refreshing stale OAuth token.
#> # A tibble: 25 x 3
#>                            name
#>  *                        <chr>
#>  1               chicken-rm.txt
#>  2                  chicken.jpg
#>  3           README-mirrors.csv
#>  4           README-mirrors.csv
#>  5                          def
#>  6                          abc
#>  7               folder1-level4
#>  8               folder1-level3
#>  9      cranberry-TEST-drive-ls
#> 10 folder1-level2-TEST-drive-ls
#> # ... with 15 more rows, and 2 more variables: id <chr>,
#> #   drive_resource <list>


If you'd like to contribute to the development of googledrive, please read these guidelines.


googledrive 0.1.3

Minor patch release for compatibility with the imminent release of purrr 0.3.0.

googledrive 0.1.2

  • Internal usage of glue::collapse() modified to call glue::glue_collapse() if glue v1.3.0 or later is installed and glue::collapse() otherwise. Eliminates a deprecation warning emanating from glue. (#222 @jimhester)

googledrive 0.1.1

  • initial CRAN release

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


2.0.0 by Jennifer Bryan, 4 months ago,

Report a bug at

Browse source code at

Authors: Lucy D'Agostino McGowan [aut] , Jennifer Bryan [aut, cre] , RStudio [cph, fnd]

Documentation:   PDF Manual  

MIT + file LICENSE license

Imports cli, gargle, glue, httr, jsonlite, lifecycle, magrittr, pillar, purrr, rlang, tibble, utils, uuid, vctrs, withr

Suggests covr, curl, downlit, dplyr, knitr, mockr, rmarkdown, roxygen2, sodium, spelling, testthat

Imported by abmR, datazoom.amazonia, googlesheets4, mailmerge, tidyverse, trackdown.

Suggested by NetworkToolbox, SpaDES.core,, rchie, reproducible, rgee, shiny.reglog.

See at CRAN