* using log directory 'd:/Rcompile/CRANpkg/local/3.3/sparsesvd.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 'sparsesvd/DESCRIPTION' ... OK * this is package 'sparsesvd' version '0.1-4' * 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 'sparsesvd' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/3.3/sparsesvd.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'sparsesvd' ... ** package 'sparsesvd' successfully unpacked and MD5 sums checked ** libs *** arch - i386 make[1]: Entering directory `/cygdrive/d/temp/Rtmp2pWCJT/R.INSTALL15e4867b64f3e/sparsesvd/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 las2.c -o las2.o 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 main.c -o main.o main.c:97:14: error: unknown type name 'R_CallMethodDef' static const R_CallMethodDef sparsesvd_methods[] = { ^ main.c:98:3: warning: braces around scalar initializer {"svdLAS2_", (DL_FUNC) &svdLAS2_, 7}, ^ main.c:98:3: warning: (near initialization for 'sparsesvd_methods[0]') main.c:98:3: warning: initialization makes integer from pointer without a cast main.c:98:3: warning: (near initialization for 'sparsesvd_methods[0]') main.c:98:17: error: 'DL_FUNC' undeclared here (not in a function) {"svdLAS2_", (DL_FUNC) &svdLAS2_, 7}, ^ main.c:98:3: warning: excess elements in scalar initializer {"svdLAS2_", (DL_FUNC) &svdLAS2_, 7}, ^ main.c:98:3: warning: (near initialization for 'sparsesvd_methods[0]') main.c:98:3: warning: excess elements in scalar initializer main.c:98:3: warning: (near initialization for 'sparsesvd_methods[0]') main.c:99:3: warning: braces around scalar initializer {NULL, NULL, 0} ^ main.c:99:3: warning: (near initialization for 'sparsesvd_methods[1]') main.c:99:3: warning: initialization makes integer from pointer without a cast main.c:99:3: warning: (near initialization for 'sparsesvd_methods[1]') main.c:99:3: warning: excess elements in scalar initializer main.c:99:3: warning: (near initialization for 'sparsesvd_methods[1]') main.c:99:3: warning: excess elements in scalar initializer main.c:99:3: warning: (near initialization for 'sparsesvd_methods[1]') main.c:102:23: error: unknown type name 'DllInfo' void R_init_sparsesvd(DllInfo *dll) { ^ make[1]: *** [main.o] Error 1 make[1]: Leaving directory `/cygdrive/d/temp/Rtmp2pWCJT/R.INSTALL15e4867b64f3e/sparsesvd/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="sparsesvd.dll" OBJECTS="las2.o main.o svdlib.o svdutil.o"' had status 2 ERROR: compilation failed for package 'sparsesvd' * removing 'd:/Rcompile/CRANpkg/lib/3.3/sparsesvd' * restoring previous 'd:/Rcompile/CRANpkg/lib/3.3/sparsesvd'