[R-pkg-devel] [SPAM Warning!] addressing a CRAN submission pre-test clang-san warning

Ivan Krylov |kry|ov @end|ng |rom d|@root@org
Fri Jan 10 16:06:52 CET 2025


В Fri, 10 Jan 2025 07:45:00 -0700
Kent Riemondy <kent.riemondy using gmail.com> пишет:

>   cleancall.c:110:46: runtime error: call to function cb_progress_done
> through pointer to incorrect function type 'void (*)(void *)'

This is a (mostly harmless) error in the purrr package:
https://stat.ethz.ch/pipermail/r-package-devel/2024q4/011230.html

It has recently been reported to the package maintainers:
https://github.com/tidyverse/purrr/issues/1157

Instead of casting the cb_progress_done function pointer to (void
(*)(void*)), the function needs to accept (void*) and cast the argument
to SEXP in the function body.

-- 
Best regards,
Ivan



More information about the R-package-devel mailing list