This function copies an *entire* project and its components to the harddrive of the individual (depth of clone depends on the maxdepth argument). There is currently no way to estimate the size before downloading so it might take a while. BUT there's a progess bar :-) Currently limited to only files stored on OSF (not via add-ons).
clone_project(id, private = FALSE, maxdepth = 5)
OSF id (osf.io/XXXX; just XXXX)
clone the project as seen privately?
how many levels of subcomponents to trawl
Boolean, clone success