This function updates the private/public status of a component. By default,
the function turns a private component into a public component. This
function simply wraps the update_project function
as it has the same operations.
Usage
update_component(id, private = FALSE)
Arguments
id
OSF id (osf.io/XXXXX; just XXXXX)
private
Set project to private/public (default changes to public)