* installing *source* package ‘poLCAParallel’ ...
** this is package ‘poLCAParallel’ version ‘1.2.6’
** package ‘poLCAParallel’ 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++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++20
using SDK: ‘MacOSX11.3.1.sdk’
clang++ -arch arm64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.5/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.5/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/big-sur-arm64/Rlib/4.5/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.5/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/big-sur-arm64/Rlib/4.5/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.5/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/big-sur-arm64/Rlib/4.5/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.5/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/big-sur-arm64/Rlib/4.5/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.5/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/big-sur-arm64/Rlib/4.5/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.5/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_rcpp.cc:95:24: error: no matching constructor for initialization of 'polca_parallel::Blrt'
polca_parallel::Blrt blrt(prior_null, prob_null, prior_alt, prob_alt, n_data,
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./blrt.h:156:3: note: candidate constructor not viable: no known conversion from 'Rcpp::NumericVector' (aka 'Vector<14>') to 'std::span<const double>' for 1st argument
Blrt(std::span<const double> prior_null, std::span<const double> prob_null,
^
./blrt.h:50:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 12 were provided
class Blrt {
^
blrt.cc:62:20: error: no member named 'jthread' in namespace 'std'
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'?
for (std::jthread& thread : thread_array) {
~~~~~^~~~~~~
thread
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/thread:216:24: note: 'thread' declared here
class _LIBCPP_TYPE_VIS thread
^
blrt.cc:64:19: error: no member named 'jthread' in namespace 'std'
thread = std::jthread(&Blrt::RunThread, this);
~~~~~^
em_algorithm_array.cc:84:20: error: no member named 'jthread' in namespace 'std'
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'?
for (std::jthread& thread : thread_array) {
~~~~~^~~~~~~
thread
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/thread:216:24: note: 'thread' declared here
class _LIBCPP_TYPE_VIS thread
^
em_algorithm_array.cc:86:19: error: no member named 'jthread' in namespace 'std'
thread = std::jthread(&EmAlgorithmArray::FitThread<EmAlgorithmType>, this);
~~~~~^
1 error generated.
make: *** [blrt_rcpp.o] Error 1
make: *** Waiting for unfinished jobs....
3 errors generated.
make: *** [blrt.o] Error 1
3 errors generated.
make: *** [em_algorithm_array.o] Error 1
ERROR: compilation failed for package ‘poLCAParallel’
* removing ‘/Volumes/Builds/packages/big-sur-arm64/results/4.5/poLCAParallel.Rcheck/poLCAParallel’