Skip to content

Running ripsDiag with maxdimension = 0 causes Rstudio to crash #39

@HarpethLee

Description

@HarpethLee

Running the following code causes Rstudio to crash

test_matrix <- circleUnif(100) ripsDiag(test_matrix, 0, 1)

I have had this problem with every matrix I have run the function with when maxdimension = 0. The ripsDiag function works fine for other values of maxdimension.

Below is the session info when this crash occured.

`R version 4.0.5 (2021-03-31)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Mojave 10.14.6

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.0/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 methods base

other attached packages:
[1] gt_0.2.2 rmarkdown_2.6 knitr_1.30 palmerpenguins_0.1.0 here_1.0.1
[6] forcats_0.5.1 stringr_1.4.0 dplyr_1.0.5 purrr_0.3.4 readr_1.4.0
[11] tidyr_1.1.3 tibble_3.1.1 tidyverse_1.3.0 plotly_4.9.3 ggplot2_3.3.3
[16] TDA_1.7.7

loaded via a namespace (and not attached):
[1] Rcpp_1.0.6 lubridate_1.7.10 rprojroot_2.0.2 assertthat_0.2.1 digest_0.6.27 utf8_1.2.1
[7] R6_2.5.0 cellranger_1.1.0 backports_1.2.1 reprex_1.0.0 evaluate_0.14 highr_0.8
[13] httr_1.4.2 pillar_1.6.0 rlang_0.4.10 lazyeval_0.2.2 readxl_1.3.1 rstudioapi_0.13
[19] data.table_1.14.0 checkmate_2.0.0 labeling_0.4.2 htmlwidgets_1.5.3 munsell_0.5.0 broom_0.7.4
[25] compiler_4.0.5 modelr_0.1.8 xfun_0.20 pkgconfig_2.0.3 htmltools_0.5.1.1 downlit_0.2.1
[31] tidyselect_1.1.0 fansi_0.4.2 viridisLite_0.3.0 crayon_1.4.1 dbplyr_2.1.0 withr_2.4.1
[37] grid_4.0.5 jsonlite_1.7.2 gtable_0.3.0 lifecycle_1.0.0 DBI_1.1.1 magrittr_2.0.1
[43] scales_1.1.1 cli_2.5.0 stringi_1.5.3 farver_2.0.3 fs_1.5.0 xml2_1.3.2
[49] ellipsis_0.3.1 generics_0.1.0 vctrs_0.3.7 distill_1.2 tools_4.0.5 glue_1.4.2
[55] hms_1.0.0 crosstalk_1.1.1 yaml_2.2.1 colorspace_2.0-0 rvest_1.0.0 haven_2.3.1
[61] sass_0.3.1`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions