usethis icon indicating copy to clipboard operation
usethis copied to clipboard

Option for create_project to create common additional sub-folders

Open khailper opened this issue 7 years ago • 3 comments

Would it be useful to submit a PR to add a parameter to create_project to add folders like /data and something for .Rmd outputs (I believe /docs in the convention) instead of manually running use_directory()?

khailper avatar Jan 23 '19 21:01 khailper

An alternative approach occurred to me: a parameter that takes a character vector of directories to create, with a default of c("R"). Documentation might include common additional directories.

khailper avatar Jan 24 '19 15:01 khailper

< shameless self promotion> I've got a package for that! Check out starters < / shameless self promotion>

stephlocke avatar Jan 24 '19 15:01 stephlocke

The usethis philosophy is to create folders as needed; if you want more of a templated approach, I'd go with @stephlocke's suggestion.

hadley avatar Jan 24 '19 20:01 hadley