Use osf_rm()
to permanently delete a project, component, file or
directory from OSF, including any uploaded files, wiki content, or comments
contained therein. Because this process is irreversible, osfr will first
open the item in your web browser so you can verify what is about to be
deleted before proceeding.
If the project or component targeted for deletion contains sub-components,
those must be deleted first. Setting recurse = TRUE
will attempt to
remove the hierarchy of sub-components before deleting the top-level entity.
Note: This functionality is limited to contributors with admin-level
permissions.