* using log directory 'd:/Rcompile/CRANpkg/local/3.5/EmbedSOM.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 'EmbedSOM/DESCRIPTION' ... OK * this is package 'EmbedSOM' version '2.1.1' * 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 'EmbedSOM' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/3.5/EmbedSOM.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'EmbedSOM' ... ** package 'EmbedSOM' successfully unpacked and MD5 sums checked ** libs *** arch - i386 make[1]: Entering directory `/cygdrive/d/temp/Rtmpuy9MJM/R.INSTALL2a985ffb7421/EmbedSOM/src-i386' d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -I"D:/RCompile/recent/R-3.5.3/include" -DNDEBUG -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c embed.cpp -o embed.o In file included from D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/thread:35:0, from embed.cpp:23: 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 \ ^ embed.cpp: In function 'void embedsom(size_t, size_t, size_t, size_t, float, size_t, float, const float*, const float*, const float*, float*)': embed.cpp:357:10: error: 'thread' was not declared in this scope vector ts(threads); ^ embed.cpp:357:16: error: template argument 1 is invalid vector ts(threads); ^ embed.cpp:357:16: error: template argument 2 is invalid embed.cpp:357:20: error: invalid type in declaration before '(' token vector ts(threads); ^ embed.cpp:359:8: error: invalid types 'int[size_t {aka unsigned int}]' for array subscript ts[i] = thread( ^ embed.cpp:378:6: warning: lambda expressions only available with -std=c++11 or -std=gnu++11 }, ^ embed.cpp:380:8: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] for (auto &t : ts) ^ embed.cpp:380:18: error: range-based 'for' loops are not allowed in C++98 mode for (auto &t : ts) ^ embed.cpp:381:6: error: request for member 'join' in 't', which is of non-class type 'int' t.join(); ^ embed.cpp: In function 'void C_embedSOM(int*, int*, int*, int*, int*, int*, float*, int*, float*, float*, float*, float*, float*)': embed.cpp:427:13: error: 'thread' has not been declared threads = thread::hardware_concurrency(); ^ embed.cpp:430:2: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] auto emf = embedsom; ^ embed.cpp:430:7: error: 'emf' does not name a type auto emf = embedsom; ^ embed.cpp:433:4: error: 'emf' was not declared in this scope emf = embedsom; ^ embed.cpp:435:4: error: 'emf' was not declared in this scope emf = embedsom; ^ embed.cpp:437:4: error: 'emf' was not declared in this scope emf = embedsom; ^ embed.cpp:439:3: error: 'emf' was not declared in this scope emf = embedsom; ^ embed.cpp:465:15: error: 'emf' was not declared in this scope embedding); ^ make[1]: *** [embed.o] Error 1 make[1]: Leaving directory `/cygdrive/d/temp/Rtmpuy9MJM/R.INSTALL2a985ffb7421/EmbedSOM/src-i386' ERROR: compilation failed for package 'EmbedSOM' * removing 'd:/Rcompile/CRANpkg/lib/3.5/EmbedSOM' * restoring previous 'd:/Rcompile/CRANpkg/lib/3.5/EmbedSOM' In R CMD INSTALL