I tried to use both shinymanager
and shinyauthr
to make a login page for my Shiny App.
In shinyauthr
, I used req()
function in all output
and reactive
functions. In shinymanager, I don't need any req()
or similar function for output
and reactive
functions.
But, I get an error for observe()
and observeEvent()
functions.
Error:
Warning: Error in : Problem with `filter()` input `..1`.
i Input `..1` is `Season == input$season`.
x Input `..1` must be of size 6134 or 1, not size 0.
103: <Anonymous>
My observe()
function:
observe({
updatePickerInput(session, "picker1",
choices = unique(filter(data,data$Name==input$name)$surbame),
selected = 'AAA')
})