timelyportfolio / sunburstR

R htmlwidget for interactive sunburst plots
http://timelyportfolio.github.io/sunburstR/articles/sunburst-2-0-0.html
Other
210 stars 123 forks source link

sunburst example is not working #113

Open ManuelSpinola opened 2 years ago

ManuelSpinola commented 2 years ago

The sunburst example is not working.

sequences <- read.csv( system.file("examples/visit-sequences.csv",package="sunburstR") ,header = FALSE ,stringsAsFactors = FALSE )[1:100,]

sunburst(sequences)

Error in FUN(X[[i]], ...) : object 'xmin' not found In addition: Warning message: In min(data$rects$ymin) : no non-missing arguments to min; returning Inf

hammerPC commented 2 years ago

您好,信件我已收到,将会尽快回复。   王鹏超

timelyportfolio commented 2 years ago

@ManuelSpinola thanks for the report. Would it be possible to send your session info so that I can try to replicate? Thanks.

ManuelSpinola commented 2 years ago

Thank you very much.

sessionInfo() R version 4.2.0 (2022-04-22) Platform: x86_64-apple-darwin17.0 (64-bit) Running under: macOS Monterey 12.4

Matrix products: default LAPACK: /Library/Frameworks/R.framework/Versions/4.2/Resources/lib/libRlapack.dylib

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

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

other attached packages: [1] echarts4r_0.4.4 d3r_1.0.0 glue_1.6.2 [4] ggsunburst_0.3.0 reticulate_1.25 sunburstR_2.1.6 [7] forcats_0.5.1 stringr_1.4.0 dplyr_1.0.9 [10] purrr_0.3.4 readr_2.1.2 tidyr_1.2.0 [13] tibble_3.1.7 ggplot2_3.3.6 tidyverse_1.3.1

loaded via a namespace (and not attached): [1] Rcpp_1.0.8.3 lubridate_1.8.0 lattice_0.20-45 [4] png_0.1-7 assertthat_0.2.1 digest_0.6.29 [7] utf8_1.2.2 mime_0.12 R6_2.5.1 [10] cellranger_1.1.0 plyr_1.8.7 backports_1.4.1 [13] reprex_2.0.1 httr_1.4.3 pillar_1.7.0 [16] rlang_1.0.2 readxl_1.4.0 rstudioapi_0.13 [19] Matrix_1.4-1 htmlwidgets_1.5.4 munsell_0.5.0 [22] shiny_1.7.1 broom_0.8.0 compiler_4.2.0 [25] httpuv_1.6.5 modelr_0.1.8 xfun_0.31 [28] pkgconfig_2.0.3 htmltools_0.5.2 tidyselect_1.1.2 [31] fansi_1.0.3 later_1.3.0 crayon_1.5.1 [34] tzdb_0.3.0 dbplyr_2.2.0 withr_2.5.0 [37] grid_4.2.0 xtable_1.8-4 jsonlite_1.8.0 [40] gtable_0.3.0 lifecycle_1.0.1 DBI_1.1.2 [43] magrittr_2.0.3 scales_1.2.0 cli_3.3.0 [46] stringi_1.7.6 reshape2_1.4.4 promises_1.2.0.1 [49] fs_1.5.2 xml2_1.3.3 ellipsis_0.3.2 [52] generics_0.1.2 vctrs_0.4.1 tools_4.2.0 [55] hms_1.1.1 yaml_2.3.5 fastmap_1.1.0 [58] colorspace_2.0-3 rvest_1.0.2 knitr_1.39 [61] haven_2.5.0

El dom, 12 jun 2022 a las 19:21, timelyportfolio @.***>) escribió:

@ManuelSpinola https://github.com/ManuelSpinola thanks for the report. Would it be possible to send your session info so that I can try to replicate? Thanks.

— Reply to this email directly, view it on GitHub https://github.com/timelyportfolio/sunburstR/issues/113#issuecomment-1153356900, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFI3FB3UC4T2KETYMWE75QLVO2EIRANCNFSM5YP72TPQ . You are receiving this because you were mentioned.Message ID: @.***>

-- Manuel Spínola, Ph.D. Instituto Internacional en Conservación y Manejo de Vida Silvestre Universidad Nacional Apartado 1350-3000 Heredia COSTA RICA @. @.> @.*** Teléfono: (506) 8706 - 4662 Institutional website: ICOMVIS http://www.icomvis.una.ac.cr/index.php/manuel Blog sobre Ciencia de Datos: https://mspinola-ciencia-de-datos.netlify.app