* using log directory 'd:/Rcompile/CRANpkg/local/2.13/RSofia.Rcheck' * using R version 2.13.2 (2011-09-30) * using platform: i386-pc-mingw32 (32-bit) * using session charset: ISO8859-1 * checking for file 'RSofia/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'RSofia' version '1.1' * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking whether package 'RSofia' can be installed ... ERROR Installation failed. The installation logfile: * installing *source* package 'RSofia' ... ** libs *** arch - i386 make[1]: Entering directory `/cygdrive/d/Rcompile/CRANpkg/local/2.13/RSofia/src-i386' g++ -I"d:/Rcompile/recent/R-2.13.2/include" -I"d:/RCompile/CRANpkg/lib/2.13/Rcpp/include" -I"d:/Rcompile/CRANpkg/extralibs/local/include" -O2 -Wall -c RSofiaFacade.cc -o RSofiaFacade.o RSofiaFacade.cc: In member function 'std::map, SEXPREC*> RSofiaFacade::internal_train(const SfDataSet&, long int, float, long int, const std::string&, const std::string&, const std::string&, float, float, float, float, bool, int, int, bool, bool)': RSofiaFacade.cc:49:3: error: 'clock_t' was not declared in this scope RSofiaFacade.cc:49:11: error: expected ';' before 'train_start' RSofiaFacade.cc:73:11: error: expected ';' before 'train_end' RSofiaFacade.cc:74:25: error: 'train_end' was not declared in this scope RSofiaFacade.cc:74:37: error: 'train_start' was not declared in this scope RSofiaFacade.cc:74:59: error: 'CLOCKS_PER_SEC' was not declared in this scope RSofiaFacade.cc:56:7: warning: unused variable 'bad' RSofiaFacade.cc: In member function 'std::map, SEXPREC*> RSofiaFacade::train_filename(const std::string&, long int, float, long int, const std::string&, const std::string&, const std::string&, float, float, float, float, bool, int, int, bool, bool, int)': RSofiaFacade.cc:116:3: error: 'clock_t' was not declared in this scope RSofiaFacade.cc:116:11: error: expected ';' before 't1' RSofiaFacade.cc:120:11: error: expected ';' before 't2' RSofiaFacade.cc:141:20: error: 't2' was not declared in this scope RSofiaFacade.cc:141:25: error: 't1' was not declared in this scope RSofiaFacade.cc:141:36: error: 'CLOCKS_PER_SEC' was not declared in this scope RSofiaFacade.cc: In member function 'std::map, SEXPREC*> RSofiaFacade::train_fit(const Rcpp::NumericMatrix&, const Rcpp::NumericVector&, long int, float, long int, const std::string&, const std::string&, const std::string&, float, float, float, float, bool, int, int, bool, bool, size_t)': RSofiaFacade.cc:184:3: error: 'clock_t' was not declared in this scope RSofiaFacade.cc:184:11: error: expected ';' before 't1' RSofiaFacade.cc:197:11: error: expected ';' before 't2' RSofiaFacade.cc:199:20: error: 't2' was not declared in this scope RSofiaFacade.cc:199:25: error: 't1' was not declared in this scope RSofiaFacade.cc:199:36: error: 'CLOCKS_PER_SEC' was not declared in this scope RSofiaFacade.cc: In member function 'std::vector RSofiaFacade::predict(const Rcpp::NumericVector&, const Rcpp::NumericMatrix&, bool, const std::string&)': RSofiaFacade.cc:240:39: warning: comparison between signed and unsigned integer expressions make[1]: *** [RSofiaFacade.o] Error 1 make[1]: Leaving directory `/cygdrive/d/Rcompile/CRANpkg/local/2.13/RSofia/src-i386' ERROR: compilation failed for package 'RSofia' * removing 'd:/Rcompile/CRANpkg/lib/2.13/RSofia' * restoring previous 'd:/Rcompile/CRANpkg/lib/2.13/RSofia'