bs4DashGallery() does not work for me
PhilippPro opened this issue · 7 comments
> bs4DashGallery()
Lade nötigen Namensraum: thematic
Lade nötigen Namensraum: waiter
Lade nötiges Paket: shiny
Attache Paket: ‘shiny’
Die folgenden Objekte sind maskiert von ‘package:bs4Dash’:
actionButton, column, insertTab, navbarMenu, tabsetPanel
Error in buildTabset(..., ulClass = paste0("nav nav-", type), id = id, :
Tabs should all be unnamed arguments, but some are named: vertical
Seeing the same, on a fresh install of bs4Dash
, both the CRAN and dev version.
Could you try bs4Dash::bs4DashGallery()
? I'll check why this issue appears.
I installed newest github Version and it works now.
Confirmed that bs4Dash::bs4DashGallery()
works, but not the example in the readme:
library(bs4Dash)
bs4DashGallery()
```
including on the latest version from github.
Correction. When calling with ::
, the error does not appear, but the showcase stays stuck on the "Loading" screen.
Update: It is a dependency problem. Some libraries in the below list needed to be updated. I updated all and both approaches work now:
sys (3.4.1 -> 3.4.2 ) [CRAN]
askpass (1.1 -> 1.2.0 ) [CRAN]
digest (0.6.31 -> 0.6.33) [CRAN]
htmltools (0.5.5 -> 0.5.6 ) [CRAN]
fs (1.6.2 -> 1.6.3 ) [CRAN]
Rcpp (1.0.10 -> 1.0.11) [CRAN]
sass (0.4.6 -> 0.4.7 ) [CRAN]
bslib (0.4.2 -> 0.5.1 ) [CRAN]
withr (2.5.0 -> 2.5.1 ) [CRAN]
promises (1.2.0.1 -> 1.2.1 ) [CRAN]
fontawesome (0.5.1 -> 0.5.2 ) [CRAN]
jsonlite (1.8.4 -> 1.8.7 ) [CRAN]
httpuv (1.6.9 -> 1.6.11) [CRAN]
openssl (2.0.6 -> 2.1.1 ) [CRAN]
curl (5.0.0 -> 5.0.2 ) [CRAN]
shiny (1.7.4 -> 1.7.5 ) [CRAN]
rstudioapi (0.14 -> 0.15.0) [CRAN]
httr (1.4.5 -> 1.4.7 ) [CRAN]
Hello,
I have the same error in windows. I tried with bs4Dash:: prefix and installing with cran and devtools. Neither work.
Finally, loading in first place shiny, work OK.
library(shiny) # this line is important
library(bs4Dash)
bs4DashGallery()
With this line, it works ok with the CRAN version on Ubuntu 22.04 R 4.3.2 ARM64 and Windows 11 R 4.3.2 x86_64, with this sessionInfo():
R version 4.3.2 (2023-10-31)
Platform: aarch64-unknown-linux-gnu (64-bit)
Running under: Ubuntu 22.04.3 LTS
Matrix products: default
BLAS: /usr/lib/aarch64-linux-gnu/blas/libblas.so.3.10.0
LAPACK: /usr/lib/aarch64-linux-gnu/lapack/liblapack.so.3.10.0
locale:
[1] LC_CTYPE=C.UTF-8 LC_NUMERIC=C
[3] LC_TIME=C.UTF-8 LC_COLLATE=C.UTF-8
[5] LC_MONETARY=C.UTF-8 LC_MESSAGES=C.UTF-8
[7] LC_PAPER=C.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=C.UTF-8 LC_IDENTIFICATION=C
time zone: Europe/Madrid
tzcode source: system (glibc)
attached base packages:
[1] stats graphics grDevices utils datasets methods
[7] base
other attached packages:
[1] waiter_0.2.5 thematic_0.1.4 bs4Dash_2.3.0 shiny_1.7.5.1
loaded via a namespace (and not attached):
[1] sass_0.4.7 utf8_1.2.4 generics_0.1.3
[4] lattice_0.22-5 digest_0.6.33 magrittr_2.0.3
[7] evaluate_0.23 grid_4.3.2 fastmap_1.1.1
[10] jsonlite_1.8.7 promises_1.2.1 fansi_1.0.5
[13] scales_1.2.1 textshaping_0.3.7 jquerylib_0.1.4
[16] cli_3.6.1 rlang_1.1.2 ellipsis_0.3.2
[19] munsell_0.5.0 withr_2.5.2 cachem_1.0.8
[22] yaml_2.3.7 tools_4.3.2 memoise_2.0.1
[25] dplyr_1.1.3 colorspace_2.1-0 ggplot2_3.4.4
[28] httpuv_1.6.12 vctrs_0.6.4 R6_2.5.1
[31] mime_0.12 lifecycle_1.0.4 fs_1.6.3
[34] ragg_1.2.6 fontawesome_0.5.2 pkgconfig_2.0.3
[37] pillar_1.9.0 bslib_0.5.1 later_1.3.1
[40] gtable_0.3.4 glue_1.6.2 Rcpp_1.0.11
[43] systemfonts_1.0.5 xfun_0.41 tibble_3.2.1
[46] tidyselect_1.2.0 rstudioapi_0.15.0 knitr_1.45
[49] farver_2.1.1 xtable_1.8-4 htmltools_0.5.7
[52] rmarkdown_2.25 compiler_4.3.2