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

Kaifeng Lu k@||eng|u @end|ng |rom gm@||@com
Thu Oct 31 17:06:25 CET 2024


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 and
coxph, which I used in my unit tests. Does anyone know how to get rid of
suchwarning to pass the CRAN checks?

Thank you very much in advance for your help.

Regards,
Kaifeng


package trtswitch_0.1.1.tar.gz does not pass the incoming checks
automatically, please see the following pre-tests (additional issue checks):
Windows: <
https://win-builder.r-project.org/incoming_pretest/trtswitch_0.1.1_20241031_134058/Windows/00check.log
>
Status: OK
Debian: <
https://win-builder.r-project.org/incoming_pretest/trtswitch_0.1.1_20241031_134058/Debian/00check.log
>
Status: OK

Additional issues checked: <
https://win-builder.r-project.org/incoming_pretest/trtswitch_0.1.1_20241031_134058/specialChecks/
>
clang-san: Status: WARNING

More details are given in the directory:
<
https://win-builder.r-project.org/incoming_pretest/trtswitch_0.1.1_20241031_134058/
>
The files will be removed after roughly 7 days.


Flavor: r-devel-linux-x86_64-debian-special-clang-san
Check: *, Result: NA


Flavor: r-devel-linux-x86_64-debian-special-clang-san
Check: Post-processing issues found for clang-san, Result: WARNING
  File: tests/testthat.Rout
  /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:1994:2: runtime error: call to
function agsurv5 through pointer to incorrect function type 'void (*)(void
*, void *, void *, void *, void *, void *, void *, void *, void *, void *)'
  /home/hornik/src/R/src/main/dotcode.c:2008:2: runtime error: call to
function survdiff2 through pointer to incorrect function type 'void
(*)(void *, void *, void *, void *, void *, void *, void *, void *, void *,
void *, void *, void *, void *)'
  /home/hornik/src/R/src/main/dotcode.c:1986:2: runtime error: call to
function coxmart through pointer to incorrect function type 'void (*)(void
*, void *, void *, void *, void *, void *, void *, void *)'

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list