[R-pkg-devel] Debian check string include

Horia Yeb hor|@@yeb @end|ng |rom gm@||@com
Wed Feb 27 14:17:59 CET 2019


Hi all,

I submitted my package today on CRAN and from the automatic check I get a
note in both Windows and Debian, but from what I heard it is perfectly ok
and to be ignored.

"Check: CRAN incoming feasibility, Result: NOTE
  Maintainer: 'John Doe<johnDoe using fake-email.com <horia.yeb using gmail.com>>'  "

But I also get an ERROR in the Debian check :

* installing *source* package ‘DataViz’ ...
** libs
g++-8  -std=gnu++11 -I"/home/hornik/tmp/R/include" -DNDEBUG
-I"/home/hornik/lib/R/Library/3.6/x86_64-linux-gnu/Rcpp/include"
-I/usr/local/include  -fpic  -g -O2 -Wall -pedantic -mtune=native -c
RcppExports.cpp -o RcppExports.o
g++-8  -std=gnu++11 -I"/home/hornik/tmp/R/include" -DNDEBUG
-I"/home/hornik/lib/R/Library/3.6/x86_64-linux-gnu/Rcpp/include"
-I/usr/local/include  -fpic  -g -O2 -Wall -pedantic -mtune=native -c
rcpp_throwchart.cpp -o rcpp_throwchart.o
rcpp_throwchart.cpp:6:10: fatal error: String.h: No such file or directory
 #include <String.h>
          ^~~~~~~~~~
compilation terminated.
make: *** [/home/hornik/tmp/R/etc/Makeconf:173: rcpp_throwchart.o] Error 1
ERROR: compilation failed for package ‘DataViz’
* removing ‘/srv/hornik/tmp/CRAN/DataViz.Rcheck/DataViz’



This is my first package submission and I am pretty new to R, my guess
is the rcpp compiler doesn't link the libraries properly but I'm not
sure.

Also would it be possible to submit a Windows only package or is that
not OK for CRAN?


Thank you,

Timothy

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list