Create folder with ODMAP structure
create_odmap.Rd
This function creates an empty folder following the ODMAP structure (Overview, Data, Modeling, Assessment, and Prediction). It is intended to be used for habitat, movement, and connectivity modeling and suggested to be used by species (i.e. one folder per species), but this can be used in other ways depending of the user preferences.
Details
The function will probably throw some warnings because R project files are created in nested folders where a R proj file is already existing. The user needs to mannually accept that to allow the creation of these files, which makes it easier for one to set relative paths for each of the modeling steps.
Examples
create_odmap(path = "./test")
#> ✔ Creating ./test/.
#> ✔ Creating ./test/01_overview/.
#> ! New project "02_data" is nested inside an existing project ./test/, which is
#> rarely a good idea.
#> ℹ If this is unexpected, the here package has a function, `here::dr_here()`
#> that reveals why ./test/ is regarded as a project.
#> Error in ui_yep(x = x, yes = yes, no = no, n_yes = n_yes, n_no = n_no, shuffle = shuffle, .envir = .envir): ✖ User input required, but session is not interactive.
#> ℹ Query: "Do you want to create anyway?"