Description Usage Arguments Value Examples
Move Drive files to or from trash
1 2 3 | drive_trash(file, verbose = deprecated())
drive_untrash(file, verbose = deprecated())
|
An object of class dribble
, a tibble with one row per file.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # Create a file and put it in the trash.
file <- drive_example_remote("chicken.txt") %>%
drive_cp("chicken-trash.txt")
drive_trash("chicken-trash.txt")
# Confirm it's in the trash
drive_find(trashed = TRUE)
# Remove it from the trash and confirm
drive_untrash("chicken-trash.txt")
drive_find(trashed = TRUE)
# Clean up
drive_rm("chicken-trash.txt")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.