[R-pkg-devel] Found the following HTML validation problems: in R CMD check --as-cran

2024-11-11 Thread Spencer Graves
Hello, All: In running "R CMD check --as-cran Ecfun_0.3-5.tar.gz" on my local macOS 15.0.1 system, 00check.log contains "Found the following HTML validation problems:" followed by 501 lines like the following: Arrows.html:15:44 (Arrows.Rd:3): Error: is not recognized! Arrows.html:15:44

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

2024-11-11 Thread Mauricio Vargas Sepulveda
The issue persists, and I really appreciate the help. The last comment in Stack Overflow (https://stackoverflow.com/questions/79171799/addresssanitizer-error-alloc-dealloc-mismatch-operator-new-vs-free-in-r-packa?noredirect=1#comment139621299_79171799) suggests a false positive, and if that is t

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

2024-11-11 Thread Mauricio Vargas Sepulveda
Dear Prof. Dr. Ivan Krylov, I hope you are doing well. Thanks for your prompt reply. I shall try to implement a fix and resumit based on this. It is a valuable suggestion. —— Mauricio "Pachá" Vargas Sepúlveda PhD Student, Political Science University of Toronto ___

Re: [R-pkg-devel] Creating temporary files in tests/examples/vignettes - adhering to CRAN policies

2024-11-11 Thread Daniel Kelley
I think the idea is to do as below. You can also make temporary directories in a similar way. tempFile <- tempfile() # write to tempFile, and use it anyway you like unlink(tempFile) > On Nov 11, 2024, at 9:22 AM, Alexander Pate > wrote: > > CAUTION: The Sender of this

[R-pkg-devel] Creating temporary files in tests/examples/vignettes - adhering to CRAN policies

2024-11-11 Thread Alexander Pate
Hello, The CRAN policies (https://cran.r-project.org/web/packages/policies.html) for R package development state: "Packages should not write in the user's home filespace (including clipboards), nor anywhere else on the file system apart from the R session's temporary directory (or during insta

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

2024-11-11 Thread Ivan Krylov via R-package-devel
Dear Mauricio Vargas Sepulveda, Welcome to R-package-devel! В Sat, 9 Nov 2024 17:34:07 + Mauricio Vargas Sepulveda пишет: > CRAN reported memory leaks for: > > CLAN/ASAN: > https://www.stats.ox.ac.uk/pub/bdr/memtests/clang-ASAN/redatam/00check.log > CLANG/UBSAN: > https://www.stats.ox.ac.u