Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make usethis silent? #72

Open
maelle opened this issue Nov 7, 2018 · 4 comments
Open

Make usethis silent? #72

maelle opened this issue Nov 7, 2018 · 4 comments

Comments

@maelle
Copy link
Contributor

maelle commented Nov 7, 2018

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

@stephlocke
Copy link
Member

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

@maelle
Copy link
Contributor Author

maelle commented Nov 7, 2018

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
Copy link
Contributor Author

maelle commented Apr 3, 2019

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

@maelle
Copy link
Contributor Author

maelle commented Apr 4, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants