I worked on a historical slavery map shiny app project during 2018 period.
My shiny app whas deployed on shinyapps.io with success. You can have a look to my project here
Today, I want to upgrade my app but unfortunately the UI is not working locally (white screen, no modal window, etc...here)
I download my app bundle from Shinyapps.io to use packrat and isolated packages versions used in 2018 without sucess. It's not clear to me how to do this. In Rstudio in Packages > Packrat > Options project > local repositories field. Do I have to indicate the path of the packrat folder of the bundle?
Here are the packages used in the map
library(shiny)
library(shinyWidgets)
library(leaflet)
library(dplyr)
library(dygraphs)
library(DT)
library(readr)
library(shinyjs)
library(shinyBS)
library(htmltools)
library(bsplus)
library(leaflet.extras)
library(dplyr)
library(tidyr)
library(readxl)
My shinyapps bundle tar is on my github here
packrat.int() should take care of all paths. However, I think the problem is the
bsModal
function from theshinybs
package. If you comment this part of the code in your app it works.If you look at the broswer JS console press F12 chrome or firefox, you can the error caused by shinybs. It is some
,
error. However, you can define the modal function outside shiny app