Re: [R-pkg-devel] Is this an issue with the package submission?

2024-11-14 Thread Ivan Krylov via R-package-devel
В Thu, 14 Nov 2024 12:27:02 -0500 Shail Choksi пишет: > The process.txt here: > https://win-builder.r-project.org/incoming_pretest/ToxicR_24.10.1.4_20241113_200016/specialChecks/clang-san/process.txt > > gives an error. Is this a win-builder issue or a package issue? How > do I go about debuggin

[R-pkg-devel] Is this an issue with the package submission?

2024-11-14 Thread Shail Choksi
Hi, We submitted a package to CRAN here: https://win-builder.r-project.org/incoming_pretest/ToxicR_24.10.1.4_20241113_200016/ The process.txt here: https://win-builder.r-project.org/incoming_pretest/ToxicR_24.10.1.4_20241113_200016/specialChecks/clang-san/process.txt gives an error. Is this a wi

Re: [R-pkg-devel] Possible false negative for compiled C++ code in CRAN checks

2024-11-14 Thread Ivan Krylov via R-package-devel
В Thu, 14 Nov 2024 16:24:16 + Mauricio Vargas Sepulveda пишет: > After enabling the SAN flags, I cannot reproduce the gcc-san error > [2]. Can you use the rocker/r-devel-san container? It reproduces the problem for me. When reading galapagos/cg15.dic, FuzzyEntityParser::ParseEntities() keep

Re: [R-pkg-devel] New package with C++ code causes R abort in RStudio, not in R console.

2024-11-14 Thread Ivan Krylov via R-package-devel
В Thu, 14 Nov 2024 13:08:13 + Luc De Wilde пишет: > At last, with checking of the program with address sanitizer in > Visual Studio, I found an "off by 1 error" in my code. Now all tests > pass without problems in Rstudio. Congratulations on being able to solve the problem yourself! It took

Re: [R-pkg-devel] Possible false negative for compiled C++ code in CRAN checks

2024-11-14 Thread Dirk Eddelbuettel
On 14 November 2024 at 16:24, Mauricio Vargas Sepulveda wrote: | After enabling the SAN flags, I cannot reproduce the gcc-san error [2]. | | Should I report this as a false positive? No. Replicating ASAN/UBSAN issues is known to be potentially tricky. It drove me so batty a decade ago that I

Re: [R-pkg-devel] Possible false negative for compiled C++ code in CRAN checks

2024-11-14 Thread Mauricio Vargas Sepulveda
Dear R Developers, I hope you are doing well. I managed to create an image that mimic CRAN checks [1]. After enabling the SAN flags, I cannot reproduce the gcc-san error [2]. Should I report this as a false positive? Links 1. https://github.com/r-hub/containers/pull/81/files 2. https://win-b

Re: [R-pkg-devel] New package with C++ code causes R abort in RStudio, not in R console.

2024-11-14 Thread Luc De Wilde
At last, with checking of the program with address sanitizer in Visual Studio, I found an "off by 1 error" in my code. Now all tests pass without problems in Rstudio. Thank you very much, Ivan, for helping me with this - new to me - issues! Luc Van: Iva

Re: [R-pkg-devel] New package with C++ code causes R abort in RStudio, not in R console.

2024-11-14 Thread Luc De Wilde
After some corrections (initialization of pointer vars in some structs/classes) I still get the problem in Rstudio, aborting the R process. This is the dump in Dr.Mingw: rsession-utf8.exe caused an Unknown [0xC374] Exception at location 7FF96FD68215 in module ntdll.dll. AddrPC

Re: [R-pkg-devel] Closing a display window from a program

2024-11-14 Thread Simon Urbanek
John, does it have to be PDF? Unfortunately, PDF is not easy to deal with in platform-independent way (and generally as well - of all the systems only macOS has native support for it). If you really have no other choice, my only suggestion would be to use poppler to render it so it can be displ