PredictiveEcology / LandWeb

Shared repository for Landweb modules
https://predictiveecology.github.io/LandWeb/
GNU General Public License v3.0
3 stars 2 forks source link

new error Plotting sim module diagram #32

Closed achubaty closed 6 years ago

achubaty commented 6 years ago
Warning: Error in Plot: Currently, Plot can not be called within a do.call. Try passing a named list of objects to Plot instead.
  172: stop
  171: Plot
  167: Plot
  166: PlotRemovingDots
  165: moduleDiagram
  163: renderPlot
  161: func
  121: drawPlot
  107: <reactive:plotObj>
   91: drawReactive
   78: origRenderFunc
   77: output$simInfo-moduleDiagram-modDiag
    1: shiny::runApp
Warning: Error in Plot: Currently, Plot can not be called within a do.call. Try passing a named list of objects to Plot instead.
  172: stop
  171: Plot
  167: Plot
  166: PlotRemovingDots
  165: moduleDiagram
  163: renderPlot
  161: func
  121: drawPlot
  107: <reactive:plotObj>
   91: drawReactive
   78: origRenderFunc
   77: output$simInfo-moduleDiagram-modDiag
    1: shiny::runApp

likely an issue with SpaDES.shiny

achubaty commented 6 years ago

err... SpaDES.core not SpaDES.shiny ...

achubaty commented 6 years ago

shiny package was updated May 17... shiny::renderPlot draws the plot in a do.call, so this limitation of Plot needs to be addressed ASAP

for now, don't update shiny (roll back to previous version if needed):

install.packages("https://cran.r-project.org/src/contrib/Archive/shiny/shiny_1.0.5.tar.gz", repos = NULL)
achubaty commented 6 years ago

resolved with latest quickPlot (v0.1.4 pushing to CRAN now)