* using log directory 'd:/Rcompile/CRANpkg/local/3.5/superml.Rcheck' * using R version 3.5.3 (2019-03-11) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'superml/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'superml' version '0.5.2' * package encoding: UTF-8 * 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 'superml' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/3.5/superml.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'superml' ... ** package 'superml' successfully unpacked and MD5 sums checked ** libs *** arch - i386 make[1]: Entering directory `/cygdrive/d/temp/RtmpEdahCa/R.INSTALL1b208db7a50/superml/src-i386' d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -I"D:/RCompile/recent/R-3.5.3/include" -DNDEBUG -I"d:/RCompile/CRANpkg/lib/3.5/Rcpp/include" -I"d:/RCompile/CRANpkg/lib/3.5/BH/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c RcppExports.cpp -o RcppExports.o d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -I"D:/RCompile/recent/R-3.5.3/include" -DNDEBUG -I"d:/RCompile/CRANpkg/lib/3.5/Rcpp/include" -I"d:/RCompile/CRANpkg/lib/3.5/BH/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c utils.cpp -o utils.o In file included from D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/regex:35:0, from utils.cpp:5: D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options. #error This file requires compiler and library support for the \ ^ utils.cpp: In function 'Rcpp::CharacterVector superSplit(std::string, char)': utils.cpp:15:25: error: 'move' is not a member of 'std' elems.push_back(std::move(item)); ^ utils.cpp: In function 'std::vector > superNgrams(std::string, Rcpp::NumericVector, char)': utils.cpp:45:68: error: '>>' should be '> >' within a nested template argument list std::vector rx = as>(r); ^ utils.cpp: In function 'std::vector > superTokenizer(std::vector >)': utils.cpp:63:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] for(auto i: string){ ^ utils.cpp:63:14: error: 'i' does not name a type for(auto i: string){ ^ utils.cpp:72:5: error: expected ';' before 'return' return output; ^ utils.cpp:72:5: error: expected primary-expression before 'return' utils.cpp:72:5: error: expected ';' before 'return' utils.cpp:72:5: error: expected primary-expression before 'return' utils.cpp:72:5: error: expected ')' before 'return' utils.cpp: In function 'Rcpp::NumericMatrix superCountMatrix(std::vector >, std::vector >)': utils.cpp:82:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i < sent.size(); i++){ ^ utils.cpp:85:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=0; j < tokens.size(); j++){ ^ utils.cpp:86:13: error: 'regex' was not declared in this scope regex e = std::regex("\\b" + tokens[j] + "\\b"); ^ utils.cpp:87:42: error: 'e' was not declared in this scope string m = regex_replace (s, e, ""); ^ utils.cpp:87:47: error: 'regex_replace' was not declared in this scope string m = regex_replace (s, e, ""); ^ utils.cpp: In function 'std::vector > superTokenizer(std::vector >)': utils.cpp:74:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ make[1]: *** [utils.o] Error 1 make[1]: Leaving directory `/cygdrive/d/temp/RtmpEdahCa/R.INSTALL1b208db7a50/superml/src-i386' ERROR: compilation failed for package 'superml' * removing 'd:/Rcompile/CRANpkg/lib/3.5/superml' * restoring previous 'd:/Rcompile/CRANpkg/lib/3.5/superml' In R CMD INSTALL