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

Closed
jjchern opened this issue Feb 24, 2018 · 2 comments
Closed

Make use_description() more verbose (again) #287

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

Comments

@jjchern
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: 0.0.0.9000
#> Authors@R: person("First", "Last", email = "first.last@example.com", 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.

@jennybc
Copy link
Member

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
@hadley
Copy link
Member

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
Labels
description 📚 feature a feature request or enhancement
Projects
None yet
Development

No branches or pull requests

3 participants