datastorm-open / DependenciesGraphs

61 stars 13 forks source link

R 4.0.0 DataTables api change #4

Open suntzuisafterU opened 4 years ago

suntzuisafterU commented 4 years ago

Hi, just wanted to say I love using this library to visualize library code.

I think that an api change in DataTables is causing issues since I upgrade to R 4.0.0

Here is the error message:


Listening on http://127.0.0.1:3368
Warning in checkDT9(options) :
  shiny (>= 0.10.2) has upgraded DataTables from 1.9.4 to 1.10.2, and DataTables 1.10.x uses different parameter names with 1.9.x. Please follow the upgrade guide https://datatables.net/upgrade/1.10-convert to change your DataTables parameter names:

* bInfo

Warning: Error in unique: object 'data2' not found
  102: unique
  101: func [/usr/local/lib/R/4.0/site-library/DependenciesGraphs/Shiny/server.R#47]
   88: origRenderFunc
   87: output$main_plot
    7: shiny::runApp
    6: launch.app

And app window can not successfully visualize the library or internal dependencies.