CellChat icon indicating copy to clipboard operation
CellChat copied to clipboard

Error when trying to runCellChatApp

Open ronfinn opened this issue 1 year ago • 0 comments

Hi there,

I am trying to follow the tutorial on [https://htmlpreview.github.io/?https://github.com/jinworks/CellChat/blob/master/tutorial/CellChat-vignette.html]

I get to the final runCellChatApp(cellchat)

and I get the following error

 runCellChatApp(cellchat)
Error in `dots_list()`:
! Argument 4 can't be empty.
Run `rlang::last_trace()` to see where the error occurred.
> rlang::last_trace()
<error/rlang_error>
Error in `dots_list()`:
! Argument 4 can't be empty.

Backtrace:
    ▆
 1. ├─CellChat::runCellChatApp(cellchat)
 2. │ └─bslib::page_fluid(...)
 3. │   ├─bslib:::as_page(...)
 4. │   └─shiny::fluidPage(...)
 5. │     ├─shiny::bootstrapPage(...)
 6. │     │ └─rlang::list2(...)
 7. │     └─htmltools::div(class = "container-fluid", ...)
 8. │       └─rlang::dots_list(...)
 9. └─rlang::abort(message = message)

Do you have any suggestions on how I fix this error? I am having no luck.

Thanks in advance for the great package!

> sessionInfo()
R version 4.3.1 (2023-06-16)
Platform: x86_64-apple-darwin20 (64-bit)
Running under: macOS Monterey 12.7.3

Matrix products: default
BLAS:   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib 
LAPACK: /Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/lib/libRlapack.dylib;  LAPACK version 3.11.0

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

time zone: Europe/London
tzcode source: internal

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

other attached packages:
[1] shiny_1.8.0         rlang_1.1.3         bslib_0.6.1        
[4] CellChat_2.1.2      ggplot2_3.5.0       igraph_2.0.2       
[7] dplyr_1.1.4         Biobase_2.62.0      BiocGenerics_0.48.1

loaded via a namespace (and not attached):
  [1] RcppAnnoy_0.0.22       splines_4.3.1          later_1.3.2           
  [4] tibble_3.2.1           polyclip_1.10-6        ggnetwork_0.5.12      
  [7] fastDummies_1.7.3      lifecycle_1.0.4        rstatix_0.7.2         
 [10] doParallel_1.0.17      globals_0.16.2         lattice_0.22-5        
 [13] MASS_7.3-60.0.1        backports_1.4.1        magrittr_2.0.3        
 [16] plotly_4.10.4          sass_0.4.8             yaml_2.3.8            
 [19] jquerylib_0.1.4        httpuv_1.6.14          Seurat_5.0.2          
 [22] NMF_0.26               sctransform_0.4.1      spam_2.10-0           
 [25] sp_2.1-3               spatstat.sparse_3.0-3  reticulate_1.35.0     
 [28] cowplot_1.1.3          pbapply_1.7-2          RColorBrewer_1.1-3    
 [31] abind_1.4-5            Rtsne_0.17             purrr_1.0.2           
 [34] presto_1.0.0           circlize_0.4.16        IRanges_2.36.0        
 [37] S4Vectors_0.40.2       ggrepel_0.9.5          irlba_2.3.5.1         
 [40] listenv_0.9.1          spatstat.utils_3.0-4   goftest_1.2-3         
 [43] RSpectra_0.16-1        spatstat.random_3.2-3  fitdistrplus_1.1-11   
 [46] parallelly_1.37.1      svglite_2.1.3          leiden_0.4.3.1        
 [49] codetools_0.2-19       tidyselect_1.2.0       shape_1.4.6.1         
 [52] farver_2.1.1           matrixStats_1.2.0      stats4_4.3.1          
 [55] spatstat.explore_3.2-6 jsonlite_1.8.8         GetoptLong_1.0.5      
 [58] BiocNeighbors_1.20.0   ellipsis_0.3.2         progressr_0.14.0      
 [61] ggridges_0.5.6         ggalluvial_0.12.5      survival_3.5-7        
 [64] iterators_1.0.14       systemfonts_1.0.5      foreach_1.5.2         
 [67] tools_4.3.1            sna_2.7-2              ica_1.0-3             
 [70] Rcpp_1.0.12            glue_1.7.0             gridExtra_2.3         
 [73] withr_3.0.0            BiocManager_1.30.22    fastmap_1.1.1         
 [76] fansi_1.0.6            digest_0.6.34          R6_2.5.1              
 [79] mime_0.12              colorspace_2.1-0       scattermore_1.2       
 [82] tensor_1.5             spatstat.data_3.0-4    utf8_1.2.4            
 [85] tidyr_1.3.1            generics_0.1.3         data.table_1.15.2     
 [88] FNN_1.1.4              httr_1.4.7             htmlwidgets_1.6.4     
 [91] uwot_0.1.16            pkgconfig_2.0.3        gtable_0.3.4          
 [94] registry_0.5-1         ComplexHeatmap_2.15.4  lmtest_0.9-40         
 [97] htmltools_0.5.7        carData_3.0-5          dotCall64_1.1-1       
[100] clue_0.3-65            SeuratObject_5.0.1     scales_1.3.0          
[103] tidyverse_2.0.0        png_0.1-8              rstudioapi_0.15.0     
[106] reshape2_1.4.4         rjson_0.2.21           coda_0.19-4.1         
[109] statnet.common_4.9.0   nlme_3.1-164           cachem_1.0.8          
[112] zoo_1.8-12             GlobalOptions_0.1.2    stringr_1.5.1         
[115] KernSmooth_2.23-22     parallel_4.3.1         miniUI_0.1.1.1        
[118] pillar_1.9.0           grid_4.3.1             vctrs_0.6.5           
[121] RANN_2.6.1             promises_1.2.1         ggpubr_0.6.0          
[124] car_3.1-2              xtable_1.8-4           cluster_2.1.6         
[127] cli_3.6.2              compiler_4.3.1         crayon_1.5.2          
[130] rngtools_1.5.2         future.apply_1.11.1    ggsignif_0.6.4        
[133] plyr_1.8.9             stringi_1.8.3          viridisLite_0.4.2     
[136] network_1.18.2         deldir_2.0-4           gridBase_0.4-7        
[139] BiocParallel_1.36.0    munsell_0.5.0          lazyeval_0.2.2        
[142] spatstat.geom_3.2-9    Matrix_1.6-5           RcppHNSW_0.6.0        
[145] patchwork_1.2.0        future_1.33.1          ROCR_1.0-11           
[148] bsicons_0.1.2          memoise_2.0.1          broom_1.0.5 

ronfinn avatar Mar 08 '24 16:03 ronfinn