On Fri, 3 Feb 2023 16:28:23 +0000 Brad Eck <bradleyj...@gmail.com> wrote:
> For example R-devel-debian-gcc is ok on rhub > https://builder.r-hub.io/status/epanet2toolkit_0.6.1.tar.gz-58c1ce1e316317307679f58450a5e17a > > But not on CRAN: > https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-gcc/epanet2toolkit-00check.html Speaking of reproducing the warnings, the CRAN checks pass -Wall -Wstrict-prototypes -pedantic to the compiler, while on Rhub, only the UB sanitizer is used without any statical analysis warning flags. It may be possible to see the extra warnings if you set CFLAGS = -Wall -Wextra -Wpedantic in ~/.R/Makevars. -- Best regards, Ivan ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel