Dear R packages developers, I am the maintainer of the package spNetwork. It has been removed from CRAN recently because of an issue with the new compiler clang19. The error came from one of the dependencies: the package BH giving access to the boost c++ library (https://github.com/eddelbuettel/bh/issues/101).
The boost code has been updated since and I had no choice to include it directly in my own package and remove the dependency to BH because its maintainer does not plan a new release before december 2024. However, there is a new error when I submit the package to CRAN (ubuntu with clang19). The full report is here : https://win-builder.r-project.org/incoming_pretest/spNetwork_0.4.4.4_20241026_034629/specialChecks/clang19/package/00install.out The error occurred during the installation of the package, and the message is not very helpful : *** caught segfault *** address (nil), cause 'unknown' It seems that the error is happening when loading a c++ module of my package Traceback: 1: Module(module, mustStart = TRUE, where = env) 2: doTryCatch(return(expr), name, parentenv, handler) 3: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 4: tryCatchList(expr, classes, parentenv, handlers) 5: tryCatch(Module(module, mustStart = TRUE, where = env), error = function(e) e) 6: loadModule(module = "spatial_index_cpp", what = TRUE, env = ns, loadNow = TRUE) It is rather strange because I have not edited this module since the last version and the package is installing correctly on other platforms. I also tried to validate it with rhub and it worked well even with ubuntu and clang19 : https://github.com/JeremyGelb/spNetwork/actions/runs/11527593888/job/32093568292 Does someone have an idea about what could be causing this error during the installation ? Any help would be highly appreciated. I have a specific branch in gihtub for this issue : https://github.com/JeremyGelb/spNetwork/tree/refs/heads/CRAN-v4. All the best -- *Jérémy GELB* Conseiller en gestion et analyse de données à l'ARTM Docteur en Études Urbaines 438 389 6398 gelbjerem...@gmail.com [[alternative HTML version deleted]] ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel