dribble-checks

0th

Percentile

Check facts about a dribble

Sometimes you need to check things about a dribble` or about the files it represents, such as:

  • Is it even a dribble?

  • Size: Does the dribble hold exactly one file? At least one file? No file?

  • File type: Is this file a folder?

  • File ownership and access: Is it mine? Published? Shared?

Usage
is_dribble(d)

no_file(d)

single_file(d)

some_files(d)

confirm_dribble(d)

confirm_single_file(d)

confirm_some_files(d)

is_folder(d)

is_native(d)

is_parental(d)

is_mine(d)

is_team_drive(d)

is_team_drivy(d)

Arguments
d

A dribble.

Aliases
  • dribble-checks
  • is_dribble
  • no_file
  • single_file
  • some_files
  • confirm_dribble
  • confirm_single_file
  • confirm_some_files
  • is_folder
  • is_native
  • is_parental
  • is_mine
  • is_team_drive
  • is_team_drivy
Examples
# NOT RUN {
## most of us have multiple files or folders on Google Drive
d <- drive_find()
is_dribble(d)
no_file(d)
single_file(d)
some_files(d)
confirm_single_file(d)
confirm_some_files(d)
is_folder(d)
is_mine(d)
# }
Documentation reproduced from package googledrive, version 1.0.0, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.