poissonconsulting / subfoldr2

An R package to facilitate saving and loading objects, data, plots, numbers and strings
https://poissonconsulting.github.io/subfoldr2/
Other
2 stars 0 forks source link

sbf_clean_output - remove all folders under a sub #90

Open sebdalgarno opened 2 years ago

sebdalgarno commented 2 years ago

Not sure if this function already exists - but would be nice to be able to clean up the output folder with something like sbf_remove_output("temperature") this would then look inside all the folders within output to remove data/objects/plots/pdfs etc. associated with that subfolder

sebdalgarno commented 2 years ago

never mind - realized this can be done with sbf_set_sub(rm = TRUE)

joethorley commented 2 years ago

It is a bit obscure though - it might be worth adding this as well when we have time.