Maybe you could add a note on this in the DESCRIPTION file? It'll help people on RHEL/CentOS.
* installing *source* package ‘RcppAlgos’ ...
** package ‘RcppAlgos’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
g++ -std=gnu++11 -I"/wynton/home/cbi/shared/software/CBI/R-3.6.2/lib64/R/include" -DNDEBUG -I../inst/include/ -I"/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/Rcpp/include" -I"/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include" -I/usr/local/include -fpic -g -O2 -c BigNumCount.cpp -o BigNumCount.o
g++ -std=gnu++11 -I"/wynton/home/cbi/shared/software/CBI/R-3.6.2/lib64/R/include" -DNDEBUG -I../inst/include/ -I"/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/Rcpp/include" -I"/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include" -I/usr/local/include -fpic -g -O2 -c CheckReturn.cpp -o CheckReturn.o
g++ -std=gnu++11 -I"/wynton/home/cbi/shared/software/CBI/R-3.6.2/lib64/R/include" -DNDEBUG -I../inst/include/ -I"/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/Rcpp/include" -I"/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include" -I/usr/local/include -fpic -g -O2 -c CombPermMaster.cpp -o CombPermMaster.o
In file included from /wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread.h:11:0,
from ../inst/include/Permutations.h:7,
from ../inst/include/CombPermPtr.h:5,
from CombPermMaster.cpp:2:
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/Thread.hpp: In lambda function:
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/Thread.hpp:42:19: error: parameter packs not expanded with ‘...’:
f(args...);
^
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/Thread.hpp:42:19: note: ‘args’
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/Thread.hpp:42:23: error: expansion pattern ‘args’ contains no argument packs
f(args...);
^
In file included from /wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread.h:13:0,
from ../inst/include/Permutations.h:7,
from ../inst/include/CombPermPtr.h:5,
from CombPermMaster.cpp:2:
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp: In member function ‘void RcppThread::ThreadPool::push(F&&, Args&& ...)’:
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp:127:31: error: expected ‘,’ before ‘...’ token
jobs_.emplace([f, args...] { f(args...); });
^
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp:127:31: error: expected identifier before ‘...’ token
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp:127:34: error: parameter packs not expanded with ‘...’:
jobs_.emplace([f, args...] { f(args...); });
^
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp:127:34: note: ‘args’
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp: In lambda function:
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp:127:44: error: expansion pattern ‘args’ contains no argument packs
jobs_.emplace([f, args...] { f(args...); });
^
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp: In member function ‘std::future RcppThread::ThreadPool::pushReturn(F&&, Args&& ...)’:
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp:144:54: error: expected ‘,’ before ‘...’ token
auto job = std::make_shared([&f, args...] {
^
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp:144:54: error: expected identifier before ‘...’ token
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp:144:57: error: parameter packs not expanded with ‘...’:
auto job = std::make_shared([&f, args...] {
^
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp:144:57: note: ‘args’
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp: In lambda function:
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp:145:22: error: expansion pattern ‘args’ contains no argument packs
return f(args...);
^
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp: In instantiation of ‘struct RcppThread::ThreadPool::push(F&&, Args&& ...) [with F = std::reference_wrapper&, const std::vector&, std::vector, int, int, int, int, const std::vector&)>; Args = {std::referenc\
e_wrapper >, std::reference_wrapper > >, std::vector >&, int&, int&, int&, int&, std::reference_wrapper > >}]::__lambda5’:
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp:127:9: required from ‘void RcppThread::ThreadPool::push(F&&, Args&& ...) [with F = std::reference_wrapper&, const std::vector&, std::vector, int, int, int, int, const std::vector&)>; Args = {std::referenc\
e_wrapper >, std::reference_wrapper > >, std::vector >&, int&, int&, int&, int&, std::reference_wrapper > >}]’
CombPermMaster.cpp:46:17: required from ‘void MasterReturn(typeRcpp&, std::vector, int, int, bool, bool, bool, bool, bool, const std::vector&, std::vector, const std::vector&, double, __mpz_struct (&)[1], int, int, bool, int) [with typeRcpp = Rcpp::Matrix<10>; T = int; mpz_t = __mpz_struct [1]]’
CombPermMaster.cpp:145:70: required from here
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp:127:27: error: using invalid field ‘RcppThread::ThreadPool::push(F&&, Args&& ...)::__lambda5::__args’
jobs_.emplace([f, args...] { f(args...); });
^
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp: In instantiation of ‘struct RcppThread::ThreadPool::push(F&&, Args&& ...) [with F = std::reference_wrapper&, const std::vector&, std::vector, int, int, int, int, const std::vector&)>; Args = {std::re\
ference_wrapper >, std::reference_wrapper > >, std::vector >&, int&, int&, int&, int&, std::reference_wrapper > >}]::__lambda5’:
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp:127:9: required from ‘void RcppThread::ThreadPool::push(F&&, Args&& ...) [with F = std::reference_wrapper&, const std::vector&, std::vector, int, int, int, int, const std::vector&)>; Args = {std::re\
ference_wrapper >, std::reference_wrapper > >, std::vector >&, int&, int&, int&, int&, std::reference_wrapper > >}]’
CombPermMaster.cpp:46:17: required from ‘void MasterReturn(typeRcpp&, std::vector, int, int, bool, bool, bool, bool, bool, const std::vector&, std::vector, const std::vector&, double, __mpz_struct (&)[1], int, int, bool, int) [with typeRcpp = Rcpp::Matrix<14>; T = double; mpz_t = __mpz_struct [1]]’
CombPermMaster.cpp:158:70: required from here
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp:127:27: error: using invalid field ‘RcppThread::ThreadPool::push(F&&, Args&& ...)::__lambda5::__args’
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp: In instantiation of ‘struct RcppThread::ThreadPool::push(F&&, Args&& ...) [with F = std::reference_wrapper&, const int*, std::vector, int, int, int, int, int, int, bool)>; Args = {std::reference_wrapper >, int*, std::vector >&, int&, int&, int&, int&, const int&, int&, bool&}]::__lambda5’:
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp:127:9: required from ‘void RcppThread::ThreadPool::push(F&&, Args&& ...) [with F = std::reference_wrapper&, const int*, std::vector, int, int, int, int, int, int, bool)>; Args = {std::reference_wrapper >, int*, std::vector >&, int&, int&, int&, int&, const int&, int&, bool&}]’
../inst/include/Permutations.h:135:13: required from ‘void PermuteParallel(typeMatrix&, typeVector, std::vector, int, int, int, int, int, bool) [with typeMatrix = RcppParallel::RMatrix; typeVector = std::vector]’
CombPermMaster.cpp:58:81: required from ‘void MasterReturn(typeRcpp&, std::vector, int, int, bool, bool, bool, bool, bool, const std::vector&, std::vector, const std::vector&, double, __mpz_struct (&)[1], int, int, bool, int) [with typeRcpp = Rcpp::Matrix<10>; T = int; mpz_t = __mpz_struct [1]]’
CombPermMaster.cpp:145:70: required from here
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp:127:27: error: using invalid field ‘RcppThread::ThreadPool::push(F&&, Args&& ...)::__lambda5::__args’
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp: In instantiation of ‘struct RcppThread::ThreadPool::push(F&&, Args&& ...) [with F = std::reference_wrapper&, const int*, std::vector, int, int, int, int, int, int, bool)>; Args = {std::reference_wrapper >, int*, std::vector >&, int&, int&, int&, int&, const int&, int&, bool&}]::__lambda5’:
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp:127:31: error: expected identifier before ‘...’ token
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp:127:34: error: parameter packs not expanded with ‘...’:
jobs_.emplace([f, args...] { f(args...); });
^
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp:127:34: note: ‘args’
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp: In lambda function:
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp:127:44: error: expansion pattern ‘args’ contains no argument packs
jobs_.emplace([f, args...] { f(args...); });
^
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp: In member function ‘std::future RcppThread::ThreadPool::pushReturn(F&&, Args&& ...)’:
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp:144:54: error: expected ‘,’ before ‘...’ token
auto job = std::make_shared([&f, args...] {
^
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp:144:54: error: expected identifier before ‘...’ token
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp:144:57: error: parameter packs not expanded with ‘...’:
auto job = std::make_shared([&f, args...] {
^
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp:144:57: note: ‘args’
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp: In lambda function:
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp:145:22: error: expansion pattern ‘args’ contains no argument packs
return f(args...);
^
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp: In instantiation of ‘struct RcppThread::ThreadPool::push(F&&, Args&& ...) [with F = std::reference_wrapper&, const std::vector&, std::vector, int, int, int, int, const std::vector&)>; Args = {std::referenc\
e_wrapper >, std::reference_wrapper > >, std::vector >&, int&, int&, int&, int&, std::reference_wrapper > >}]::__lambda5’:
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp:127:9: required from ‘void RcppThread::ThreadPool::push(F&&, Args&& ...) [with F = std::reference_wrapper&, const std::vector&, std::vector, int, int, int, int, const std::vector&)>; Args = {std::referenc\
e_wrapper >, std::reference_wrapper > >, std::vector >&, int&, int&, int&, int&, std::reference_wrapper > >}]’
CombPermMaster.cpp:46:17: required from ‘void MasterReturn(typeRcpp&, std::vector, int, int, bool, bool, bool, bool, bool, const std::vector&, std::vector, const std::vector&, double, __mpz_struct (&)[1], int, int, bool, int) [with typeRcpp = Rcpp::Matrix<10>; T = int; mpz_t = __mpz_struct [1]]’
CombPermMaster.cpp:145:70: required from here
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp:127:27: error: using invalid field ‘RcppThread::ThreadPool::push(F&&, Args&& ...)::__lambda5::__args’
jobs_.emplace([f, args...] { f(args...); });
^
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp: In instantiation of ‘struct RcppThread::ThreadPool::push(F&&, Args&& ...) [with F = std::reference_wrapper&, const std::vector&, std::vector, int, int, int, int, const std::vector&)>; Args = {std::re\
ference_wrapper >, std::reference_wrapper > >, std::vector >&, int&, int&, int&, int&, std::reference_wrapper > >}]::__lambda5’:
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp:127:9: required from ‘void RcppThread::ThreadPool::push(F&&, Args&& ...) [with F = std::reference_wrapper&, const std::vector&, std::vector, int, int, int, int, const std::vector&)>; Args = {std::re\
ference_wrapper >, std::reference_wrapper > >, std::vector >&, int&, int&, int&, int&, std::reference_wrapper > >}]’
CombPermMaster.cpp:46:17: required from ‘void MasterReturn(typeRcpp&, std::vector, int, int, bool, bool, bool, bool, bool, const std::vector&, std::vector, const std::vector&, double, __mpz_struct (&)[1], int, int, bool, int) [with typeRcpp = Rcpp::Matrix<14>; T = double; mpz_t = __mpz_struct [1]]’
CombPermMaster.cpp:158:70: required from here
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp:127:27: error: using invalid field ‘RcppThread::ThreadPool::push(F&&, Args&& ...)::__lambda5::__args’
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp: In instantiation of ‘struct RcppThread::ThreadPool::push(F&&, Args&& ...) [with F = std::reference_wrapper&, const int*, std::vector, int, int, int, int, int, int, bool)>; Args = {std::reference_wrapper >, int*, std::vector >&, int&, int&, int&, int&, const int&, int&, bool&}]::__lambda5’:
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp:127:9: required from ‘void RcppThread::ThreadPool::push(F&&, Args&& ...) [with F = std::reference_wrapper&, const int*, std::vector, int, int, int, int, int, int, bool)>; Args = {std::reference_wrapper >, int*, std::vector >&, int&, int&, int&, int&, const int&, int&, bool&}]’
../inst/include/Permutations.h:135:13: required from ‘void PermuteParallel(typeMatrix&, typeVector, std::vector, int, int, int, int, int, bool) [with typeMatrix = RcppParallel::RMatrix; typeVector = std::vector]’
CombPermMaster.cpp:58:81: required from ‘void MasterReturn(typeRcpp&, std::vector, int, int, bool, bool, bool, bool, bool, const std::vector&, std::vector, const std::vector&, double, __mpz_struct (&)[1], int, int, bool, int) [with typeRcpp = Rcpp::Matrix<10>; T = int; mpz_t = __mpz_struct [1]]’
CombPermMaster.cpp:145:70: required from here
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp:127:27: error: using invalid field ‘RcppThread::ThreadPool::push(F&&, Args&& ...)::__lambda5::__args’
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp: In instantiation of ‘struct RcppThread::ThreadPool::push(F&&, Args&& ...) [with F = std::reference_wrapper&, const int*, std::vector, int, int, int, int, int, int, bool)>; Args = {std::reference_wrapper >, int*, std::vector >&, int&, int&, int&, int&, const int&, int&, bool&}]::__lambda5’:
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp:127:9: required from ‘void RcppThread::ThreadPool::push(F&&, Args&& ...) [with F = std::reference_wrapper&, const int*, std::vector, int, int, int, int, int, int, bool)>; Args = {std::reference_wrapper >, int*, std::vector >&, int&, int&, int&, int&, const int&, int&, bool&}]’
../inst/include/Permutations.h:135:13: required from ‘void PermuteParallel(typeMatrix&, typeVector, std::vector, int, int, int, int, int, bool) [with typeMatrix = RcppParallel::RMatrix; typeVector = std::vector]’
CombPermMaster.cpp:58:81: required from ‘void MasterReturn(typeRcpp&, std::vector, int, int, bool, bool, bool, bool, bool, const std::vector&, std::vector, const std::vector&, double, __mpz_struct (&)[1], int, int, bool, int) [with typeRcpp = Rcpp::Matrix<14>; T = double; mpz_t = __mpz_struct [1]]’
CombPermMaster.cpp:158:70: required from here
/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI-revdepcheck/RcppThread/include/RcppThread/ThreadPool.hpp:127:27: error: using invalid field ‘RcppThread::ThreadPool::push(F&&, Args&& ...)::__lambda5::__args’
make: *** [CombPermMaster.o] Error 1
ERROR: compilation failed for package ‘RcppAlgos’