[R-pkg-devel] reproducing cran warnings

Ivan Krylov kry|ov@r00t @end|ng |rom gm@||@com
Sat Feb 4 12:09:26 CET 2023


On Fri, 3 Feb 2023 16:28:23 +0000
Brad Eck <bradleyjeck using 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



More information about the R-package-devel mailing list