benmarwick / rrtools

rrtools: Tools for Writing Reproducible Research in R
Other
672 stars 85 forks source link

`add_dependencies_to_description()` adds an empty field which breaks pkg check #114

Closed benmarwick closed 4 years ago

benmarwick commented 4 years ago

Please wait for some discussion of your report before making a Pull Request.

Describe the bug When we run add_dependencies_to_description() we often get an empty first field in the Imports field of the DESCRIPTION.

Imports:  ,  # <- this comma is the problem
    ape (>= 5.3),
    assertthat (>= 0.2.1),
    backports (>= 1.1.5),
    callr (>= 3.4.2),