bcgov / CCISS_ShinyApp

CCISS RMD knitr report graphics and Shiny App
Apache License 2.0
16 stars 3 forks source link

Unable to build app with current package versions #71

Closed CeresBarros closed 7 months ago

CeresBarros commented 8 months ago

Tried to run shiny::runApp and I'm getting the following error:

> shiny::runApp("./app")

Listening on http://127.0.0.1:7059
Warning: Error in $: $ operator is invalid for atomic vectors
  90: FUN
  89: lapply
  88: accordion
   1: shiny::runApp

using debugonce(accordion) shows that the items object doesn't have the expected list structure or names.

perhaps this is related to changes in current package versions?

here's my sessionInfo:

 > sessionInfo()
R version 4.3.1 (2023-06-16 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19045)

Matrix products: default

locale:
[1] LC_COLLATE=English_United Kingdom.utf8  LC_CTYPE=English_United Kingdom.utf8   
[3] LC_MONETARY=English_United Kingdom.utf8 LC_NUMERIC=C                           
[5] LC_TIME=English_United Kingdom.utf8    

time zone: America/Vancouver
tzcode source: internal

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

other attached packages:
 [1] ccissdev_1.0.0.9990      shinydashboardPlus_2.0.3 shinyWidgets_0.8.2      
 [4] rhandsontable_0.3.8      rAmCharts4_1.6.0         prompter_1.1.0          
 [7] pool_1.0.3               plotly_4.10.4            leaflet_2.2.1           
[10] kableExtra_1.4.0         ggthemes_5.1.0           ggplot2_3.5.0           
[13] colourvalues_0.3.9       ccissr_1.0.0.9990        Rcpp_1.0.12             
[16] data.table_1.15.2        bslib_0.6.1              RPostgres_1.4.6         
[19] DT_0.32                  shiny_1.8.0             

loaded via a namespace (and not attached):
 [1] DBI_1.2.2            remotes_2.4.2.1      rlang_1.1.3          magrittr_2.0.3      
 [5] shinydashboard_0.7.2 matrixStats_1.2.0    compiler_4.3.1       callr_3.7.5         
 [9] systemfonts_1.0.6    vctrs_0.6.5          stringr_1.5.1        profvis_0.3.8       
[13] pkgconfig_2.0.3      crayon_1.5.2         fastmap_1.1.1        ellipsis_0.3.2      
[17] fontawesome_0.5.2    utf8_1.2.4           promises_1.2.1       rmarkdown_2.26      
[21] sessioninfo_1.2.2    ps_1.7.6             nloptr_2.0.3         purrr_1.0.2         
[25] bit_4.0.5            xfun_0.42            cachem_1.0.8         jsonlite_1.8.8      
[29] blob_1.2.4           later_1.3.2          parallel_4.3.1       R6_2.5.1            
[33] stringi_1.8.3        Require_0.3.1        pkgload_1.3.4        lubridate_1.9.3     
[37] jquerylib_0.1.4      iterators_1.0.14     knitr_1.45           usethis_2.2.3       
[41] analogsea_1.0.7.2    base64enc_0.1-3      httpuv_1.6.14        timechange_0.3.0    
[45] tidyselect_1.2.1     rstudioapi_0.15.0    yaml_2.3.8           codetools_0.2-19    
[49] minpack.lm_1.2-4     miniUI_0.1.1.1       processx_3.8.3       curl_5.2.1          
[53] pkgbuild_1.4.3       tibble_3.2.1         withr_3.0.0          evaluate_0.23       
[57] desc_1.4.3           urlchecker_1.0.1     xml2_1.3.6           pillar_1.9.0        
[61] rsconnect_1.2.0      foreach_1.5.2        generics_0.1.3       hms_1.1.3           
[65] munsell_0.5.0        scales_1.3.0         xtable_1.8-4         glue_1.7.0          
[69] lazyeval_0.2.2       tools_4.3.1          fs_1.6.3             grid_4.3.1          
[73] tidyr_1.3.1          crosstalk_1.2.1      devtools_2.4.5       colorspace_2.1-0    
[77] cli_3.6.2            fansi_1.0.6          viridisLite_0.4.2    svglite_2.1.3       
[81] dplyr_1.1.4          gtable_0.3.4         reactR_0.5.0         sass_0.4.8          
[85] digest_0.6.35        htmlwidgets_1.6.4    memoise_2.0.1        htmltools_0.5.7     
[89] lifecycle_1.0.4      httr_1.4.7           mime_0.12            bit64_4.0.5
CeresBarros commented 7 months ago

fixed in 5e44ba6897b4a3878c95b60742a63c14133c7eb4