pkgnet icon indicating copy to clipboard operation
pkgnet copied to clipboard

CreatePackageReport() fails with certain packages that have R6 objects

Open jameslamb opened this issue 5 years ago • 0 comments

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(lapply(X = private$get_pkg_R6_classes(), : Item 2 has 1 columns, inconsistent with item 1 which has 3 columns. To fill missing columns use fill=TRUE.

I've observed this error for the following packages:

  • lightgbm

discovered via the code in #252

jameslamb avatar Oct 22 '19 03:10 jameslamb