You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m experiencing an issue with airDatepickerInput from shinyWidgets when running a Shiny app on Shiny Server. The input works as expected on RStudio Server, on the same machine, but it fails to function correctly on Shiny Server, even with identical package versions and environment configurations. This includes testing both the CRAN version and the latest version from GitHub.
Issue Details
R version: "R version 4.3.3 (2024-02-29)"
Shiny Server version: jShiny Server v1.5.22.1017
shinyWidgets version: 0.8.6
Environment: Shiny Server on
Distributor ID: Ubuntu
Description: Ubuntu 24.04 LTS
Release: 24.04
Codename: noble
# Load required libraries
library(shiny)
library(shinyWidgets)
# Define the UI
ui <- fluidPage(
titlePanel("Simple airDatepickerInput Test"),
sidebarLayout(
sidebarPanel(
# Simple airDatepickerInput
airDatepickerInput(
inputId = "date_picker",
label = "Select a date"
)
),
mainPanel(
h3("Selected Date"),
verbatimTextOutput("selected_date")
)
)
)
# Define server logic
server <- function(input, output, session) {
# Display the selected date
output$selected_date <- renderText({
paste("Selected Date:", input$date_picker)
})
}
# Run the application
shinyApp(ui = ui, server = server)
Observed Behavior
Expected: airDatepickerInput renders correctly, and selecting a date updates the output text.
Actual: The date picker doesn’t work as expected on Shiny Server. The input doesn’t display correctly or fails to update the selected date.
Additional Information
I’ve verified that:
Package versions are consistent between RStudio Server and Shiny Server.
Shiny Server has the necessary permissions and JavaScript dependencies.
The issue persists after installing shinyWidgets from GitHub using remotes::install_github("dreamRs/shinyWidgets").
If I role back to a previous version, the airDatePicker works as expected, however when I use the updateAirDatePicker, it will off put the date by a single day (I believe due to difference in the sever and pc)
Any guidance on resolving this would be greatly appreciated!
Thank you!
The text was updated successfully, but these errors were encountered:
Hello,
I’m experiencing an issue with airDatepickerInput from shinyWidgets when running a Shiny app on Shiny Server. The input works as expected on RStudio Server, on the same machine, but it fails to function correctly on Shiny Server, even with identical package versions and environment configurations. This includes testing both the CRAN version and the latest version from GitHub.
Issue Details
R version: "R version 4.3.3 (2024-02-29)"
Shiny Server version: jShiny Server v1.5.22.1017
shinyWidgets version: 0.8.6
Environment: Shiny Server on
Distributor ID: Ubuntu
Description: Ubuntu 24.04 LTS
Release: 24.04
Codename: noble
Observed Behavior
Expected: airDatepickerInput renders correctly, and selecting a date updates the output text.
Actual: The date picker doesn’t work as expected on Shiny Server. The input doesn’t display correctly or fails to update the selected date.
Additional Information
I’ve verified that:
Package versions are consistent between RStudio Server and Shiny Server.
Shiny Server has the necessary permissions and JavaScript dependencies.
The issue persists after installing shinyWidgets from GitHub using remotes::install_github("dreamRs/shinyWidgets").
If I role back to a previous version, the airDatePicker works as expected, however when I use the updateAirDatePicker, it will off put the date by a single day (I believe due to difference in the sever and pc)
Any guidance on resolving this would be greatly appreciated!
Thank you!
The text was updated successfully, but these errors were encountered: