[R-pkg-devel] Help with clang-san warnings for package "tidyfit"

Johann Pfitzinger joh@nnp||tz|nger @end|ng |rom goog|em@||@com
Wed Jan 15 22:13:36 CET 2025


Dear community,

my R package "tidyfit" is failing CRAN submission checks with the 
following warning (see email below for complete results):

Flavor: r-devel-linux-x86_64-debian-special-clang-san
Check: Post-processing issues found for clang-san, Result: WARNING
   File: tidyfit-Ex.Rout
   cleancall.c:110:46: runtime error: call to function cb_progress_done through pointer to incorrect function type 'void (*)(void *)'
   
   File: tests/testthat.Rout
   cleancall.c:110:46: runtime error: call to function cb_progress_done through pointer to incorrect function type 'void (*)(void *)'
   
   File: build_vignettes.log
   cleancall.c:110:46: runtime error: call to function cb_progress_done through pointer to incorrect function type 'void (*)(void *)'
   cleancall.c:110:46: runtime error: call to function cb_progress_done through pointer to incorrect function type 'void (*)(void *)'
   cleancall.c:110:46: runtime error: call to function cb_progress_done through pointer to incorrect function type 'void (*)(void *)'
   cleancall.c:110:46: runtime error: call to function cb_progress_done through pointer to incorrect function type 'void (*)(void *)'
   cleancall.c:110:46: runtime error: call to function cb_progress_done through pointer to incorrect function type 'void (*)(void *)'
   cleancall.c:110:46: runtime error: call to function cb_progress_done through pointer to incorrect function type 'void (*)(void *)'

I have, so far, failed to reproduce this or to find any useful 
information on how to fix it. My best guess based on the output.txt is 
that it originates in "purrr" (which I depend on).

I would really like to get the package back on CRAN as soon as possible. 
Any help is greatly appreciated!

Best regards,
Johann Pfitzinger

-------- Forwarded Message --------
Subject: 	[CRAN-pretest-archived] CRAN Submission tidyfit 0.7.3
Date: 	Tue, 14 Jan 2025 21:38:05 +0100
From: 	ligges using statistik.tu-dortmund.de
Reply-To: 	CRAN-submissions using R-project.org
To: 	johann.pfitzinger using gmail.com
CC: 	CRAN-submissions using R-project.org



Dear maintainer,
package tidyfit_0.7.3.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/tidyfit_0.7.3_20250114_204852/Windows/00check.log>
Status: 1 NOTE
Debian: 
<https://win-builder.r-project.org/incoming_pretest/tidyfit_0.7.3_20250114_204852/Debian/00check.log>
Status: 1 NOTE
Additional issues checked: 
<https://win-builder.r-project.org/incoming_pretest/tidyfit_0.7.3_20250114_204852/specialChecks/>
clang-san: Status: WARNING
Last released version's CRAN status: OK: 13
See: 
<https://cran-archive.r-project.org/web/checks/2025/2025-01-14_check_results_tidyfit.html>

Last released version's additional issues:
clang-ASAN <https://www.stats.ox.ac.uk/pub/bdr/memtests/clang-ASAN/tidyfit>
gcc-ASAN <https://www.stats.ox.ac.uk/pub/bdr/memtests/gcc-ASAN/tidyfit>
Please fix all problems and resubmit a fixed version via the webform.
If you are not sure how to fix the problems shown, please ask for help 
on the R-package-devel mailing list:
<https://stat.ethz.ch/mailman/listinfo/r-package-devel>
If you are fairly certain the rejection is a false positive, please 
reply-all to this message and explain.
More details are given in the directory:
<https://win-builder.r-project.org/incoming_pretest/tidyfit_0.7.3_20250114_204852/>
The files will be removed after roughly 7 days.
No strong reverse dependencies to be checked.
Best regards,
CRAN teams' auto-check service

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Attached Message Part
URL: <https://stat.ethz.ch/pipermail/r-package-devel/attachments/20250115/9f28132e/attachment.ksh>


More information about the R-package-devel mailing list