Re: [R-pkg-devel] clang-san issue with R vignettes using ggplot2

2024-10-30 Thread Ivan Krylov via R-package-devel
В Tue, 29 Oct 2024 22:21:16 -0400 Kaifeng Lu пишет: > ==1429888==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 7680 byte(s) in 12 object(s) allocated from: > #0 0x55b3e7ff95d0 in realloc > (/home/hornik/tmp/R-d-clang-xtra/bin/exec/R+0xc65d0) (BuildId: > 71b7cc9351bcc02

Re: [R-pkg-devel] clang-san issue with R vignettes using ggplot2

2024-10-29 Thread Ben Bolker
Can you tell us more about/point us to the code for the plots that are triggering these errors? (eg, are you using unusual fonts or other settings?) On Tue, Oct 29, 2024, 10:22 PM Kaifeng Lu wrote: > Dear friends, > > I received clang-san error messages for all vignettes that include ggplot2 > f

[R-pkg-devel] clang-san issue with R vignettes using ggplot2

2024-10-29 Thread Kaifeng Lu
Dear friends, I received clang-san error messages for all vignettes that include ggplot2 figures when submitting an R package to CRAN. Please see below for an example. How can I resolve this problem without replacing the ggplot2 figures with base R plots? Thank you in advance for your help. Reg