Open Jorge-hercas opened 3 years ago
Hi, I think there are some missing req()
in your code. See the error in R console, and so add one or severals req()
.
For example here :
example <- reactive({
req(input$filtro)
base |>
#group_by(.data[[input$filtro]]) |>
filter(Cuenta == input$filtro ) |>
group_by(Servicio) |>
summarise(n = n()) |>
setNames(c("Valor", "Valor2"))
})
Or you can use the one more global and brutal (but not really recommended) solution :
server <- function(input, output, session) {
auth_out <- secure_server(....)
observe({
if(is.null(input$shinymanager_where) || (!is.null(input$shinymanager_where) && input$shinymanager_where %in% "application")){
# your server app code
}
})
}
Hello and thanks for reading me. First of all I would like to thank you for this incredible package, it has helped me a lot, only now I am having an issue. When I run the application it automatically disconnects me from the server. In another issue I noticed that this occurs due to the NULL in the filter () function, however I have not managed to solve the problem with the req() function. Do you know if it's a bug in my code or a bug in the package? I appreciate your help in advance
my code is the following: