* installing *source* package ‘DiscreteTests’ ...
** this is package ‘DiscreteTests’ version ‘0.4.0’
** package ‘DiscreteTests’ 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 SDK: ‘MacOSX11.3.1.sdk’
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/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++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c mann_whitney.cpp -o mann_whitney.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c permutation.cpp -o permutation.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sign_rank.cpp -o sign_rank.o
permutation.cpp:5:37: error: implicit instantiation of undefined template 'std::array<double, 2>'
static inline std::array<double, 2> means_helper(
^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/__tuple:219:64: note: template is declared here
template <class _Tp, size_t _Size> struct _LIBCPP_TEMPLATE_VIS array;
^
permutation.cpp:22:10: error: implicit instantiation of undefined template 'std::array<double, 2>'
return {sum_chosen/size_chosen, (sum_pool - sum_chosen)/size_unchosen};
^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/__tuple:219:64: note: template is declared here
template <class _Tp, size_t _Size> struct _LIBCPP_TEMPLATE_VIS array;
^
permutation.cpp:34:25: error: implicit instantiation of undefined template 'std::array<double, 2>'
std::array<double, 2> means = means_helper(
^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/__tuple:219:64: note: template is declared here
template <class _Tp, size_t _Size> struct _LIBCPP_TEMPLATE_VIS array;
^
permutation.cpp:94:37: error: implicit instantiation of undefined template 'std::array<double, 4>'
static inline std::array<double, 4> sqsums_helper(
^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/__tuple:219:64: note: template is declared here
template <class _Tp, size_t _Size> struct _LIBCPP_TEMPLATE_VIS array;
^
permutation.cpp:103:25: error: implicit instantiation of undefined template 'std::array<double, 4>'
std::array<double, 4> out = {0.0, 0.0, 0.0, 0.0};
^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/__tuple:219:64: note: template is declared here
template <class _Tp, size_t _Size> struct _LIBCPP_TEMPLATE_VIS array;
^
permutation.cpp:146:25: error: implicit instantiation of undefined template 'std::array<double, 4>'
std::array<double, 4> sqs_means = sqsums_helper(
^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/__tuple:219:64: note: template is declared here
template <class _Tp, size_t _Size> struct _LIBCPP_TEMPLATE_VIS array;
^
permutation.cpp:168:25: error: implicit instantiation of undefined template 'std::array<double, 4>'
std::array<double, 4> sqs_means = sqsums_helper(
^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/__tuple:219:64: note: template is declared here
template <class _Tp, size_t _Size> struct _LIBCPP_TEMPLATE_VIS array;
^
permutation.cpp:191:25: error: implicit instantiation of undefined template 'std::array<double, 4>'
std::array<double, 4> sqs_means = sqsums_helper(
^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/__tuple:219:64: note: template is declared here
template <class _Tp, size_t _Size> struct _LIBCPP_TEMPLATE_VIS array;
^
8 errors generated.
make: *** [permutation.o] Error 1
make: *** Waiting for unfinished jobs....
ERROR: compilation failed for package ‘DiscreteTests’
* removing ‘/Volumes/Builds/packages/big-sur-x86_64/results/4.6/DiscreteTests.Rcheck/DiscreteTests’