Permanently deletes files or folders, moving them to the trash first if
needed. This can't be undone. This is the analogue of
googledrive::drive_rm(). Use pd_trash() for a reversible alternative.
Arguments
- file
Files or folders, as paths, IDs marked with
as_id(), or a dribble. Forpd_untrash(), typically a dribble frompd_ls("/trash")or frompd_trash().- verbose
If
TRUE, report what happened.
Value
A dribble of the deleted items, invisibly.