-
Notifications
You must be signed in to change notification settings - Fork 37
Inability to run graph_viz when package uses Rcpp #343
Copy link
Copy link
Closed
Labels
Description
I am trying to use {pkgnet} on a package called FIMS that uses Rcpp to link to C++ in combination with typical R functions. I am getting the following error message when I run pkgnet::CreatePackageReport(pkg_name = "FIMS")
Error in as.vector(x, "list") :
cannot coerce type 'externalptr' to vector of type 'list'
The html output is still created but the visualization of the functions do not render. I am wondering if there is a workaround that you know of to get around this and potentially give a figure of just the R functions or perhaps you can point me to the relevant pieces of code that I could help augment to accommodate packages with Rcpp code in them. I am familiar with S4 classes but your package uses R6, which I am less familiar with. Thank you for your time.
Reactions are currently unavailable