* using log directory 'd:/Rcompile/CRANpkg/local/3.3/ARTP.Rcheck' * using R version 3.3.3 (2017-03-06) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'ARTP/DESCRIPTION' ... OK * this is package 'ARTP' version '2.0.5' * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'ARTP' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/3.3/ARTP.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'ARTP' ... ** package 'ARTP' successfully unpacked and MD5 sums checked ** libs *** arch - i386 make[1]: Entering directory `/cygdrive/d/temp/Rtmp6te3Y8/R.INSTALL7b0c2a69454a/ARTP/src-i386' d:/Compiler/gcc-4.9.3/mingw_32/bin/gcc -I"D:/RCompile/recent/R-3.3.3/include" -DNDEBUG -I"d:/Compiler/gcc-4.9.3/local330/include" -O3 -Wall -std=gnu99 -mtune=core2 -c code.c -o code.o code.c:36:14: error: unknown type name 'R_CMethodDef' static const R_CMethodDef callMethods[] = { ^ code.c:37:3: warning: braces around scalar initializer {"ARTP_pathway", (DL_FUNC)&ARTP_pathway, 25}, ^ code.c:37:3: warning: (near initialization for 'callMethods[0]') code.c:37:3: warning: initialization makes integer from pointer without a cast code.c:37:3: warning: (near initialization for 'callMethods[0]') code.c:37:21: error: 'DL_FUNC' undeclared here (not in a function) {"ARTP_pathway", (DL_FUNC)&ARTP_pathway, 25}, ^ code.c:37:3: warning: excess elements in scalar initializer {"ARTP_pathway", (DL_FUNC)&ARTP_pathway, 25}, ^ code.c:37:3: warning: (near initialization for 'callMethods[0]') code.c:37:3: warning: excess elements in scalar initializer code.c:37:3: warning: (near initialization for 'callMethods[0]') code.c:38:3: warning: braces around scalar initializer {NULL, NULL, 0} ^ code.c:38:3: warning: (near initialization for 'callMethods[1]') code.c:38:3: warning: initialization makes integer from pointer without a cast code.c:38:3: warning: (near initialization for 'callMethods[1]') code.c:38:3: warning: excess elements in scalar initializer code.c:38:3: warning: (near initialization for 'callMethods[1]') code.c:38:3: warning: excess elements in scalar initializer code.c:38:3: warning: (near initialization for 'callMethods[1]') code.c:1241:18: error: unknown type name 'DllInfo' void R_init_ARTP(DllInfo *dll) ^ make[1]: *** [code.o] Error 1 make[1]: Leaving directory `/cygdrive/d/temp/Rtmp6te3Y8/R.INSTALL7b0c2a69454a/ARTP/src-i386' Warning: running command 'make -f "D:/RCompile/recent/R-3.3.3/etc/i386/Makeconf" -f "D:/RCompile/recent/R-3.3.3/etc/i386/Makevars.site" -f "D:/RCompile/recent/R-3.3.3/share/make/winshlib.mk" SHLIB="ARTP.dll" OBJECTS="code.o"' had status 2 ERROR: compilation failed for package 'ARTP' * removing 'd:/Rcompile/CRANpkg/lib/3.3/ARTP' * restoring previous 'd:/Rcompile/CRANpkg/lib/3.3/ARTP'