jokergoo / InteractiveComplexHeatmap

Make Interactive Complex Heatmaps
https://jokergoo.github.io/InteractiveComplexHeatmap/
Other
126 stars 23 forks source link

Having trouble running htShinyExample() #79

Closed mritchie closed 2 years ago

mritchie commented 2 years ago

I am trying to run some of the examples provided, but have encountered an issue that I wanted to ask about (probably unrelated to your package - I tried updating to a newer version of fontawesome from GitHub (0.2.2.9000) but got the same message). Thanks in advance for your help!

suppressPackageStartupMessages(library(ComplexHeatmap)) library(InteractiveComplexHeatmap) htShinyExample(2.1) Processing the heatmaps. It takes different time depending on examples... Loading required package: shiny

Listening on http://127.0.0.1:6159 Warning: Error in value[[3L]]: Couldn't normalize path in addResourcePath, with arguments: prefix = 'fontawesome-5.13.0'; directoryPath = '' [No stack trace available]

sessionInfo() R version 4.1.1 (2021-08-10) Platform: x86_64-pc-linux-gnu (64-bit) Running under: CentOS Linux 7 (Core)

Matrix products: default BLAS: /stornext/System/data/apps/R/R-4.1.1/lib64/R/lib/libRblas.so LAPACK: /stornext/System/data/apps/R/R-4.1.1/lib64/R/lib/libRlapack.so

locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C

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

other attached packages: [1] shiny_1.7.1 InteractiveComplexHeatmap_1.0.0 ComplexHeatmap_2.8.0

loaded via a namespace (and not attached): [1] circlize_0.4.13 shape_1.4.6 bslib_0.3.1 clisymbols_1.2.0 GetoptLong_1.0.5 xfun_0.26 colorspace_2.0-2 htmltools_0.5.2
[9] stats4_4.1.1 viridisLite_0.4.0 rlang_0.4.11 jquerylib_0.1.4 later_1.3.0 glue_1.4.2 BiocGenerics_0.38.0 RColorBrewer_1.1-2 [17] matrixStats_0.61.0 foreach_1.5.1 lifecycle_1.0.1 stringr_1.4.0 munsell_0.5.0 fontawesome_0.2.2 rvest_1.0.1 GlobalOptions_0.1.2 [25] codetools_0.2-18 kableExtra_1.3.4 evaluate_0.14 knitr_1.36 IRanges_2.26.0 fastmap_1.1.0 Cairo_1.5-12.2 doParallel_1.0.16
[33] httpuv_1.6.3 parallel_4.1.1 Rcpp_1.0.7 xtable_1.8-4 promises_1.2.0.1 scales_1.1.1 cachem_1.0.6 S4Vectors_0.30.2
[41] webshot_0.5.2 jsonlite_1.7.2 mime_0.12 systemfonts_1.0.2 rjson_0.2.20 png_0.1-7 digest_0.6.28 stringi_1.7.5
[49] clue_0.3-60 tools_4.1.1 sass_0.4.0 magrittr_2.0.1 cluster_2.1.2 crayon_1.4.1 ellipsis_0.3.2 xml2_1.3.2
[57] rmarkdown_2.11 svglite_2.0.0 httr_1.4.2 rstudioapi_0.13 iterators_1.0.13 R6_2.5.1 compiler_4.1.1

jokergoo commented 2 years ago

That bug has been fixed. Please install the version from GitHub:

library(devtools)
install_github("jokergoo/InteractiveComplexHeatmap")
mritchie commented 2 years ago

Awesome - thank you!