lockedata / starters

R Package 📦 for initializing projects for various R activities :nut_and_bolt:
https://itsalocke.com/starters/
GNU General Public License v3.0
124 stars 16 forks source link

Remove the bestPractice argument from createPackageProject #113

Closed maelle closed 5 years ago

maelle commented 5 years ago

Or at least make it have less effect.

stephlocke commented 5 years ago

If you can split these remaining things out then sure https://github.com/lockedata/starters/blob/master/R/createPackageProject.R#L89

maelle commented 5 years ago

What do you mean?

I'm not sure what would be added only when bestPractice is TRUE.

stephlocke commented 5 years ago

Once upon a time, many things were in the bestpractice section https://github.com/lockedata/starters/blob/e5cc9a867897cfff96a9bc09487fc6f439fc473b/R/createPackageProject.R#L21 but you've slowly but surely been moving things out of that section into their own toggleable parameters.

I'd like every package to start with a CoC, NEWS, and a package vignette

maelle commented 5 years ago

So what would depend on bestPractice? Nothing and we remove it?

stephlocke commented 5 years ago

Yep - if you can move everything remaining out to relevant toggles / options then it's no longer needed

maelle commented 5 years ago

I'll remove it once we merge #111

jonmcalder commented 5 years ago

I'm working on #101 and have self-assigned #102 (though not started yet) which will both be impacted by this change, so I think I'll wait for you to get this done first @maelle?