noaa-nwfsc / FishSET

FishSET (fisheries spatial economics toolbox) includes tools for spatial data analysis, running location choice models, and simulating policy scenarios.
https://noaa-nwfsc.github.io/FishSET/
Other
4 stars 0 forks source link

run_fishset_gui() errors caused by older packages. #62

Closed mle2718 closed 4 months ago

mle2718 commented 4 months ago

I am using R 4.2.2 and did a fresh install of FishSET@master

run_fishset_gui() produces

Listening on http://127.0.0.1:4356
Warning: Error in : 'nav_panel' is not an exported object from 'namespace:bslib'
  84: list2
  82: navbarMenu_
  81: bslib::nav_menu
  70: ui [C:\Users\min-yang.lee\AppData\Local\R\win-library\4.2\FishSET\ShinyFiles\MainApp/ui.R#13]
   2: shiny::runApp
   1: run_fishset_gui

I noticed that I had bslib 0.4.0. Updating it to 0.7.0 changed the error message to

Warning: Error in loadNamespace: there is no package called ‘bsicons’
  106: <Anonymous>
  105: stop
  101: loadNamespace
  100: dots_list
   99: div
   96: bslib::accordion_panel
   70: ui [C:\Users\min-yang.lee\AppData\Local\R\win-library\4.2\FishSET\ShinyFiles\MainApp/ui.R#13]
    2: shiny::runApp
    1: run_fishset_gui

installing bsicons leads to these error messages:

Warning: `card_body()` is designed to work with shiny 1.7.4 or higher
Warning: `card_body()` is designed to work with htmlwidgets 1.6.0 or higher

installing the latest shiny and htmlwidgets lets me successfully run the run_fishset_gui()

I don't know much about this, but we might want to add some extra packages with versions to the "DESCRIPTION"

Paul-Carvalho commented 4 months ago

Thanks for letting us know, Min-Yang. Yes, I think we need to add versions to DESCRIPTIONS.

Paul-Carvalho commented 4 months ago

closed in #68