shiny.fluent icon indicating copy to clipboard operation
shiny.fluent copied to clipboard

Dates displaying incorrectly in tutorial

Open simon-tarr opened this issue 3 years ago • 2 comments

I am trying to reproduce 02_basic_app.R located here. However, dates are not displaying in the correct format, meaning that the date filters do not work.

Screenshot of dates incorrectly rendered on latest version of Chrome: Screenshot 2021-11-17 at 14 02 16

I'm running the following package versions on R v4.0.5:

shiny 1.7.1
shiny.fluent 0.2.1
shiny.router 0.2.2

EDIT - Here's my full sessionInfo()

R version 4.0.5 (2021-03-31)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: macOS 12.0.1

Matrix products: default
LAPACK: /opt/homebrew/Caskroom/miniconda/base/envs/renv/lib/libopenblasp-r0.3.18.dylib

locale:
[1] en_GB.UTF-8/en_GB.UTF-8/en_GB.UTF-8/C/en_GB.UTF-8/en_GB.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] shiny.router_0.2.2 shiny.fluent_0.2.1 shiny_1.7.1        sass_0.4.0         plotly_4.10.0      leaflet_2.0.4.1    glue_1.5.0        
[8] ggplot2_3.3.5      dplyr_1.0.7       

loaded via a namespace (and not attached):
 [1] tidyselect_1.1.1        bslib_0.3.1             purrr_0.3.4             colorspace_2.0-2        vctrs_0.3.8            
 [6] generics_0.1.1          leaflet.providers_1.9.0 htmltools_0.5.2         viridisLite_0.4.0       yaml_2.2.1             
[11] utf8_1.2.2              rlang_0.4.12            later_1.3.0             pillar_1.6.4            jquerylib_0.1.4        
[16] withr_2.4.2             DBI_1.1.1               lifecycle_1.0.1         munsell_0.5.0           gtable_0.3.0           
[21] htmlwidgets_1.5.4       labeling_0.4.2          fastmap_1.1.0           httpuv_1.6.3            crosstalk_1.2.0        
[26] fansi_0.5.0             shiny.react_0.2.3       Rcpp_1.0.7              xtable_1.8-4            promises_1.2.0.1       
[31] scales_1.1.1            cachem_1.0.6            jsonlite_1.7.2          mime_0.12               digest_0.6.28          
[36] grid_4.0.5              cli_3.1.0               tools_4.0.5             magrittr_2.0.1          logger_0.2.2           
[41] lazyeval_0.2.2          tibble_3.1.6            crayon_1.4.2            tidyr_1.1.4             pkgconfig_2.0.3        
[46] ellipsis_0.3.2          data.table_1.14.2       rstudioapi_0.13         assertthat_0.2.1        httr_1.4.2             
[51] R6_2.5.1                compiler_4.0.5      

simon-tarr avatar Nov 17 '21 14:11 simon-tarr

Hello @simon-tarr, thanks for reaching out!

Does this happen only in Chrome or in other browsers as well?

I've checked the app on the same R version, clean renv with the same versions of shiny, shiny.fluent and dplyr, the same locale and it works fine in both Chrome and Brave. Does it still happen if you re-install shiny.fluent with all dependencies?

jakubsob avatar Nov 18 '21 13:11 jakubsob

Hi,

Very nice pack! However, I have the same problem. I tried to load the app in Mozilla and Brave, but the column date did not work.

All the best, Tom

TommasoCanc avatar Jun 04 '22 07:06 TommasoCanc