Re: [R-pkg-devel] Error in dyn.load(dllfile) : unable to load shared object

2016-12-01 Thread Dirk Eddelbuettel
On 1 December 2016 at 17:15, Aarti Singh wrote: | Hello, | | I am new to R package development. I am working on a package that has in | its src folder one (prime) cpp file and some helper cpp (X.Cpp, Y.Cpp) and | one c file (Z.C) and their header files (X.h, Y.h and Z.h) | | I am getting the fo

[R-pkg-devel] R checks, compiling C code and Windows ISO C warning

2016-12-01 Thread Gillian Sharer
I’m trying to submit an R package to CRAN that contains C code and I cannot get past an issue with compiling on Windows. Specifically I have this line of C code, reading data in 64 bit: > sscanf (hdrstr, " %"SCNd64, &datasize); To me this seems like good and portable code. But CRAN checks on

[R-pkg-devel] Error in dyn.load(dllfile) : unable to load shared object

2016-12-01 Thread Aarti Singh
Hello, I am new to R package development. I am working on a package that has in its src folder one (prime) cpp file and some helper cpp (X.Cpp, Y.Cpp) and one c file (Z.C) and their header files (X.h, Y.h and Z.h) I am getting the following error when I do 'Build & Reload' in Rstudio. " Error i