* using log directory 'd:/Rcompile/CRANpkg/local/3.2/fdasrvf.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 'fdasrvf/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'fdasrvf' version '1.8.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 'fdasrvf' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/3.2/fdasrvf.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'fdasrvf' ... ** package 'fdasrvf' successfully unpacked and MD5 sums checked ** libs *** arch - i386 make[1]: Entering directory `/cygdrive/d/temp/RtmpqKcorh/R.INSTALL371071197de9/fdasrvf/src-i386' g++ -std=c++0x -I"D:/RCompile/recent/R-3.2.5/include" -DNDEBUG -I. -Igropt/incl/ -Ifdaqmap/incl/ -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" -O2 -Wall -mtune=core2 -c registerDynamicSymbol.cpp -o registerDynamicSymbol.o g++ -std=c++0x -I"D:/RCompile/recent/R-3.2.5/include" -DNDEBUG -I. -Igropt/incl/ -Ifdaqmap/incl/ -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" -O2 -Wall -mtune=core2 -c wrapper.cpp -o wrapper.o In file included from D:/RCompile/recent/R-3.2.5/include/R.h:50:0, from d:/RCompile/CRANpkg/lib/3.2/Rcpp/include/Rcpp/r/headers.h:52, from d:/RCompile/CRANpkg/lib/3.2/Rcpp/include/RcppCommon.h:29, from d:/RCompile/CRANpkg/lib/3.2/Rcpp/include/Rcpp.h:27, from gropt/incl/def.h:348, from gropt/incl/ForDebug.h:5, from gropt/incl/DriverElasticCurvesRO.h:5, from gropt/incl/ElasticCurvesReparam.h:6, from wrapper.cpp:1: D:/RCompile/recent/R-3.2.5/include/R_ext/RS.h:45:0: warning: "ERROR" redefined [enabled by default] d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/wingdi.h:70:0: note: this is the location of the previous definition gropt/incl/randgen.h:68:13: warning: 'void next_state()' declared 'static' but never defined [-Wunused-function] gropt/incl/randgen.h:63:22: warning: 'randgen::state' defined but not used [-Wunused-variable] gropt/incl/randgen.h:64:12: warning: 'randgen::left' defined but not used [-Wunused-variable] gropt/incl/randgen.h:65:12: warning: 'randgen::initf' defined but not used [-Wunused-variable] gropt/incl/randgen.h:66:23: warning: 'randgen::next' defined but not used [-Wunused-variable] g++ -std=c++0x -I"D:/RCompile/recent/R-3.2.5/include" -DNDEBUG -I. -Igropt/incl/ -Ifdaqmap/incl/ -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" -O2 -Wall -mtune=core2 -c fdasrsf/DP.cpp -o fdasrsf/DP.o g++ -std=c++0x -I"D:/RCompile/recent/R-3.2.5/include" -DNDEBUG -I. -Igropt/incl/ -Ifdaqmap/incl/ -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" -O2 -Wall -mtune=core2 -c fdasrsf/dp_grid.cpp -o fdasrsf/dp_grid.o g++ -std=c++0x -I"D:/RCompile/recent/R-3.2.5/include" -DNDEBUG -I. -Igropt/incl/ -Ifdaqmap/incl/ -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" -O2 -Wall -mtune=core2 -c fdasrsf/DynamicProgrammingQ2.cpp -o fdasrsf/DynamicProgrammingQ2.o g++ -std=c++0x -I"D:/RCompile/recent/R-3.2.5/include" -DNDEBUG -I. -Igropt/incl/ -Ifdaqmap/incl/ -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" -O2 -Wall -mtune=core2 -c fdasrsf/misc_funcs.cpp -o fdasrsf/misc_funcs.o g++ -std=c++0x -I"D:/RCompile/recent/R-3.2.5/include" -DNDEBUG -I. -Igropt/incl/ -Ifdaqmap/incl/ -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" -O2 -Wall -mtune=core2 -c fdasrsf/mlogit_warp_grad.cpp -o fdasrsf/mlogit_warp_grad.o fdasrsf/mlogit_warp_grad.cpp: In function 'void mlogit_warp_grad(int*, int*, double*, double*, double*, double*, double*, int*, int*, double*, double*, int*, double*)': fdasrsf/mlogit_warp_grad.cpp:16:9: warning: unused variable 't' [-Wunused-variable] g++ -std=c++0x -I"D:/RCompile/recent/R-3.2.5/include" -DNDEBUG -I. -Igropt/incl/ -Ifdaqmap/incl/ -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" -O2 -Wall -mtune=core2 -c fdasrsf/bayesian.cpp -o fdasrsf/bayesian.o fdasrsf/bayesian.cpp: In function 'SEXPREC* simucode(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': fdasrsf/bayesian.cpp:252:49: error: call of overloaded 'round(arma::vec)' is ambiguous fdasrsf/bayesian.cpp:252:49: note: candidates are: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/cmath:1589:5: note: typename __gnu_cxx::__promote<_Tp>::__type std::round(_Tp) [with _Tp = arma::Col, typename __gnu_cxx::__promote<_Tp>::__type = arma::Col] d:/RCompile/CRANpkg/lib/3.2/RcppArmadillo/include/armadillo_bits/fn_elem.hpp:853:1: note: typename arma::enable_if2::value, const arma::eOp >::result arma::round(const T1&) [with T1 = arma::Col, typename arma::enable_if2::value, const arma::eOp >::result = const arma::eOp, arma::eop_round>] make[1]: *** [fdasrsf/bayesian.o] Error 1 make[1]: Leaving directory `/cygdrive/d/temp/RtmpqKcorh/R.INSTALL371071197de9/fdasrvf/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="fdasrvf.dll" ' had status 2 make[1]: Entering directory `/cygdrive/d/temp/RtmpqKcorh/R.INSTALL371071197de9/fdasrvf/src-i386' make[1]: Leaving directory `/cygdrive/d/temp/RtmpqKcorh/R.INSTALL371071197de9/fdasrvf/src-i386' ERROR: compilation failed for package 'fdasrvf' * removing 'd:/Rcompile/CRANpkg/lib/3.2/fdasrvf' * restoring previous 'd:/Rcompile/CRANpkg/lib/3.2/fdasrvf'