* using log directory 'd:/Rcompile/CRANpkg/local/3.2/dynamichazard.Rcheck' * using R version 3.2.5 (2016-04-14) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'dynamichazard/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'dynamichazard' version '0.1.0' * 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 'dynamichazard' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/3.2/dynamichazard.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'dynamichazard' ... ** package 'dynamichazard' successfully unpacked and MD5 sums checked ** libs *** arch - i386 make[1]: Entering directory `/cygdrive/d/temp/RtmpUpklSy/R.INSTALL3620324f6f89/dynamichazard/src-i386' g++ -std=c++0x -I"D:/RCompile/recent/R-3.2.5/include" -DNDEBUG -I"d:/RCompile/CRANpkg/lib/3.2/Rcpp/include" -I"d:/RCompile/CRANpkg/lib/3.2/RcppArmadillo/include" -I"d:/RCompile/r-compiling/local/local323/include" -fopenmp -pthread -O2 -Wall -mtune=core2 -c Cdqrls_wrapper.cpp -o Cdqrls_wrapper.o In file included from Cdqrls_wrapper.cpp:1:0: dynamichazard.h:139:7: error: expected nested-name-specifier before 'bigglm_updateQR_logit' dynamichazard.h:139:7: error: 'bigglm_updateQR_logit' has not been declared dynamichazard.h:139:31: error: expected ';' before '=' token dynamichazard.h:139:31: error: expected unqualified-id before '=' token dynamichazard.h:140:7: error: expected nested-name-specifier before 'bigglm_updateQR_poisson' dynamichazard.h:140:7: error: 'bigglm_updateQR_poisson' has not been declared dynamichazard.h:140:31: error: expected ';' before '=' token dynamichazard.h:140:31: error: expected unqualified-id before '=' token Cdqrls_wrapper.cpp:28:7: error: expected nested-name-specifier before 'uword' Cdqrls_wrapper.cpp:28:7: error: 'uword' has not been declared Cdqrls_wrapper.cpp:28:13: error: expected ';' before '=' token Cdqrls_wrapper.cpp:28:13: error: expected unqualified-id before '=' token Cdqrls_wrapper.cpp:32:22: error: 'uword' does not name a type Cdqrls_wrapper.cpp:32:37: error: ISO C++ forbids declaration of 'it_max' with no type [-fpermissive] Cdqrls_wrapper.cpp: In function 'arma::vec IWLS(const mat&, const vec&, arma::vec, const dist_family*, arma::vec, int, double)': Cdqrls_wrapper.cpp:45:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] make[1]: *** [Cdqrls_wrapper.o] Error 1 make[1]: Leaving directory `/cygdrive/d/temp/RtmpUpklSy/R.INSTALL3620324f6f89/dynamichazard/src-i386' Warning: running command 'make -f "Makevars.win" -f "D:/RCompile/recent/R-3.2.5/etc/i386/Makeconf" -f "D:/RCompile/recent/R-3.2.5/etc/i386/Makevars.site" -f "D:/RCompile/recent/R-3.2.5/share/make/winshlib.mk" CXX='$(CXX1X) $(CXX1XSTD)' CXXFLAGS='$(CXX1XFLAGS)' CXXPICFLAGS='$(CXX1XPICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX1XLDFLAGS)' SHLIB_LD='$(SHLIB_CXX1XLD)' SHLIB="dynamichazard.dll" ' had status 2 make[1]: Entering directory `/cygdrive/d/temp/RtmpUpklSy/R.INSTALL3620324f6f89/dynamichazard/src-i386' g++ -std=c++0x -I"D:/RCompile/recent/R-3.2.5/include" -DNDEBUG -I"d:/RCompile/CRANpkg/lib/3.2/Rcpp/include" -I"d:/RCompile/CRANpkg/lib/3.2/RcppArmadillo/include" -I"d:/RCompile/r-compiling/local/local323/include" -fopenmp -pthread -O2 -Wall -mtune=core2 -c Cdqrls_wrapper.cpp -o Cdqrls_wrapper.o In file included from Cdqrls_wrapper.cpp:1:0: dynamichazard.h:139:7: error: expected nested-name-specifier before 'bigglm_updateQR_logit' dynamichazard.h:139:7: error: 'bigglm_updateQR_logit' has not been declared dynamichazard.h:139:31: error: expected ';' before '=' token dynamichazard.h:139:31: error: expected unqualified-id before '=' token dynamichazard.h:140:7: error: expected nested-name-specifier before 'bigglm_updateQR_poisson' dynamichazard.h:140:7: error: 'bigglm_updateQR_poisson' has not been declared dynamichazard.h:140:31: error: expected ';' before '=' token dynamichazard.h:140:31: error: expected unqualified-id before '=' token Cdqrls_wrapper.cpp:28:7: error: expected nested-name-specifier before 'uword' Cdqrls_wrapper.cpp:28:7: error: 'uword' has not been declared Cdqrls_wrapper.cpp:28:13: error: expected ';' before '=' token Cdqrls_wrapper.cpp:28:13: error: expected unqualified-id before '=' token Cdqrls_wrapper.cpp:32:22: error: 'uword' does not name a type Cdqrls_wrapper.cpp:32:37: error: ISO C++ forbids declaration of 'it_max' with no type [-fpermissive] Cdqrls_wrapper.cpp: In function 'arma::vec IWLS(const mat&, const vec&, arma::vec, const dist_family*, arma::vec, int, double)': Cdqrls_wrapper.cpp:45:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] make[1]: *** [Cdqrls_wrapper.o] Error 1 make[1]: Leaving directory `/cygdrive/d/temp/RtmpUpklSy/R.INSTALL3620324f6f89/dynamichazard/src-i386' Warning: running command 'make -f "Makevars.win" -f "D:/RCompile/recent/R-3.2.5/etc/i386/Makeconf" -f "D:/RCompile/recent/R-3.2.5/etc/i386/Makevars.site" -f "D:/RCompile/recent/R-3.2.5/share/make/winshlib.mk" CXX='$(CXX1X) $(CXX1XSTD)' CXXFLAGS='$(CXX1XFLAGS)' CXXPICFLAGS='$(CXX1XPICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX1XLDFLAGS)' SHLIB_LD='$(SHLIB_CXX1XLD)' SHLIB="dynamichazard.dll" symbols.rds' had status 2 ERROR: compilation failed for package 'dynamichazard' * removing 'd:/Rcompile/CRANpkg/lib/3.2/dynamichazard'