RinteRface / shinydashboardPlus

extensions for shinydashboard
https://shinydashboardplus.rinterface.com
Other
454 stars 77 forks source link

Basic example doesn't work. #126

Closed williamlai2 closed 3 years ago

williamlai2 commented 3 years ago

I tried to run the basic example code from: https://rinterface.github.io/shinydashboardPlus/articles/shinydashboardPlus.html

I got this message:

Error in dashboardPage(options = list(sidebarExpandOnHover = TRUE), header = dashboardHeader(), : unused arguments (options = list(sidebarExpandOnHover = TRUE), controlbar = dashboardControlbar())

> xfun::session_info("shinydashboardPlus")
R version 4.0.3 (2020-10-10)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 18.04.5 LTS, RStudio 1.2.5033

Locale:
  LC_CTYPE=C.UTF-8       LC_NUMERIC=C           LC_TIME=C.UTF-8        LC_COLLATE=C.UTF-8     LC_MONETARY=C.UTF-8    LC_MESSAGES=C.UTF-8   
  LC_PAPER=C.UTF-8       LC_NAME=C              LC_ADDRESS=C           LC_TELEPHONE=C         LC_MEASUREMENT=C.UTF-8 LC_IDENTIFICATION=C   

Package version:
  base64enc_0.1.3          BH_1.75.0.0              bslib_0.2.4              cachem_1.0.4             commonmark_1.7           crayon_1.4.1            
  digest_0.6.27            ellipsis_0.3.1           fastmap_1.1.0            fresh_0.2.0              fs_1.5.0                 glue_1.4.2              
  graphics_4.0.3           grDevices_4.0.3          htmltools_0.5.1.1        httpuv_1.5.5             jquerylib_0.1.3          jsonlite_1.7.2          
  later_1.1.0.1            lifecycle_1.0.0          magrittr_2.0.1           methods_4.0.3            mime_0.10                promises_1.2.0.1        
  R6_2.5.0                 rappdirs_0.3.3           Rcpp_1.0.6               rlang_0.4.10             rstudioapi_0.13          sass_0.3.1              
  shiny_1.6.0              shinydashboard_0.7.1     shinydashboardPlus_2.0.0 sourcetools_0.1.7        stats_4.0.3              tools_4.0.3             
  utils_4.0.3              waiter_0.2.0             withr_2.4.1              xtable_1.8.4            
williamlai2 commented 3 years ago

Seems to work now. Perhaps a restart of RStudio after installing the packages fixed it. No changes otherwise.