tests/testthat/_snaps/drive_get.md

drive_get() 'no input' edge cases

Code
  drive_get(id = NA_character_)
Condition
  Error in `map()`:
  i In index: 1.
  Caused by error in `.f()`:
  ! Can't `drive_get()` a file when `id` is `NA`.
Code
  drive_get(id = "")
Condition
  Error in `validate_drive_id()`:
  ! A <drive_id> must match this regular expression: `^[a-zA-Z0-9_-]+$`
  Invalid input:
  x '""'
Code
  dat <- drive_get("")
Message
  ! Problem with 1 path: path is empty string
  ! No path resolved to exactly 1 file.


Try the googledrive package in your browser

Any scripts or data that you put into this service are public.

googledrive documentation built on July 9, 2023, 7:04 p.m.