* using log directory 'd:/Rcompile/CRANpkg/local/3.0/tmg.Rcheck' * using R version 3.0.3 (2014-03-06) * using platform: i386-w64-mingw32 (32-bit) * using session charset: ISO8859-1 * checking for file 'tmg/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'tmg' version '0.3' * 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 'tmg' can be installed ... ERROR Installation failed. The installation logfile: * installing *source* package 'tmg' ... ** package 'tmg' successfully unpacked and MD5 sums checked ** libs *** arch - i386 make[1]: Entering directory `/cygdrive/d/temp/RtmpuGoWMz/R.INSTALL2acc1e036639/tmg/src-i386' g++ -I"D:/Rcompile/recent/R-3.0.3/include" -I../inst/include -I"d:/RCompile/CRANpkg/lib/3.0/Rcpp/include" -I"d:/RCompile/CRANpkg/lib/3.0/RcppEigen/include" -I"d:/Rcompile/CRANpkg/extralibs215/local215/include" -O3 -Wall -mtune=core2 -c HmcSampler.cpp -o HmcSampler.o In file included from d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/random:35:0, from HmcSampler.cpp:11: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the upcoming ISO C++ standard, C++0x. This support is currently experimental, and must be enabled with the -std=c++0x or -std=gnu++0x compiler options. In file included from ../inst/include/magnet/math/quartic_yacfraid.hpp:21:0, from ../inst/include/magnet/math/quartic.hpp:20, from HmcSampler.cpp:13: ../inst/include/magnet/math/quartic_error.hpp: In function 'double magnet::math::quarticError(const double&, const double&, const double&, const double&, const double*, std::size_t)': ../inst/include/magnet/math/quartic_error.hpp:29:7: error: 'array' is not a member of 'std' ../inst/include/magnet/math/quartic_error.hpp:29:18: error: expected primary-expression before 'double' ../inst/include/magnet/math/quartic_error.hpp:29:18: error: expected ';' before 'double' ../inst/include/magnet/math/quartic_error.hpp:35:22: error: 'errors' was not declared in this scope ../inst/include/magnet/math/quartic_error.hpp:40:6: error: 'errors' was not declared in this scope ../inst/include/magnet/math/quartic_error.hpp:45:3: error: 'errors' was not declared in this scope ../inst/include/magnet/math/quartic_error.hpp:50:7: error: 'errors' was not declared in this scope ../inst/include/magnet/math/quartic_error.hpp:52:7: error: 'errors' was not declared in this scope ../inst/include/magnet/math/quartic_error.hpp:57:32: error: 'errors' was not declared in this scope In file included from HmcSampler.cpp:15:0: HmcSampler.h: At global scope: HmcSampler.h:50:5: error: 'knuth_b' does not name a type HmcSampler.h:51:5: error: 'uniform_real_distribution' does not name a type HmcSampler.h:52:5: error: 'normal_distribution' does not name a type HmcSampler.cpp: In constructor 'HmcSampler::HmcSampler(const int&, const int&)': HmcSampler.cpp:26:1: error: 'eng1' was not declared in this scope HmcSampler.cpp:27:1: error: 'ud' was not declared in this scope HmcSampler.cpp:27:5: error: 'uniform_real_distribution' was not declared in this scope HmcSampler.cpp:27:31: error: expected primary-expression before '>' token HmcSampler.cpp: In member function 'Eigen::MatrixXd HmcSampler::sampleNext(bool)': HmcSampler.cpp:55:22: error: 'eng1' was not declared in this scope HmcSampler.cpp:55:26: error: 'nd' was not declared in this scope HmcSampler.cpp: In member function 'void HmcSampler::_getNextLinearHitTime(const VectorXd&, const VectorXd&, double&, int&)': HmcSampler.cpp:155:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] HmcSampler.cpp: In member function 'void HmcSampler::_getNextQuadraticHitTime(const VectorXd&, const VectorXd&, double&, int&, bool)': HmcSampler.cpp:198:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] HmcSampler.cpp: In member function 'double HmcSampler::_verifyConstraints(const VectorXd&)': HmcSampler.cpp:247:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] HmcSampler.cpp:255:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ../inst/include/magnet/math/quartic_error.hpp: In function 'double magnet::math::quarticError(const double&, const double&, const double&, const double&, const double*, std::size_t)': ../inst/include/magnet/math/quartic_error.hpp:58:5: warning: control reaches end of non-void function [-Wreturn-type] make[1]: *** [HmcSampler.o] Error 1 make[1]: Leaving directory `/cygdrive/d/temp/RtmpuGoWMz/R.INSTALL2acc1e036639/tmg/src-i386' Warning: running command 'make -f "Makevars.win" -f "D:/Rcompile/recent/R-3.0.3/etc/i386/Makeconf" -f "D:/Rcompile/recent/R-3.0.3/etc/i386/Makevars.site" -f "D:/Rcompile/recent/R-3.0.3/share/make/winshlib.mk" -f "C:\Users\CRAN\Documents/.R/Makevars" SHLIB_LDFLAGS='$(SHLIB_CXXLDFLAGS)' SHLIB_LD='$(SHLIB_CXXLD)' SHLIB="tmg.dll" OBJECTS="HmcSampler.o rtmg.o"' had status 2 make[1]: Entering directory `/cygdrive/d/temp/RtmpuGoWMz/R.INSTALL2acc1e036639/tmg/src-i386' g++ -I"D:/Rcompile/recent/R-3.0.3/include" -I../inst/include -I"d:/RCompile/CRANpkg/lib/3.0/Rcpp/include" -I"d:/RCompile/CRANpkg/lib/3.0/RcppEigen/include" -I"d:/Rcompile/CRANpkg/extralibs215/local215/include" -O3 -Wall -mtune=core2 -c HmcSampler.cpp -o HmcSampler.o In file included from d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/random:35:0, from HmcSampler.cpp:11: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the upcoming ISO C++ standard, C++0x. This support is currently experimental, and must be enabled with the -std=c++0x or -std=gnu++0x compiler options. In file included from ../inst/include/magnet/math/quartic_yacfraid.hpp:21:0, from ../inst/include/magnet/math/quartic.hpp:20, from HmcSampler.cpp:13: ../inst/include/magnet/math/quartic_error.hpp: In function 'double magnet::math::quarticError(const double&, const double&, const double&, const double&, const double*, std::size_t)': ../inst/include/magnet/math/quartic_error.hpp:29:7: error: 'array' is not a member of 'std' ../inst/include/magnet/math/quartic_error.hpp:29:18: error: expected primary-expression before 'double' ../inst/include/magnet/math/quartic_error.hpp:29:18: error: expected ';' before 'double' ../inst/include/magnet/math/quartic_error.hpp:35:22: error: 'errors' was not declared in this scope ../inst/include/magnet/math/quartic_error.hpp:40:6: error: 'errors' was not declared in this scope ../inst/include/magnet/math/quartic_error.hpp:45:3: error: 'errors' was not declared in this scope ../inst/include/magnet/math/quartic_error.hpp:50:7: error: 'errors' was not declared in this scope ../inst/include/magnet/math/quartic_error.hpp:52:7: error: 'errors' was not declared in this scope ../inst/include/magnet/math/quartic_error.hpp:57:32: error: 'errors' was not declared in this scope In file included from HmcSampler.cpp:15:0: HmcSampler.h: At global scope: HmcSampler.h:50:5: error: 'knuth_b' does not name a type HmcSampler.h:51:5: error: 'uniform_real_distribution' does not name a type HmcSampler.h:52:5: error: 'normal_distribution' does not name a type HmcSampler.cpp: In constructor 'HmcSampler::HmcSampler(const int&, const int&)': HmcSampler.cpp:26:1: error: 'eng1' was not declared in this scope HmcSampler.cpp:27:1: error: 'ud' was not declared in this scope HmcSampler.cpp:27:5: error: 'uniform_real_distribution' was not declared in this scope HmcSampler.cpp:27:31: error: expected primary-expression before '>' token HmcSampler.cpp: In member function 'Eigen::MatrixXd HmcSampler::sampleNext(bool)': HmcSampler.cpp:55:22: error: 'eng1' was not declared in this scope HmcSampler.cpp:55:26: error: 'nd' was not declared in this scope HmcSampler.cpp: In member function 'void HmcSampler::_getNextLinearHitTime(const VectorXd&, const VectorXd&, double&, int&)': HmcSampler.cpp:155:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] HmcSampler.cpp: In member function 'void HmcSampler::_getNextQuadraticHitTime(const VectorXd&, const VectorXd&, double&, int&, bool)': HmcSampler.cpp:198:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] HmcSampler.cpp: In member function 'double HmcSampler::_verifyConstraints(const VectorXd&)': HmcSampler.cpp:247:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] HmcSampler.cpp:255:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ../inst/include/magnet/math/quartic_error.hpp: In function 'double magnet::math::quarticError(const double&, const double&, const double&, const double&, const double*, std::size_t)': ../inst/include/magnet/math/quartic_error.hpp:58:5: warning: control reaches end of non-void function [-Wreturn-type] make[1]: *** [HmcSampler.o] Error 1 make[1]: Leaving directory `/cygdrive/d/temp/RtmpuGoWMz/R.INSTALL2acc1e036639/tmg/src-i386' Warning: running command 'make -f "Makevars.win" -f "D:/Rcompile/recent/R-3.0.3/etc/i386/Makeconf" -f "D:/Rcompile/recent/R-3.0.3/etc/i386/Makevars.site" -f "D:/Rcompile/recent/R-3.0.3/share/make/winshlib.mk" -f "C:\Users\CRAN\Documents/.R/Makevars" SHLIB_LDFLAGS='$(SHLIB_CXXLDFLAGS)' SHLIB_LD='$(SHLIB_CXXLD)' SHLIB="tmg.dll" OBJECTS="HmcSampler.o rtmg.o" symbols.rds' had status 2 ERROR: compilation failed for package 'tmg' * removing 'd:/Rcompile/CRANpkg/lib/3.0/tmg' * restoring previous 'd:/Rcompile/CRANpkg/lib/3.0/tmg'