[R-pkg-devel] Warnings related to functions from the survival package

2024-10-31 Thread Kaifeng Lu
Dear friends, I received the following warning messages related to functions from the survival package. I didn't directly use the functions mentioned below: coxph_wtest, agsurv5, survdiff2, and coxmart. I believe they are used by higher-level functions from the survival package, such as survdiff a

[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

[R-pkg-devel] clang-UBSAN

2024-05-12 Thread Kaifeng Lu
Dear friends, I am developing an R package built with Rcpp. The package passed the test with devtools::check() before submission to CRAN, but failed with the following clang-UBSAN issue after submission to CRAN: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/internal/caster.h:30:25: runtime e