← Back to all sparks
G

googledrive

COLLAB
Velocity0.0

Manage Google Drive files and folders directly from R

googledrive has spent six years absorbing Google's changes rather than making its own

google-drivecloud-storageoauthtidyverseapi-wrapper
Current state
googledrive wraps the Drive API for R, and its two structural releases were both reactions to external change: 1.0.0 moved authentication out to gargle, and 2.0.0 adopted Drive's shared-drives rebrand and the single-parent file model with shortcuts. The 2.1.x line since has been service-account impersonation, a scopes helper, retry routing, and markdown-to-Google-Doc conversion.
Where it's heading
The package is stable by design — the 1.0.0 notes said as much, citing two years on CRAN with little need for change — and its release triggers come from Google's platform and from gargle's interface, not from new ideas here. Recent additions are narrow conveniences that make specific workflows possible rather than reshaping the API surface.
Prediction
Expect the next release to track whatever gargle changes about auth or retries, plus incremental format-conversion support; the entries show no independent roadmap.

Recent moves

  1. 11mo ago

    Markdown files convert to and from Google Docs

    A single, genuinely useful addition: drive_upload() and drive_download() handle markdown-to-Google-Doc conversion in both directions. Typical of the package's recent narrow-convenience releases.

    View source ↗
  2. 3y ago

    Service account impersonation and a drive_scopes() helper

    drive_auth(subject=) enables domain-wide delegation through a service account, all requests route through gargle's retry machinery, and drive_scopes() resolves short aliases to full scope URLs. Also the release that syncs with gargle 1.5.0.

    View source ↗
  3. 3y ago

    OAuth client rename adopted; shared-drive listing fixed

    Mirrors gargle's app-to-client terminology into drive_oauth_client() and drive_auth_configure(), and repairs recursive listing and moves on shared drives. Two long-deprecated functions become defunct.

    View source ↗
  4. 5y ago

    Shared drives replace Team Drives; single parenting and shortcuts

    ⚡ SPARK

    Adopts a change to Drive's own object model rather than the package's: every file now has exactly one parent, shortcuts become the way a file appears in more than one place, and the whole team_drive_*() family is deprecated for shared_drive_*().

    View source ↗
  5. 6y ago

    drive_share_anyone() added; duplicate file IDs filtered

    A convenience wrapper for link sharing plus defensive de-duplication of paginated results, which the notes admit should not be necessary but apparently is.

    View source ↗
  6. 6y ago

    Authentication extracted to gargle; user-level token caching

    ⚡ SPARK

    The release that made googledrive part of a shared auth stack instead of owning its own. Tokens move to a user-level cache indexed by Google identity, and Application Default Credentials plus GCE metadata-server tokens become available — at the cost of backwards compatibility in drive_auth().

    View source ↗