
Last chance! 50% off unlimited learning
Sale ends in
Move Drive files to or from trash
drive_trash(file, verbose = TRUE)drive_untrash(file, verbose = TRUE)
Logical, indicating whether to print informative messages
(default TRUE
).
An object of class dribble
, a tibble with one row per item.
# NOT RUN {
## Create a file and put it in the trash.
file <- drive_upload(drive_example("chicken.txt"), "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")
# }
Run the code above in your browser using DataLab