DominikRafacz/deepdep

Packages with no dependecies error

Closed this issue · 0 comments

Describe the bug
Bug is connected with the package, whose dependencies I try to scrape, having no dependencies. deepdep function throws error (text below), while get_dependencies correctly returns a data.frame with no rows.

Error text
Error in data.frame(origin = attr(pkg_dep, "package_name"), pkg_dep) : arguments imply differing number of rows: 1, 0

How to reproduce?
Steps to reproduce the behavior:

  1. Call deepdep("crayon").
  2. See the error above.

Expected behavior
I expect deepdep function to return object with no rows.