[R-pkg-devel] Rcpp specific Linux warning related to sprint function

Sebastian SOSA S@So@@ @end|ng |rom LIVE@FR
Fri Dec 6 11:48:43 CET 2019


Dear all,

I am trying to submit my R package on CRAN however I have a specific Linux warning message related to a Rcpp function I found online and included in my package:
https://gallery.rcpp.org/articles/faster-data-frame-creation/

More specifically, the issue is related to sprint (lines 7 and 14) and is the following:
list_to_df.cpp:40:28: warning: '%d' directive writing between 1 and 10 bytes into a region of size 4 [-Wformat-overflow=]

I don't know what this is about and it will be difficult to me to try to solve it as I am on a Windows machine. Thanks in advance for your help.

Sebastian Sosa

------------------------------------------------------------------------------------
Sebastian Sosa, Ph.D.
USIAS Postdoctor fellow
Department of Ecology, Physiology and Ethology (DEPE)
Institut Pluridisciplinaire Hubert CURIEN (IPHC)
Strasbourg, France
s.sosa using live.fr



More information about the R-package-devel mailing list