*** caught segfault *** Again!

I am trying to install {tmap} and am getting a caught segfault error. See code below.

I had this problem before with {rnaturalearth} and members here solved it for me Earlier "caught segfault" problem

It seems I only get a segfault problem with mapping packages.

I do not think I have made any significant changes to my system since then. I would appreciate any suggestions.

*** caught segfault ***
address 0x55dc6439b5b7, cause 'memory not mapped'
An irrecoverable exception occurred. R is aborting now ...
Segmentation fault (core dumped)
ERROR: lazy loading failed for package ‘tmaptools’
* removing ‘/home/john/R/x86_64-pc-linux-gnu-library/4.2/tmaptools’
Warning in install.packages :
  installation of package ‘tmaptools’ had non-zero exit status
ERROR: dependency ‘tmaptools’ is not available for package ‘tmap’
* removing ‘/home/john/R/x86_64-pc-linux-gnu-library/4.2/tmap’
Warning in install.packages :
  installation of package ‘tmap’ had non-zero exit status

R version 4.2.2 Patched (2022-11-10 r83330)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 22.04.2 LTS

Matrix products: default
BLAS:   /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.10.0
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.10.0

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

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

loaded via a namespace (and not attached):
 [1] compiler_4.2.2   pryr_0.1.6       magrittr_2.0.3   lobstr_1.1.2     cli_3.6.0        tools_4.2.2     
 [7] glue_1.6.2       rstudioapi_0.14  Rcpp_1.0.10      stringi_1.7.12   codetools_0.2-19 stringr_1.5.0   
[13] lifecycle_1.0.3  rlang_1.0.6     

This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.