print_skeleton
prints the folder structure of a research compendium.
Arguments
- path
path to the directory to be printed. Default is current directory.
- comments
A character string with the comments to be added to each folder in the graphical representation of the folder skeleton printed on the console.
- folders
A character vector including the name of the sub-directories of the project.
References
Araya-Salas, M., Arriaga, A. (2023), sketchy: research compendiums for data analysis in R. R package version 1.0.3.
Author
Marcelo Araya-Salas (marcelo.araya@ucr.ac.cr)
Examples
{
data(compendiums)
make_compendium(name = "my_other_compendium", path = tempdir(), format = "basic")
print_skeleton(path = file.path(tempdir(), "mycompendium"))
}
#> Creating directories ...
#> my_other_compendium
#> │
#> ├── data/
#> │ ├── processed/ # modified/rearranged data
#> │ └── raw/ # original data
#> ├── manuscript/ # manuscript/poster figures
#> ├── output/ # all non-data products of data analysis
#> └── scripts/ # code
#> Done.
#> mycompendium
#> │
#> ├── data/
#> │ ├── processed/
#> │ └── raw/
#> ├── manuscript/
#> ├── output/
#> └── scripts/