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

2024-11-04 Thread Tomas Kalibera
On 11/1/24 17:40, Ivan Krylov wrote: On Fri, 1 Nov 2024 09:56:01 +0100 Tomas Kalibera wrote: isn't there a finer-grained way to suppress reports just of this particular issue, ideally at finer granularity than a function? The line saying "function:do_dotCode" in the suppression file will su

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

2024-11-01 Thread Ivan Krylov via R-package-devel
On Fri, 1 Nov 2024 09:56:01 +0100 Tomas Kalibera wrote: > isn't there a finer-grained way to suppress reports just > of this particular issue, ideally at finer granularity than a > function? The line saying "function:do_dotCode" in the suppression file will suppress errors just for mismatched f

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

2024-11-01 Thread Tomas Kalibera
On 10/31/24 21:06, Ivan Krylov wrote: On Thu, 31 Oct 2024 17:59:01 +0100 Tomas Kalibera wrote: for now, if you know an elegant, minimal way how to suppress this, and have the time and energy, a patch would be welcome A fresh R-4.4.2 build compiled with clang-19 -fsanitize=function gives the

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

2024-10-31 Thread Ivan Krylov via R-package-devel
On Thu, 31 Oct 2024 17:59:01 +0100 Tomas Kalibera wrote: > for now, if you know an elegant, minimal way how to suppress > this, and have the time and energy, a patch would be welcome A fresh R-4.4.2 build compiled with clang-19 -fsanitize=function gives the error: $ bin/R -q -s -e 'library(surv

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

2024-10-31 Thread Tomas Kalibera
On 10/31/24 17:39, Ivan Krylov via R-package-devel wrote: В Thu, 31 Oct 2024 12:06:25 -0400 Kaifeng Lu пишет: /home/hornik/src/R/src/main/dotcode.c:1978:2: runtime error: call to function coxph_wtest through pointer to incorrect function type 'void (*)(void *, void *, void *, void *, void

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

2024-10-31 Thread Ivan Krylov via R-package-devel
В Thu, 31 Oct 2024 12:06:25 -0400 Kaifeng Lu пишет: > /home/hornik/src/R/src/main/dotcode.c:1978:2: runtime error: call to > function coxph_wtest through pointer to incorrect function type 'void > (*)(void *, void *, void *, void *, void *, void *)' > /home/hornik/src/R/src/main/dotcode.c:199

[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