On 27/02/2019 8:17 a.m., Horia Yeb wrote:
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<john...@fake-email.com <horia....@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’
I think the proper name is "string.h".
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?
This is covered in the CRAN policy document
https://cran.r-project.org/web/packages/policies.html, which you should
read before submitting a package.
Duncan Murdoch
Thank you,
Timothy
[[alternative HTML version deleted]]
______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel
______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel