Dear R-package-devel,
I am encountering a CRAN pretest installation WARNING under Debian clang (R-devel), and I would appreciate guidance.
My package (LABTNSCPSS) contains no compiled code.
Local R CMD check --as-cran on macOS results in 0 errors and 0 warnings.
However, CRAN pretest reports:
* checking whether package ?LABTNSCPSS? can be installed ... WARNING
Found the following significant warnings:
font_matching.cpp:230:37: warning: comparison of floating-point type 'double' with enumeration type 'FontWidth' is deprecated [-Wdeprecated-enum-float-conversion]
...
agg/src/agg_vcgen_stroke.cpp:202:42: warning: bitwise operation between different enumeration types ...
These warnings appear to originate from systemfonts (and its bundled agg code), which is being compiled during installation.
My DESCRIPTION Imports are:
Imports:
dplyr, magrittr, tibble, checkmate, tidyselect,
data.table, stringi, lubridate, purrr, tidyr, glue
There is no direct dependency on ggplot2, systemfonts, ragg, or svglite.
Questions:
1.
Why would systemfonts be compiled during CRAN checks for this package?
2.
Is this considered an upstream issue with systemfonts under clang 21?
3.
Is there a recommended way to prevent this installation WARNING when the package itself contains no compiled code?
Thank you very much for your time and assistance.
The source tarball is available here:
https://github.com/bayaniazadeh/LabTNSCPSSPackage/blob/main/LABTNSCPSS_1.0.2.tar.gz
Best regards,
Azadeh Bayani