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 use_description() more verbose (again) #287

jjchern opened this issue Feb 24, 2018 · 2 comments

Make use_description() more verbose (again) #287

jjchern opened this issue Feb 24, 2018 · 2 comments
description 📚 feature a feature request or enhancement


Copy link

jjchern commented Feb 24, 2018

The create_description() function from devtools prints out DESCRIPTION by default:

devtools::create_description(quiet = FALSE)
#> No DESCRIPTION found. Creating with values:
#> Package: Rtmp5PZ0dI
#> Title: What the Package Does (one line, title case)
#> Version:
#> Authors@R: person("First", "Last", email = "", role = c("aut", "cre"))
#> Description: What the package does (one paragraph).
#> Depends: R (>= 3.4.3)
#> License: What license is it under?
#> Encoding: UTF-8
#> LazyData: true
#> [1] TRUE

Right now usethis::use_description() only writes the DESCRIPTION file but doesn't print out information. I was wondering if it'd be useful to add a quite = TRUE argument in usethis::use_description(), so that users can have an option to see the output in the console.

Copy link

jennybc commented Feb 26, 2018

I think it probably just makes more sense to print this to screen again. I suspect the suppression of that was more a side effect of changing the internals than some explicit choice.

@jennybc jennybc changed the title A quiet argument in use_description()? use_description(): be more verbose (again) Feb 26, 2018
@jennybc jennybc added the feature a feature request or enhancement label Feb 26, 2018
Copy link

hadley commented Nov 25, 2018

use_description() is only called from create_package() so this change seems benign.

@hadley hadley changed the title use_description(): be more verbose (again) Make use_description() more verbose (again) Nov 25, 2018
@hadley hadley closed this as completed in 777a360 Nov 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
description 📚 feature a feature request or enhancement
None yet

No branches or pull requests

3 participants