* installing *source* package ‘poLCAParallel’ ...
** this is package ‘poLCAParallel’ version ‘1.2.6’
** package ‘poLCAParallel’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
specified C++20
using C compiler: ‘Apple clang version 17.0.0 (clang-1700.3.19.1)’
using C++ compiler: ‘Apple clang version 17.0.0 (clang-1700.3.19.1)’
using C++20
using SDK: ‘MacOSX14.5.sdk’
clang++ -arch arm64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/RcppArmadillo/include' -I/opt/R/arm64/include -DARMA_WARN_LEVEL=1 -DUSE_RCPP -fPIC -falign-functions=64 -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o
clang++ -arch arm64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/RcppArmadillo/include' -I/opt/R/arm64/include -DARMA_WARN_LEVEL=1 -DUSE_RCPP -fPIC -falign-functions=64 -Wall -g -O2 -c blrt.cc -o blrt.o
clang++ -arch arm64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/RcppArmadillo/include' -I/opt/R/arm64/include -DARMA_WARN_LEVEL=1 -DUSE_RCPP -fPIC -falign-functions=64 -Wall -g -O2 -c blrt_rcpp.cc -o blrt_rcpp.o
clang++ -arch arm64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/RcppArmadillo/include' -I/opt/R/arm64/include -DARMA_WARN_LEVEL=1 -DUSE_RCPP -fPIC -falign-functions=64 -Wall -g -O2 -c em_algorithm.cc -o em_algorithm.o
clang++ -arch arm64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/RcppArmadillo/include' -I/opt/R/arm64/include -DARMA_WARN_LEVEL=1 -DUSE_RCPP -fPIC -falign-functions=64 -Wall -g -O2 -c em_algorithm_array.cc -o em_algorithm_array.o
clang++ -arch arm64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/RcppArmadillo/include' -I/opt/R/arm64/include -DARMA_WARN_LEVEL=1 -DUSE_RCPP -fPIC -falign-functions=64 -Wall -g -O2 -c em_algorithm_array_serial.cc -o em_algorithm_array_serial.o
blrt.cc:62:20: error: no member named 'jthread' in namespace 'std'
62 | std::vector<std::jthread> thread_array(this->n_thread_ - 1);
| ~~~~~^
blrt.cc:63:13: error: no type named 'jthread' in namespace 'std'; did you mean 'thread'?
63 | for (std::jthread& thread : thread_array) {
| ~~~~~^~~~~~~
| thread
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__thread/thread.h:164:33: note: 'thread' declared here
164 | class _LIBCPP_EXPORTED_FROM_ABI thread
| ^
em_algorithm_array.cc:84:20: error: no member named 'jthread' in namespace 'std'
84 | std::vector<std::jthread> thread_array(this->n_thread_ - 1);
| ~~~~~^
em_algorithm_array.cc:85:13: error: no type named 'jthread' in namespace 'std'; did you mean 'thread'?
85 | for (std::jthread& thread : thread_array) {
| ~~~~~^~~~~~~
| thread
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__thread/thread.h:164:33: note: 'thread' declared here
164 | class _LIBCPP_EXPORTED_FROM_ABI thread
| ^
em_algorithm_array.cc:86:19: error: no member named 'jthread' in namespace 'std'
86 | thread = std::jthread(&EmAlgorithmArray::FitThread<EmAlgorithmType>, this);
| ~~~~~^
blrt.cc:64:19: error: no member named 'jthread' in namespace 'std'
64 | thread = std::jthread(&Blrt::RunThread, this);
| ~~~~~^
3 errors generated.
3 errors generated.
make: *** [em_algorithm_array.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [blrt.o] Error 1
ERROR: compilation failed for package ‘poLCAParallel’
* removing ‘/Volumes/Builds/packages/sonoma-arm64/results/4.6/poLCAParallel.Rcheck/poLCAParallel’