Learn R Programming

osfr (version 0.1.0)

delete_component: Empty out a component and delete it

Description

This function removes all containing files of a component and then removes the component itself. NOTE: it does not request confirmation, so please handle with care. If you do not have backups of the files, it is easy to lose everything (in the component).

Usage

delete_component(id)

Arguments

id

OSF id (osf.io/xxxx; just XXXX)

Value

Boolean, deletion success