Open edavidaja opened 6 years ago
Hey, I have the same problem with my app. Did you manage to solve it?
Sadly, no.
Sorry I missed this previously. I was not able to reproduce the problem while running the app in the gist under Shiny Server Pro.
I know this is a very old issue, but if it's still a thing for someone, first thing I'd want to know is what versions of DT and shiny.
I'm not able to reproduce the behavior either, both with recent and contemporary versions of R (3.4.3) and Shiny. I am using the latest Shiny Server Pro. @aleksandraw105 could you say more about which versions of R, shiny, and DT you're using?
I'm seeing this while testing in RStudio Server Pro version 1.3.1093-1 select Endeavor Air Inc. select Baltimore Washington Intl (856) it renders 9E - DTW Detroit Metro Wayne Co
If I select Chicago Ohare Intl it renders 9E - FLL
location where files were download:
`> sessionInfo() R version 4.0.0 (2020-04-24) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Red Hat Enterprise Linux
Matrix products: default BLAS: /opt/R/R_4.0.0/lib64/R/lib/libRblas.so LAPACK: /opt/R/R_4.0.0/lib64/R/lib/libRlapack.so
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages: [1] stats graphics grDevices datasets utils methods base
other attached packages: [1] DT_0.16 rlang_0.4.9 shinydashboard_0.7.1 shiny_1.5.0 r2d3_0.2.5 stringr_1.4.0 purrr_0.3.4 magrittr_2.0.1 nycflights13_1.0.1 dplyr_1.0.2
loaded via a namespace (and not attached):
[1] Rcpp_1.0.5 pillar_1.4.7 compiler_4.0.0 BiocManager_1.30.10 later_1.1.0.1 tools_4.0.0 digest_0.6.27 jsonlite_1.7.2 lifecycle_0.2.0 tibble_3.0.4 pkgconfig_2.0.3
[12] cli_2.2.0 rstudioapi_0.13 crosstalk_1.1.0.1 parallel_4.0.0 yaml_2.2.1 xfun_0.19 fastmap_1.0.1 withr_2.3.0 knitr_1.30 generics_0.1.0 vctrs_0.3.6
[23] htmlwidgets_1.5.3 tidyselect_1.1.0 glue_1.4.2 R6_2.5.0 fansi_0.4.1 promises_1.1.1 ellipsis_0.3.1 htmltools_0.5.0 rsconnect_0.8.16 assertthat_0.2.1 xtable_1.8-4
[34] mime_0.9 renv_0.12.3 httpuv_1.5.4 utf8_1.1.4 stringi_1.5.3 crayon_1.3.4 `
I've implemented a dashboard similar to this example; however, the problem reproduces itself using this unmodified gist.
After two clicks into a highchart object for additional detail, the third click and beyond will only return data from whatever element was clicked second. This is illustrated in the images below (note the dest_name column):
Works as expected:
Works as expected:
Fails: returns data from Akron, rather than General Mitchell airport.
The problem does not occur when the app is run locally (from my Windows machine):
I've also deployed a dockerized version of the app (based on the r-base image), and the problem does not appear there either. It's not clear to me that running this from RHEL 7 would make a difference, but that is the host on which the problem manifests. I've confirmed that the tab list is being incremented correctly. I thought it might be a scoping issue related to the use of
<<-
, but that doesn't appear to be it.I think that this is a therefore a shiny-server pro problem, but please move it to the appropriate place if I'm wrong.
Thanks!