MilesMcBain / packup

Collect, stow, and alphabetise library() calls in your R files.
Other
59 stars 4 forks source link

packup & DESCRIPTION #6

Closed maelle closed 6 years ago

maelle commented 6 years ago

Hi @MilesMcBain , alphabetical order expert! I forgot if we discussed this before, could packup help order dependencies under each field in DESCRIPTION? Or should it be another package wrapping desc? Or maybe desc already has alphabetical order 🤔 https://github.com/r-lib/desc#dependencies

Cc @aedobbyn

maelle commented 6 years ago

I think that currently the order is not alphabetical cf

https://github.com/r-lib/desc/blob/f6f0753a86dddd89a34bdae0a52eee532d66333b/R/deps.R

(which is what usethis uses)

Miles, also feel free to close if this discussion is out of scope for packup 👼

MilesMcBain commented 6 years ago

I like this idea but I think it is a different tool. Packup is about Rmd files.

So do you want to alphabetise everything? or just suggests, depends... etc?

maelle commented 6 years ago

Just packages inside each field (suggests, depends, imports). Should I close this issue?

MilesMcBain commented 6 years ago

Yes, let's close this, outside the scope of packup I think.