My Server was running just fine until I made some changes to the ui. R is not happy with the way I am using my brackets. See Below for full code.
library(leaflet)
library(RgoogleMaps)
leaflet(ImpactPOS) %>%
addProviderTiles("Esri.WorldImagery") %>%
setView( -116.55, 35.25, 10) %>%
addCircleMarkers(~lng, ~lat, radius = 1, color = "red")
library(shiny)
r_colors <- rgb(t(col2rgb(colors()) / 255))
names(r_colors) <- colors()
ui <- fluidPage(
leafletOutput("mymap"),
p(),
actionButton("Date", "BLUFOR"),
sliderInput("integer", "Integer:",
min = 3, max = 18,
value = 10),
tableOutput("values")
)
server <- function(input, output) {
read.csv("C:UsersJim DowneyDesktopSchoolSpring 2021SE402Files for John")
output$mymap <- renderLeaflet({
leaflet(ImpactPOS) %>%
addProviderTiles("Esri.WorldImagery") %>%
setView( -116.55, 35.25, 10) %>%
addCircleMarkers(~lng, ~lat, radius = 1, color = "red") %>%
})
}
shinyApp(ui, server)
When I run this everything runs great until I try to run the server and I get this error back.
Error: unexpected '}' in "}"
question from:
https://stackoverflow.com/questions/65939814/issue-with-shiny-server-brackets-arent-happy-with-me 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…