uptake / pkgnet

R package for analyzing other R packages via graph representations of their dependencies
https://uptake.github.io/pkgnet/
Other
155 stars 37 forks source link

CreatePackageReport() fails to determine dependencies between R6 objects #260

Closed jameslamb closed 4 years ago

jameslamb commented 5 years ago

I'm unsure of the exact issue, but the following code

pkg_name <- YOUR_PACKAGE_NAME
CreatePackageReport(
    pkg_name
    , report_path = file.path(getwd(), "report.html")
)

Yields an error like the following on the Function Network tab (generated by FunctionReporter):

## Error in data.table::rbindlist(c(list(edgeDT), mapply(FUN = .determine_R6_dependencies, : Item 2 of input is not a data.frame, data.table or list

I've observed this error for the following packages:

discovered via the code in #252