You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was about to open this issue in usethis, but I saw it used desc to manage the DESCCRIPTION file. Let me know if I missed and should be on usethis.
When I use devtools::setup packages are added alphabetically:
Suggests:
knitr,
rmarkdown,
testthat
However when using usethis::use_package or anything that adds a package to the DESCRIPTION file like use_coverage, the packages are added at the end of the list:
Suggests:
knitr,
rmarkdown,
testthat,
covr
Could it be added an option in desc_normalizeto sort the packages alphabetically? Perhaps in desc_normalize and in desc_set_dep as an argument?.
Suggests:
covr,
knitr,
rmarkdown,
testthat
The text was updated successfully, but these errors were encountered:
I was about to open this issue in usethis, but I saw it used desc to manage the DESCCRIPTION file. Let me know if I missed and should be on usethis.
When I use
devtools::setup
packages are added alphabetically:However when using
usethis::use_package
or anything that adds a package to the DESCRIPTION file likeuse_coverage
, the packages are added at the end of the list:Could it be added an option in
desc_normalize
to sort the packages alphabetically? Perhaps indesc_normalize
and indesc_set_dep
as an argument?.The text was updated successfully, but these errors were encountered: