if (FALSE) {
proj <- osf_create_project("Directory Example")
# add directory to the top-level of the Directory Example project
data_dir <- osf_mkdir(proj, path = "data")
# add a subdirectory nested within data/
osf_mkdir(data_dir, path = "rawdata")
# recursively create multiple directory levels within data/
osf_mkdir(data_dir, path = "samples/pcr/qc")
}
Run the code above in your browser using DataLab