starters icon indicating copy to clipboard operation
starters copied to clipboard

Make usethis silent?

Open maelle opened this issue 7 years ago • 4 comments

would it be desirable to not let usethis be chatty within the functions of this package?

maelle avatar Nov 07 '18 13:11 maelle

I'd make it optional - I like seeing all the lines of activity scrolling by showing me exactly what I'd have had to do manually

stephlocke avatar Nov 07 '18 14:11 stephlocke

in that case we don't need to do anything except docs: an user could change the usethis option globally, I'll add that to a vignette (we'll need a setup vignette I think).

maelle avatar Nov 07 '18 14:11 maelle

For now I can't suggest making usethis quiet in starters docs because of https://github.com/r-lib/usethis/issues/689 which can be misleading.

maelle avatar Apr 03 '19 09:04 maelle

We can't just use the quiet option of usethis because it'd mask questions (e.g. what use_git() asks). So we could add an argument quiet to all functions and wrap each usethis call that doesn't ask questions in a withr call. Or we could do that without any argument, just making the functions less chatty generally.

I know you @stephlocke said it's nice to see the list of things happening but my main issue with that is that usethis calls create a few to-dos e.g. "Re-knit 'README.Rmd'" that is misleading since the starters function re-knits the README.

maelle avatar Apr 04 '19 07:04 maelle