[R-pkg-devel] Reproducing CRAN pre-tests

Aravind J. @r@v|ndj@y@r@m@n@gr| @end|ng |rom gm@||@com
Thu Sep 19 12:51:03 CEST 2019


I am trying to submit an updated version of my package PGRdup to CRAN. The
package has compiled code in C.

I do development in a windows environment.

The update was to fix issues in

I have successfully fixed PCRE2 compatability issues and the issue with "
‘strncpy’ specified bound depends on the length of the source argument".

For all instances of of strncpy I had changed the dependency on the length
of the source argument to that of destination argument.

On submission, now one issue remains with debian pre-test.

warning: ‘__builtin_strncpy’ specified bound depends on the length of
the source argument [-Wstringop-overflow=]


How to reproduce this error. I have tried rhub platforms
windows-x86_64-devel, ubuntu-gcc-release, fedora-clang-devel,
linux-x86_64-rocker-gcc-san, linux-x86_64-rocker-gcc-san and ubuntu-rchk
without any success.

How to reproduce the pre-test results in a windows environment? and how to
fix this specific error?


Division of Germplasm Conservation,
ICAR-National Bureau of Plant Genetic Resources,
New Delhi - 110 012
Email: j.aravind using icar.gov.in

	[[alternative HTML version deleted]]

More information about the R-package-devel mailing list