lineupjs / lineup_htmlwidget

HTMLWidget wrapper of LineUp for Visual Analysis of Multi-Attribute Rankings
https://lineup.js.org
Other
54 stars 9 forks source link

unsupported browser detected #18

Closed DmtrBbnk closed 2 years ago

DmtrBbnk commented 2 years ago

Hello Samuel Gratzl, I am very interested in lineup_htmlwidget -- thank you! But when I tried to use it I've got an error: unsupported browser detected use the ignoreUnsupportedBrowser=true option to ignore this error at your own risk I used this options -- lineup(iris, options = c(list(ignoreUnsupportedBrowser = TRUE))) -- but nothing happened.

my sessionInfo is: R version 4.2.1 (2022-06-23 ucrt) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 22000)

Matrix products: default

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

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

other attached packages: [1] lineupjs_4.3.0 BiocManager_1.30.18

loaded via a namespace (and not attached): [1] Rcpp_1.0.9.1 pillar_1.8.1 compiler_4.2.1
[4] later_1.3.0 tools_4.2.1 digest_0.6.29
[7] jsonlite_1.8.0 lifecycle_1.0.2 tibble_3.1.8
[10] gtable_0.3.1 pkgconfig_2.0.3 rlang_1.0.5
[13] shiny_1.7.2 cli_3.3.0 rstudioapi_0.14
[16] crosstalk_1.2.0 yaml_2.3.5 fastmap_1.1.0
[19] dplyr_1.0.99.9000 generics_0.1.3 vctrs_0.4.1.9000
[22] htmlwidgets_1.5.4 grid_4.2.1 tidyselect_1.1.2.9000 [25] glue_1.6.2 R6_2.5.1 fansi_1.0.3
[28] ggplot2_3.3.6.9000 magrittr_2.0.3 scales_1.2.1
[31] promises_1.2.0.1 htmltools_0.5.3 ellipsis_0.3.2
[34] mime_0.12 colorspace_2.0-3 xtable_1.8-4
[37] httpuv_1.6.5 utf8_1.2.2 munsell_0.5.0

DmtrBbnk commented 2 years ago

Error appeared while I installed with remotes::install_github(). It works after installing with install.packages()

sgratzl commented 2 years ago

yes this repository is currently not intended to be installed directly from the repository. It needs some JavaScript dependencies, that are not installed when using install_github. However, the CRAN version is up to date