* installing *source* package ‘parglm’ ...
** this is package ‘parglm’ version ‘0.1.9-1’
** package ‘parglm’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++17
using SDK: ‘MacOSX11.3.1.sdk’
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DUSE_FC_LEN_T -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppArmadillo/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c LAPACK_wrappers.cpp -o LAPACK_wrappers.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DUSE_FC_LEN_T -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppArmadillo/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c R_BLAS_LAPACK.cpp -o R_BLAS_LAPACK.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DUSE_FC_LEN_T -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppArmadillo/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DUSE_FC_LEN_T -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppArmadillo/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c family.cpp -o family.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DUSE_FC_LEN_T -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppArmadillo/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c parallel_glm.cpp -o parallel_glm.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DUSE_FC_LEN_T -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppArmadillo/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c parallel_qr.cpp -o parallel_qr.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DUSE_FC_LEN_T -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppArmadillo/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c thread_pool.cpp -o thread_pool.o
In file included from thread_pool.cpp:1:
./thread_pool.h:126:28: error: implicit instantiation of undefined template 'std::vector<std::thread>'
std::vector<std::thread> threads;
^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/iosfwd:216:28: note: template is declared here
class _LIBCPP_TEMPLATE_VIS vector;
^
thread_pool.cpp:9:34: error: implicit instantiation of undefined template 'std::vector<std::thread>'
for(unsigned long i=0;i<threads.size();++i)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/iosfwd:216:28: note: template is declared here
class _LIBCPP_TEMPLATE_VIS vector;
^
thread_pool.cpp:11:12: error: type 'std::vector<std::thread>' does not provide a subscript operator
threads[i].join();
~~~~~~~^~
3 errors generated.
make: *** [thread_pool.o] Error 1
make: *** Waiting for unfinished jobs....
ERROR: compilation failed for package ‘parglm’
* removing ‘/Volumes/Builds/packages/big-sur-x86_64/results/4.5/parglm.Rcheck/parglm’