Browser Version: Version 97.0.4692.71 (Official Build) built on Debian 11.2, running on Debian 11.2 (64-bit)
Output of sessionInfo():
R version 4.0.4 (2021-02-15)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Debian GNU/Linux 11 (bullseye)
Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3
LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.13.so
Random number generation:
RNG: Mersenne-Twister
Normal: Inversion
Sample: Rounding
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] htmlwidgets_1.5.3 compiler_4.0.4 magrittr_2.0.1 R6_2.5.0
[5] leaflet_2.0.4.1 htmltools_0.5.1.1 crosstalk_1.1.1 digest_0.6.27
[9] rlang_0.4.10
Example application or steps to reproduce the problem
```R
library(shiny)
ui <- fluidPage(sliderInput(
inputId = "range",
label = "Range",
min = as.Date("2021-01-01"),
max = as.Date("2021-12-31"),
value = c(as.Date("2021-02-02"), as.Date("2021-03-03"))
))
server <- function(input, output, session) {}
shinyApp(ui, server)
```
### Describe the problem in detail
Running this in R on my local machine doesn't display the slider, just the label and an empty text entry box. However, if I split this file up in to ui.R and server.R and run it on shinyapps.io then it runs just fine, so the code seems fine, and I think there is something wrong with the R packages on the local machine. The versions of the libraries seem the same between the local machine and shinyapps.io.
If I look at the javascript in the browser, then the non-working copy seems to have no javascript in the `
` section between `::before` and `
`, I've pasted the two versions below.
Don't know whether this is a bug in shiny or something else, any advice appreciated.
working version:
```
Closing this, as this seems to be a problem specific to the debian version of shiny - if I remove the debian version and install shiny via install.packages() then everything seems to work fine...
Closing this, as this seems to be a problem specific to the debian version of shiny - if I remove the debian version and install shiny via install.packages() then everything seems to work fine...
After many hours back and forth on windows and ubuntu, this actually worked for me. Thanks
System details
Browser Version: Version 97.0.4692.71 (Official Build) built on Debian 11.2, running on Debian 11.2 (64-bit)
Output of
sessionInfo()
:Example application or steps to reproduce the problem
```R library(shiny) ui <- fluidPage(sliderInput( inputId = "range", label = "Range", min = as.Date("2021-01-01"), max = as.Date("2021-12-31"), value = c(as.Date("2021-02-02"), as.Date("2021-03-03")) )) server <- function(input, output, session) {} shinyApp(ui, server) ``` ### Describe the problem in detail Running this in R on my local machine doesn't display the slider, just the label and an empty text entry box. However, if I split this file up in to ui.R and server.R and run it on shinyapps.io then it runs just fine, so the code seems fine, and I think there is something wrong with the R packages on the local machine. The versions of the libraries seem the same between the local machine and shinyapps.io. If I look at the javascript in the browser, then the non-working copy seems to have no javascript in the `This works locally on my setup both in viewer and the Firefox and Chromium. Nothing stands out except I have shiny in namespace.
`R version 4.1.0 (2021-05-18) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Pop!_OS 21.10
Matrix products: default BLAS: /usr/local/lib/R/lib/libRblas.so LAPACK: /usr/local/lib/R/lib/libRlapack.so
locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages: [1] stats graphics grDevices utils datasets methods base
other attached packages: [1] shiny_1.7.1
loaded via a namespace (and not attached): [1] Rcpp_1.0.8 digest_0.6.29 later_1.3.0 mime_0.12
[5] R6_2.5.1 jsonlite_1.7.2 lifecycle_1.0.1 xtable_1.8-4
[9] magrittr_2.0.1 cachem_1.0.6 rlang_0.4.12 promises_1.2.0.1 [13] jquerylib_0.1.4 bslib_0.3.1 ellipsis_0.3.2 tools_4.1.0
[17] rsconnect_0.8.25 httpuv_1.6.5 fastmap_1.1.0 compiler_4.1.0
[21] htmltools_0.5.2 sass_0.4.0`
PopOS is a System76-tuned Ubuntu derivative.
Closing this, as this seems to be a problem specific to the debian version of shiny - if I remove the debian version and install shiny via install.packages() then everything seems to work fine...
After many hours back and forth on windows and ubuntu, this actually worked for me. Thanks