tests/testthat/_snaps/drive_mime_type.md

drive_mime_type() errors for invalid input

Code
  drive_mime_type(1)
Condition
  Error in `drive_mime_type()`:
  ! `type` must be character.
Code
  drive_mime_type(dribble())
Condition
  Error in `drive_mime_type()`:
  ! `type` must be character.

drive_mime_type() errors for single unrecognized input

Code
  drive_mime_type("nonsense")
Condition
  Error in `drive_mime_type()`:
  ! Unrecognized `type`:
  x 'nonsense'

drive_extension() errors for invalid input

Code
  drive_extension(1)
Condition
  Error in `drive_extension()`:
  ! is.character(type) is not TRUE
Code
  drive_extension(dribble())
Condition
  Error in `drive_extension()`:
  ! is.character(type) is not TRUE

drive_extension() errors for single unrecognized input

Code
  drive_extension("nonsense")
Condition
  Error in `drive_mime_type()`:
  ! Unrecognized `type`:
  x 'nonsense'


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.