* installing *source* package ‘GRAB’ ...
** this is package ‘GRAB’ version ‘0.2.5’
** package ‘GRAB’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘clang version 23.1.1’
make[1]: Entering directory '/data/localhost/ripley/R/packages/tests-clang/GRAB/src'
/usr/local/clang23/bin/clang++ -std=gnu++20 -I"/data/localhost/ripley/R/R-clang/include" -DNDEBUG -DARMA_64BIT_WORD=1 -I'/data/localhost/ripley/R/test-clang/Rcpp/include' -I'/data/localhost/ripley/R/test-clang/RcppArmadillo/include' -I'/data/localhost/ripley/R/test-clang/RcppParallel/include' -I'/data/localhost/ripley/R/test-clang/BH/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -D_LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23   -c BGEN.cpp -o BGEN.o
/usr/local/clang23/bin/clang++ -std=gnu++20 -I"/data/localhost/ripley/R/R-clang/include" -DNDEBUG -DARMA_64BIT_WORD=1 -I'/data/localhost/ripley/R/test-clang/Rcpp/include' -I'/data/localhost/ripley/R/test-clang/RcppArmadillo/include' -I'/data/localhost/ripley/R/test-clang/RcppParallel/include' -I'/data/localhost/ripley/R/test-clang/BH/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -D_LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23   -c DenseGRM.cpp -o DenseGRM.o
BGEN.cpp:75:12: warning: unused variable 'CompressedSNPBlocks' [-Wunused-variable]
   75 |   uint32_t CompressedSNPBlocks = flags&3; //Rcpp::Rcout << "    CompressedSNPBlocks: " << CompressedSNPBlocks << std::endl;
      |            ^~~~~~~~~~~~~~~~~~~
BGEN.cpp:77:12: warning: unused variable 'Layout' [-Wunused-variable]
   77 |   uint32_t Layout = (flags>>2)&0xf; //Rcpp::Rcout << "    Layout: " << Layout << std::endl;
      |            ^~~~~~
2 warnings generated.
/usr/local/clang23/bin/clang++ -std=gnu++20 -I"/data/localhost/ripley/R/R-clang/include" -DNDEBUG -DARMA_64BIT_WORD=1 -I'/data/localhost/ripley/R/test-clang/Rcpp/include' -I'/data/localhost/ripley/R/test-clang/RcppArmadillo/include' -I'/data/localhost/ripley/R/test-clang/RcppParallel/include' -I'/data/localhost/ripley/R/test-clang/BH/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -D_LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23   -c Main.cpp -o Main.o
In file included from Main.cpp:43:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/math/distributions/beta.hpp:31:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/math/special_functions/beta.hpp:23:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/math/special_functions/gamma.hpp:27:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/math/constants/constants.hpp:18:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/math/tools/convert_from_string.hpp:23:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/lexical_cast.hpp:33:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/lexical_cast/try_lexical_convert.hpp:31:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:47:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/container/container_fwd.hpp:65:
/data/localhost/ripley/R/test-clang/BH/include/boost/container/detail/std_fwd.hpp:29:1: warning: unused attribute '__exclude_from_explicit_instantiation__' in '#pragma clang attribute push' region [-Wpragma-clang-attribute]
   29 | BOOST_MOVE_STD_NS_BEG
      | ^
/data/localhost/ripley/R/test-clang/BH/include/boost/move/detail/std_ns_begin.hpp:21:34: note: expanded from macro 'BOOST_MOVE_STD_NS_BEG'
   21 |    #define BOOST_MOVE_STD_NS_BEG _LIBCPP_BEGIN_NAMESPACE_STD
      |                                  ^
/usr/local/clang23/bin/../include/c++/v1/__configuration/namespace.h:74:39: note: expanded from macro '_LIBCPP_BEGIN_NAMESPACE_STD'
   74 | #  define _LIBCPP_BEGIN_NAMESPACE_STD _LIBCPP_BEGIN_UNVERSIONED_NAMESPACE_STD inline namespace _LIBCPP_ABI_NAMESPACE {
      |                                       ^
/usr/local/clang23/bin/../include/c++/v1/__configuration/namespace.h:70:40: note: expanded from macro '_LIBCPP_BEGIN_UNVERSIONED_NAMESPACE_STD'
   70 |     _LIBCPP_PUSH_EXTENSION_DIAGNOSTICS _LIBCPP_END_EXPLICIT_ABI_ANNOTATIONS namespace _LIBCPP_NAMESPACE_VISIBILITY std {
      |                                        ^
/usr/local/clang23/bin/../include/c++/v1/__configuration/namespace.h:51:3: note: expanded from macro '_LIBCPP_END_EXPLICIT_ABI_ANNOTATIONS'
   51 |   _Pragma(_LIBCPP_TOSTRING(clang attribute _LibcxxExplicitABIAnnotations.push(                                         \
      |   ^
<scratch space>:134:69: note: expanded from here
  134 |  clang attribute _LibcxxExplicitABIAnnotations.push( __attribute__((__exclude_from_explicit_instantiation__, __visibility__("hidden"), __abi_tag__("nqe230101"))), apply_to = function)
      |                                                                     ^
/data/localhost/ripley/R/test-clang/BH/include/boost/container/detail/std_fwd.hpp:61:1: note: '#pragma clang attribute push' regions ends here
   61 | BOOST_MOVE_STD_NS_END
      | ^
/data/localhost/ripley/R/test-clang/BH/include/boost/move/detail/std_ns_begin.hpp:22:34: note: expanded from macro 'BOOST_MOVE_STD_NS_END'
   22 |    #define BOOST_MOVE_STD_NS_END _LIBCPP_END_NAMESPACE_STD
      |                                  ^
/usr/local/clang23/bin/../include/c++/v1/__configuration/namespace.h:75:39: note: expanded from macro '_LIBCPP_END_NAMESPACE_STD'
   75 | #  define _LIBCPP_END_NAMESPACE_STD } _LIBCPP_END_UNVERSIONED_NAMESPACE_STD
      |                                       ^
/usr/local/clang23/bin/../include/c++/v1/__configuration/namespace.h:72:51: note: expanded from macro '_LIBCPP_END_UNVERSIONED_NAMESPACE_STD'
   72 | #  define _LIBCPP_END_UNVERSIONED_NAMESPACE_STD } _LIBCPP_BEGIN_EXPLICIT_ABI_ANNOTATIONS _LIBCPP_POP_EXTENSION_DIAGNOSTICS
      |                                                   ^
/usr/local/clang23/bin/../include/c++/v1/__configuration/namespace.h:57:48: note: expanded from macro '_LIBCPP_BEGIN_EXPLICIT_ABI_ANNOTATIONS'
   57 | #define _LIBCPP_BEGIN_EXPLICIT_ABI_ANNOTATIONS _Pragma("clang attribute _LibcxxExplicitABIAnnotations.pop")
      |                                                ^
<scratch space>:136:8: note: expanded from here
  136 |  clang attribute _LibcxxExplicitABIAnnotations.pop
      |        ^
In file included from Main.cpp:43:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/math/distributions/beta.hpp:31:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/math/special_functions/beta.hpp:23:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/math/special_functions/gamma.hpp:27:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/math/constants/constants.hpp:18:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/math/tools/convert_from_string.hpp:23:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/lexical_cast.hpp:33:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/lexical_cast/try_lexical_convert.hpp:31:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:47:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/container/container_fwd.hpp:65:
/data/localhost/ripley/R/test-clang/BH/include/boost/container/detail/std_fwd.hpp:29:1: warning: unused attribute '__visibility__' in '#pragma clang attribute push' region [-Wpragma-clang-attribute]
   29 | BOOST_MOVE_STD_NS_BEG
      | ^
/data/localhost/ripley/R/test-clang/BH/include/boost/move/detail/std_ns_begin.hpp:21:34: note: expanded from macro 'BOOST_MOVE_STD_NS_BEG'
   21 |    #define BOOST_MOVE_STD_NS_BEG _LIBCPP_BEGIN_NAMESPACE_STD
      |                                  ^
/usr/local/clang23/bin/../include/c++/v1/__configuration/namespace.h:74:39: note: expanded from macro '_LIBCPP_BEGIN_NAMESPACE_STD'
   74 | #  define _LIBCPP_BEGIN_NAMESPACE_STD _LIBCPP_BEGIN_UNVERSIONED_NAMESPACE_STD inline namespace _LIBCPP_ABI_NAMESPACE {
      |                                       ^
/usr/local/clang23/bin/../include/c++/v1/__configuration/namespace.h:70:40: note: expanded from macro '_LIBCPP_BEGIN_UNVERSIONED_NAMESPACE_STD'
   70 |     _LIBCPP_PUSH_EXTENSION_DIAGNOSTICS _LIBCPP_END_EXPLICIT_ABI_ANNOTATIONS namespace _LIBCPP_NAMESPACE_VISIBILITY std {
      |                                        ^
/usr/local/clang23/bin/../include/c++/v1/__configuration/namespace.h:51:3: note: expanded from macro '_LIBCPP_END_EXPLICIT_ABI_ANNOTATIONS'
   51 |   _Pragma(_LIBCPP_TOSTRING(clang attribute _LibcxxExplicitABIAnnotations.push(                                         \
      |   ^
<scratch space>:134:110: note: expanded from here
  134 |  clang attribute _LibcxxExplicitABIAnnotations.push( __attribute__((__exclude_from_explicit_instantiation__, __visibility__("hidden"), __abi_tag__("nqe230101"))), apply_to = function)
      |                                                                                                              ^
/data/localhost/ripley/R/test-clang/BH/include/boost/container/detail/std_fwd.hpp:61:1: note: '#pragma clang attribute push' regions ends here
   61 | BOOST_MOVE_STD_NS_END
      | ^
/data/localhost/ripley/R/test-clang/BH/include/boost/move/detail/std_ns_begin.hpp:22:34: note: expanded from macro 'BOOST_MOVE_STD_NS_END'
   22 |    #define BOOST_MOVE_STD_NS_END _LIBCPP_END_NAMESPACE_STD
      |                                  ^
/usr/local/clang23/bin/../include/c++/v1/__configuration/namespace.h:75:39: note: expanded from macro '_LIBCPP_END_NAMESPACE_STD'
   75 | #  define _LIBCPP_END_NAMESPACE_STD } _LIBCPP_END_UNVERSIONED_NAMESPACE_STD
      |                                       ^
/usr/local/clang23/bin/../include/c++/v1/__configuration/namespace.h:72:51: note: expanded from macro '_LIBCPP_END_UNVERSIONED_NAMESPACE_STD'
   72 | #  define _LIBCPP_END_UNVERSIONED_NAMESPACE_STD } _LIBCPP_BEGIN_EXPLICIT_ABI_ANNOTATIONS _LIBCPP_POP_EXTENSION_DIAGNOSTICS
      |                                                   ^
/usr/local/clang23/bin/../include/c++/v1/__configuration/namespace.h:57:48: note: expanded from macro '_LIBCPP_BEGIN_EXPLICIT_ABI_ANNOTATIONS'
   57 | #define _LIBCPP_BEGIN_EXPLICIT_ABI_ANNOTATIONS _Pragma("clang attribute _LibcxxExplicitABIAnnotations.pop")
      |                                                ^
<scratch space>:136:8: note: expanded from here
  136 |  clang attribute _LibcxxExplicitABIAnnotations.pop
      |        ^
In file included from Main.cpp:43:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/math/distributions/beta.hpp:31:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/math/special_functions/beta.hpp:23:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/math/special_functions/gamma.hpp:27:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/math/constants/constants.hpp:18:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/math/tools/convert_from_string.hpp:23:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/lexical_cast.hpp:33:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/lexical_cast/try_lexical_convert.hpp:31:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:47:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/container/container_fwd.hpp:65:
/data/localhost/ripley/R/test-clang/BH/include/boost/container/detail/std_fwd.hpp:29:1: warning: unused attribute '__abi_tag__' in '#pragma clang attribute push' region [-Wpragma-clang-attribute]
   29 | BOOST_MOVE_STD_NS_BEG
      | ^
/data/localhost/ripley/R/test-clang/BH/include/boost/move/detail/std_ns_begin.hpp:21:34: note: expanded from macro 'BOOST_MOVE_STD_NS_BEG'
   21 |    #define BOOST_MOVE_STD_NS_BEG _LIBCPP_BEGIN_NAMESPACE_STD
      |                                  ^
/usr/local/clang23/bin/../include/c++/v1/__configuration/namespace.h:74:39: note: expanded from macro '_LIBCPP_BEGIN_NAMESPACE_STD'
   74 | #  define _LIBCPP_BEGIN_NAMESPACE_STD _LIBCPP_BEGIN_UNVERSIONED_NAMESPACE_STD inline namespace _LIBCPP_ABI_NAMESPACE {
      |                                       ^
/usr/local/clang23/bin/../include/c++/v1/__configuration/namespace.h:70:40: note: expanded from macro '_LIBCPP_BEGIN_UNVERSIONED_NAMESPACE_STD'
   70 |     _LIBCPP_PUSH_EXTENSION_DIAGNOSTICS _LIBCPP_END_EXPLICIT_ABI_ANNOTATIONS namespace _LIBCPP_NAMESPACE_VISIBILITY std {
      |                                        ^
/usr/local/clang23/bin/../include/c++/v1/__configuration/namespace.h:51:3: note: expanded from macro '_LIBCPP_END_EXPLICIT_ABI_ANNOTATIONS'
   51 |   _Pragma(_LIBCPP_TOSTRING(clang attribute _LibcxxExplicitABIAnnotations.push(                                         \
      |   ^
<scratch space>:134:136: note: expanded from here
  134 |  clang attribute _LibcxxExplicitABIAnnotations.push( __attribute__((__exclude_from_explicit_instantiation__, __visibility__("hidden"), __abi_tag__("nqe230101"))), apply_to = function)
      |                                                                                                                                        ^
/data/localhost/ripley/R/test-clang/BH/include/boost/container/detail/std_fwd.hpp:61:1: note: '#pragma clang attribute push' regions ends here
   61 | BOOST_MOVE_STD_NS_END
      | ^
/data/localhost/ripley/R/test-clang/BH/include/boost/move/detail/std_ns_begin.hpp:22:34: note: expanded from macro 'BOOST_MOVE_STD_NS_END'
   22 |    #define BOOST_MOVE_STD_NS_END _LIBCPP_END_NAMESPACE_STD
      |                                  ^
/usr/local/clang23/bin/../include/c++/v1/__configuration/namespace.h:75:39: note: expanded from macro '_LIBCPP_END_NAMESPACE_STD'
   75 | #  define _LIBCPP_END_NAMESPACE_STD } _LIBCPP_END_UNVERSIONED_NAMESPACE_STD
      |                                       ^
/usr/local/clang23/bin/../include/c++/v1/__configuration/namespace.h:72:51: note: expanded from macro '_LIBCPP_END_UNVERSIONED_NAMESPACE_STD'
   72 | #  define _LIBCPP_END_UNVERSIONED_NAMESPACE_STD } _LIBCPP_BEGIN_EXPLICIT_ABI_ANNOTATIONS _LIBCPP_POP_EXTENSION_DIAGNOSTICS
      |                                                   ^
/usr/local/clang23/bin/../include/c++/v1/__configuration/namespace.h:57:48: note: expanded from macro '_LIBCPP_BEGIN_EXPLICIT_ABI_ANNOTATIONS'
   57 | #define _LIBCPP_BEGIN_EXPLICIT_ABI_ANNOTATIONS _Pragma("clang attribute _LibcxxExplicitABIAnnotations.pop")
      |                                                ^
<scratch space>:136:8: note: expanded from here
  136 |  clang attribute _LibcxxExplicitABIAnnotations.pop
      |        ^
Main.cpp:582:18: warning: variable 'Beta' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
  582 |       } else if (t_method == "SPAGRM") {
      |                  ^~~~~~~~~~~~~~~~~~~~
Main.cpp:591:23: note: uninitialized use occurs here
  591 |       BetaVec.at(i) = Beta * (1 - 2 * flip); // Beta if flip = false, -1*Beta is flip = true
      |                       ^~~~
Main.cpp:582:14: note: remove the 'if' if its condition is always false
  582 |       } else if (t_method == "SPAGRM") {
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  583 |         pval = ptr_gSPAGRMobj->getMarkerPval(GVec, altFreq, zScore, hwepval);
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  584 | 
  585 |       }  else {
      |       ~~~~~~~
Main.cpp:579:18: warning: variable 'Beta' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
  579 |       } else if (t_method == "SPACox") {
      |                  ^~~~~~~~~~~~~~~~~~~~
Main.cpp:591:23: note: uninitialized use occurs here
  591 |       BetaVec.at(i) = Beta * (1 - 2 * flip); // Beta if flip = false, -1*Beta is flip = true
      |                       ^~~~
Main.cpp:579:14: note: remove the 'if' if its condition is always false
  579 |       } else if (t_method == "SPACox") {
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  580 |         pval = ptr_gSPACoxobj->getMarkerPval(GVec, altFreq, zScore);
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  581 | 
  582 |       } else if (t_method == "SPAGRM") {
      |       ~~~~~~
Main.cpp:545:16: note: initialize the variable 'Beta' to silence this warning
  545 |     double Beta, seBeta, pval, zScore, hwepval;
      |                ^
      |                 = 0.0
Main.cpp:582:18: warning: variable 'seBeta' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
  582 |       } else if (t_method == "SPAGRM") {
      |                  ^~~~~~~~~~~~~~~~~~~~
Main.cpp:592:25: note: uninitialized use occurs here
  592 |       seBetaVec.at(i) = seBeta;
      |                         ^~~~~~
Main.cpp:582:14: note: remove the 'if' if its condition is always false
  582 |       } else if (t_method == "SPAGRM") {
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  583 |         pval = ptr_gSPAGRMobj->getMarkerPval(GVec, altFreq, zScore, hwepval);
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  584 | 
  585 |       }  else {
      |       ~~~~~~~
Main.cpp:579:18: warning: variable 'seBeta' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
  579 |       } else if (t_method == "SPACox") {
      |                  ^~~~~~~~~~~~~~~~~~~~
Main.cpp:592:25: note: uninitialized use occurs here
  592 |       seBetaVec.at(i) = seBeta;
      |                         ^~~~~~
Main.cpp:579:14: note: remove the 'if' if its condition is always false
  579 |       } else if (t_method == "SPACox") {
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  580 |         pval = ptr_gSPACoxobj->getMarkerPval(GVec, altFreq, zScore);
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  581 | 
  582 |       } else if (t_method == "SPAGRM") {
      |       ~~~~~~
Main.cpp:545:24: note: initialize the variable 'seBeta' to silence this warning
  545 |     double Beta, seBeta, pval, zScore, hwepval;
      |                        ^
      |                         = 0.0
Main.cpp:579:18: warning: variable 'hwepval' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
  579 |       } else if (t_method == "SPACox") {
      |                  ^~~~~~~~~~~~~~~~~~~~
Main.cpp:593:26: note: uninitialized use occurs here
  593 |       hwepvalVec.at(i) = hwepval;
      |                          ^~~~~~~
Main.cpp:579:14: note: remove the 'if' if its condition is always false
  579 |       } else if (t_method == "SPACox") {
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  580 |         pval = ptr_gSPACoxobj->getMarkerPval(GVec, altFreq, zScore);
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  581 | 
  582 |       } else if (t_method == "SPAGRM") {
      |       ~~~~~~
Main.cpp:576:11: warning: variable 'hwepval' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
  576 |       if (t_method == "POLMM") {
      |           ^~~~~~~~~~~~~~~~~~~
Main.cpp:593:26: note: uninitialized use occurs here
  593 |       hwepvalVec.at(i) = hwepval;
      |                          ^~~~~~~
Main.cpp:576:7: note: remove the 'if' if its condition is always false
  576 |       if (t_method == "POLMM") {
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~
  577 |         ptr_gPOLMMobj->getMarkerPval(GVec, Beta, seBeta, pval, altFreq, zScore);
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  578 | 
  579 |       } else if (t_method == "SPACox") {
      |       ~~~~~~
Main.cpp:545:47: note: initialize the variable 'hwepval' to silence this warning
  545 |     double Beta, seBeta, pval, zScore, hwepval;
      |                                               ^
      |                                                = 0.0
Main.cpp:86:21: warning: variable 'g_omp_num_threads' set but not used [-Wunused-but-set-global]
   86 | static unsigned int g_omp_num_threads;       // Number of OpenMP threads for parallel processing
      |                     ^
/usr/local/clang23/bin/clang++ -std=gnu++20 -I"/data/localhost/ripley/R/R-clang/include" -DNDEBUG -DARMA_64BIT_WORD=1 -I'/data/localhost/ripley/R/test-clang/Rcpp/include' -I'/data/localhost/ripley/R/test-clang/RcppArmadillo/include' -I'/data/localhost/ripley/R/test-clang/RcppParallel/include' -I'/data/localhost/ripley/R/test-clang/BH/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -D_LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23   -c PLINK.cpp -o PLINK.o
/usr/local/clang23/bin/clang++ -std=gnu++20 -I"/data/localhost/ripley/R/R-clang/include" -DNDEBUG -DARMA_64BIT_WORD=1 -I'/data/localhost/ripley/R/test-clang/Rcpp/include' -I'/data/localhost/ripley/R/test-clang/RcppArmadillo/include' -I'/data/localhost/ripley/R/test-clang/RcppParallel/include' -I'/data/localhost/ripley/R/test-clang/BH/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -D_LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23   -c POLMM.cpp -o POLMM.o
/usr/local/clang23/bin/clang++ -std=gnu++20 -I"/data/localhost/ripley/R/R-clang/include" -DNDEBUG -DARMA_64BIT_WORD=1 -I'/data/localhost/ripley/R/test-clang/Rcpp/include' -I'/data/localhost/ripley/R/test-clang/RcppArmadillo/include' -I'/data/localhost/ripley/R/test-clang/RcppParallel/include' -I'/data/localhost/ripley/R/test-clang/BH/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -D_LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23   -c RcppExports.cpp -o RcppExports.o
/usr/local/clang23/bin/clang++ -std=gnu++20 -I"/data/localhost/ripley/R/R-clang/include" -DNDEBUG -DARMA_64BIT_WORD=1 -I'/data/localhost/ripley/R/test-clang/Rcpp/include' -I'/data/localhost/ripley/R/test-clang/RcppArmadillo/include' -I'/data/localhost/ripley/R/test-clang/RcppParallel/include' -I'/data/localhost/ripley/R/test-clang/BH/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -D_LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23   -c SAGELD.cpp -o SAGELD.o
/usr/local/clang23/bin/clang++ -std=gnu++20 -I"/data/localhost/ripley/R/R-clang/include" -DNDEBUG -DARMA_64BIT_WORD=1 -I'/data/localhost/ripley/R/test-clang/Rcpp/include' -I'/data/localhost/ripley/R/test-clang/RcppArmadillo/include' -I'/data/localhost/ripley/R/test-clang/RcppParallel/include' -I'/data/localhost/ripley/R/test-clang/BH/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -D_LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23   -c SPACox.cpp -o SPACox.o
/usr/local/clang23/bin/clang++ -std=gnu++20 -I"/data/localhost/ripley/R/R-clang/include" -DNDEBUG -DARMA_64BIT_WORD=1 -I'/data/localhost/ripley/R/test-clang/Rcpp/include' -I'/data/localhost/ripley/R/test-clang/RcppArmadillo/include' -I'/data/localhost/ripley/R/test-clang/RcppParallel/include' -I'/data/localhost/ripley/R/test-clang/BH/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -D_LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23   -c SPAGRM.cpp -o SPAGRM.o
/usr/local/clang23/bin/clang++ -std=gnu++20 -I"/data/localhost/ripley/R/R-clang/include" -DNDEBUG -DARMA_64BIT_WORD=1 -I'/data/localhost/ripley/R/test-clang/Rcpp/include' -I'/data/localhost/ripley/R/test-clang/RcppArmadillo/include' -I'/data/localhost/ripley/R/test-clang/RcppParallel/include' -I'/data/localhost/ripley/R/test-clang/BH/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -D_LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23   -c SPAmix.cpp -o SPAmix.o
10 warnings generated.
/usr/local/clang23/bin/clang++ -std=gnu++20 -I"/data/localhost/ripley/R/R-clang/include" -DNDEBUG -DARMA_64BIT_WORD=1 -I'/data/localhost/ripley/R/test-clang/Rcpp/include' -I'/data/localhost/ripley/R/test-clang/RcppArmadillo/include' -I'/data/localhost/ripley/R/test-clang/RcppParallel/include' -I'/data/localhost/ripley/R/test-clang/BH/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -D_LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23   -c UTIL.cpp -o UTIL.o
/usr/local/clang23/bin/clang++ -std=gnu++20 -I"/data/localhost/ripley/R/R-clang/include" -DNDEBUG -DARMA_64BIT_WORD=1 -I'/data/localhost/ripley/R/test-clang/Rcpp/include' -I'/data/localhost/ripley/R/test-clang/RcppArmadillo/include' -I'/data/localhost/ripley/R/test-clang/RcppParallel/include' -I'/data/localhost/ripley/R/test-clang/BH/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -D_LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23   -c WtCoxG.cpp -o WtCoxG.o
In file included from WtCoxG.cpp:2:
In file included from ./WtCoxG.h:10:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/math/distributions/normal.hpp:23:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/math/special_functions/erf.hpp:19:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/math/special_functions/gamma.hpp:27:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/math/constants/constants.hpp:18:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/math/tools/convert_from_string.hpp:23:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/lexical_cast.hpp:33:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/lexical_cast/try_lexical_convert.hpp:31:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:47:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/container/container_fwd.hpp:65:
/data/localhost/ripley/R/test-clang/BH/include/boost/container/detail/std_fwd.hpp:29:1: warning: unused attribute '__exclude_from_explicit_instantiation__' in '#pragma clang attribute push' region [-Wpragma-clang-attribute]
   29 | BOOST_MOVE_STD_NS_BEG
      | ^
/data/localhost/ripley/R/test-clang/BH/include/boost/move/detail/std_ns_begin.hpp:21:34: note: expanded from macro 'BOOST_MOVE_STD_NS_BEG'
   21 |    #define BOOST_MOVE_STD_NS_BEG _LIBCPP_BEGIN_NAMESPACE_STD
      |                                  ^
/usr/local/clang23/bin/../include/c++/v1/__configuration/namespace.h:74:39: note: expanded from macro '_LIBCPP_BEGIN_NAMESPACE_STD'
   74 | #  define _LIBCPP_BEGIN_NAMESPACE_STD _LIBCPP_BEGIN_UNVERSIONED_NAMESPACE_STD inline namespace _LIBCPP_ABI_NAMESPACE {
      |                                       ^
/usr/local/clang23/bin/../include/c++/v1/__configuration/namespace.h:70:40: note: expanded from macro '_LIBCPP_BEGIN_UNVERSIONED_NAMESPACE_STD'
   70 |     _LIBCPP_PUSH_EXTENSION_DIAGNOSTICS _LIBCPP_END_EXPLICIT_ABI_ANNOTATIONS namespace _LIBCPP_NAMESPACE_VISIBILITY std {
      |                                        ^
/usr/local/clang23/bin/../include/c++/v1/__configuration/namespace.h:51:3: note: expanded from macro '_LIBCPP_END_EXPLICIT_ABI_ANNOTATIONS'
   51 |   _Pragma(_LIBCPP_TOSTRING(clang attribute _LibcxxExplicitABIAnnotations.push(                                         \
      |   ^
<scratch space>:138:69: note: expanded from here
  138 |  clang attribute _LibcxxExplicitABIAnnotations.push( __attribute__((__exclude_from_explicit_instantiation__, __visibility__("hidden"), __abi_tag__("nqe230101"))), apply_to = function)
      |                                                                     ^
/data/localhost/ripley/R/test-clang/BH/include/boost/container/detail/std_fwd.hpp:61:1: note: '#pragma clang attribute push' regions ends here
   61 | BOOST_MOVE_STD_NS_END
      | ^
/data/localhost/ripley/R/test-clang/BH/include/boost/move/detail/std_ns_begin.hpp:22:34: note: expanded from macro 'BOOST_MOVE_STD_NS_END'
   22 |    #define BOOST_MOVE_STD_NS_END _LIBCPP_END_NAMESPACE_STD
      |                                  ^
/usr/local/clang23/bin/../include/c++/v1/__configuration/namespace.h:75:39: note: expanded from macro '_LIBCPP_END_NAMESPACE_STD'
   75 | #  define _LIBCPP_END_NAMESPACE_STD } _LIBCPP_END_UNVERSIONED_NAMESPACE_STD
      |                                       ^
/usr/local/clang23/bin/../include/c++/v1/__configuration/namespace.h:72:51: note: expanded from macro '_LIBCPP_END_UNVERSIONED_NAMESPACE_STD'
   72 | #  define _LIBCPP_END_UNVERSIONED_NAMESPACE_STD } _LIBCPP_BEGIN_EXPLICIT_ABI_ANNOTATIONS _LIBCPP_POP_EXTENSION_DIAGNOSTICS
      |                                                   ^
/usr/local/clang23/bin/../include/c++/v1/__configuration/namespace.h:57:48: note: expanded from macro '_LIBCPP_BEGIN_EXPLICIT_ABI_ANNOTATIONS'
   57 | #define _LIBCPP_BEGIN_EXPLICIT_ABI_ANNOTATIONS _Pragma("clang attribute _LibcxxExplicitABIAnnotations.pop")
      |                                                ^
<scratch space>:140:8: note: expanded from here
  140 |  clang attribute _LibcxxExplicitABIAnnotations.pop
      |        ^
In file included from WtCoxG.cpp:2:
In file included from ./WtCoxG.h:10:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/math/distributions/normal.hpp:23:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/math/special_functions/erf.hpp:19:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/math/special_functions/gamma.hpp:27:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/math/constants/constants.hpp:18:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/math/tools/convert_from_string.hpp:23:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/lexical_cast.hpp:33:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/lexical_cast/try_lexical_convert.hpp:31:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:47:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/container/container_fwd.hpp:65:
/data/localhost/ripley/R/test-clang/BH/include/boost/container/detail/std_fwd.hpp:29:1: warning: unused attribute '__visibility__' in '#pragma clang attribute push' region [-Wpragma-clang-attribute]
   29 | BOOST_MOVE_STD_NS_BEG
      | ^
/data/localhost/ripley/R/test-clang/BH/include/boost/move/detail/std_ns_begin.hpp:21:34: note: expanded from macro 'BOOST_MOVE_STD_NS_BEG'
   21 |    #define BOOST_MOVE_STD_NS_BEG _LIBCPP_BEGIN_NAMESPACE_STD
      |                                  ^
/usr/local/clang23/bin/../include/c++/v1/__configuration/namespace.h:74:39: note: expanded from macro '_LIBCPP_BEGIN_NAMESPACE_STD'
   74 | #  define _LIBCPP_BEGIN_NAMESPACE_STD _LIBCPP_BEGIN_UNVERSIONED_NAMESPACE_STD inline namespace _LIBCPP_ABI_NAMESPACE {
      |                                       ^
/usr/local/clang23/bin/../include/c++/v1/__configuration/namespace.h:70:40: note: expanded from macro '_LIBCPP_BEGIN_UNVERSIONED_NAMESPACE_STD'
   70 |     _LIBCPP_PUSH_EXTENSION_DIAGNOSTICS _LIBCPP_END_EXPLICIT_ABI_ANNOTATIONS namespace _LIBCPP_NAMESPACE_VISIBILITY std {
      |                                        ^
/usr/local/clang23/bin/../include/c++/v1/__configuration/namespace.h:51:3: note: expanded from macro '_LIBCPP_END_EXPLICIT_ABI_ANNOTATIONS'
   51 |   _Pragma(_LIBCPP_TOSTRING(clang attribute _LibcxxExplicitABIAnnotations.push(                                         \
      |   ^
<scratch space>:138:110: note: expanded from here
  138 |  clang attribute _LibcxxExplicitABIAnnotations.push( __attribute__((__exclude_from_explicit_instantiation__, __visibility__("hidden"), __abi_tag__("nqe230101"))), apply_to = function)
      |                                                                                                              ^
/data/localhost/ripley/R/test-clang/BH/include/boost/container/detail/std_fwd.hpp:61:1: note: '#pragma clang attribute push' regions ends here
   61 | BOOST_MOVE_STD_NS_END
      | ^
/data/localhost/ripley/R/test-clang/BH/include/boost/move/detail/std_ns_begin.hpp:22:34: note: expanded from macro 'BOOST_MOVE_STD_NS_END'
   22 |    #define BOOST_MOVE_STD_NS_END _LIBCPP_END_NAMESPACE_STD
      |                                  ^
/usr/local/clang23/bin/../include/c++/v1/__configuration/namespace.h:75:39: note: expanded from macro '_LIBCPP_END_NAMESPACE_STD'
   75 | #  define _LIBCPP_END_NAMESPACE_STD } _LIBCPP_END_UNVERSIONED_NAMESPACE_STD
      |                                       ^
/usr/local/clang23/bin/../include/c++/v1/__configuration/namespace.h:72:51: note: expanded from macro '_LIBCPP_END_UNVERSIONED_NAMESPACE_STD'
   72 | #  define _LIBCPP_END_UNVERSIONED_NAMESPACE_STD } _LIBCPP_BEGIN_EXPLICIT_ABI_ANNOTATIONS _LIBCPP_POP_EXTENSION_DIAGNOSTICS
      |                                                   ^
/usr/local/clang23/bin/../include/c++/v1/__configuration/namespace.h:57:48: note: expanded from macro '_LIBCPP_BEGIN_EXPLICIT_ABI_ANNOTATIONS'
   57 | #define _LIBCPP_BEGIN_EXPLICIT_ABI_ANNOTATIONS _Pragma("clang attribute _LibcxxExplicitABIAnnotations.pop")
      |                                                ^
<scratch space>:140:8: note: expanded from here
  140 |  clang attribute _LibcxxExplicitABIAnnotations.pop
      |        ^
In file included from WtCoxG.cpp:2:
In file included from ./WtCoxG.h:10:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/math/distributions/normal.hpp:23:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/math/special_functions/erf.hpp:19:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/math/special_functions/gamma.hpp:27:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/math/constants/constants.hpp:18:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/math/tools/convert_from_string.hpp:23:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/lexical_cast.hpp:33:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/lexical_cast/try_lexical_convert.hpp:31:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/lexical_cast/detail/converter_lexical.hpp:47:
In file included from /data/localhost/ripley/R/test-clang/BH/include/boost/container/container_fwd.hpp:65:
/data/localhost/ripley/R/test-clang/BH/include/boost/container/detail/std_fwd.hpp:29:1: warning: unused attribute '__abi_tag__' in '#pragma clang attribute push' region [-Wpragma-clang-attribute]
   29 | BOOST_MOVE_STD_NS_BEG
      | ^
/data/localhost/ripley/R/test-clang/BH/include/boost/move/detail/std_ns_begin.hpp:21:34: note: expanded from macro 'BOOST_MOVE_STD_NS_BEG'
   21 |    #define BOOST_MOVE_STD_NS_BEG _LIBCPP_BEGIN_NAMESPACE_STD
      |                                  ^
/usr/local/clang23/bin/../include/c++/v1/__configuration/namespace.h:74:39: note: expanded from macro '_LIBCPP_BEGIN_NAMESPACE_STD'
   74 | #  define _LIBCPP_BEGIN_NAMESPACE_STD _LIBCPP_BEGIN_UNVERSIONED_NAMESPACE_STD inline namespace _LIBCPP_ABI_NAMESPACE {
      |                                       ^
/usr/local/clang23/bin/../include/c++/v1/__configuration/namespace.h:70:40: note: expanded from macro '_LIBCPP_BEGIN_UNVERSIONED_NAMESPACE_STD'
   70 |     _LIBCPP_PUSH_EXTENSION_DIAGNOSTICS _LIBCPP_END_EXPLICIT_ABI_ANNOTATIONS namespace _LIBCPP_NAMESPACE_VISIBILITY std {
      |                                        ^
/usr/local/clang23/bin/../include/c++/v1/__configuration/namespace.h:51:3: note: expanded from macro '_LIBCPP_END_EXPLICIT_ABI_ANNOTATIONS'
   51 |   _Pragma(_LIBCPP_TOSTRING(clang attribute _LibcxxExplicitABIAnnotations.push(                                         \
      |   ^
<scratch space>:138:136: note: expanded from here
  138 |  clang attribute _LibcxxExplicitABIAnnotations.push( __attribute__((__exclude_from_explicit_instantiation__, __visibility__("hidden"), __abi_tag__("nqe230101"))), apply_to = function)
      |                                                                                                                                        ^
/data/localhost/ripley/R/test-clang/BH/include/boost/container/detail/std_fwd.hpp:61:1: note: '#pragma clang attribute push' regions ends here
   61 | BOOST_MOVE_STD_NS_END
      | ^
/data/localhost/ripley/R/test-clang/BH/include/boost/move/detail/std_ns_begin.hpp:22:34: note: expanded from macro 'BOOST_MOVE_STD_NS_END'
   22 |    #define BOOST_MOVE_STD_NS_END _LIBCPP_END_NAMESPACE_STD
      |                                  ^
/usr/local/clang23/bin/../include/c++/v1/__configuration/namespace.h:75:39: note: expanded from macro '_LIBCPP_END_NAMESPACE_STD'
   75 | #  define _LIBCPP_END_NAMESPACE_STD } _LIBCPP_END_UNVERSIONED_NAMESPACE_STD
      |                                       ^
/usr/local/clang23/bin/../include/c++/v1/__configuration/namespace.h:72:51: note: expanded from macro '_LIBCPP_END_UNVERSIONED_NAMESPACE_STD'
   72 | #  define _LIBCPP_END_UNVERSIONED_NAMESPACE_STD } _LIBCPP_BEGIN_EXPLICIT_ABI_ANNOTATIONS _LIBCPP_POP_EXTENSION_DIAGNOSTICS
      |                                                   ^
/usr/local/clang23/bin/../include/c++/v1/__configuration/namespace.h:57:48: note: expanded from macro '_LIBCPP_BEGIN_EXPLICIT_ABI_ANNOTATIONS'
   57 | #define _LIBCPP_BEGIN_EXPLICIT_ABI_ANNOTATIONS _Pragma("clang attribute _LibcxxExplicitABIAnnotations.pop")
      |                                                ^
<scratch space>:140:8: note: expanded from here
  140 |  clang attribute _LibcxxExplicitABIAnnotations.pop
      |        ^
3 warnings generated.
/usr/local/clang23/bin/clang++ -std=gnu++20 -shared -L/usr/local/clang/lib64 -L/usr/local/clang23/lib -L/usr/local/clang23/lib/x86_64-unknown-linux-gnu -L/usr/local/lib64 -o GRAB.so BGEN.o DenseGRM.o Main.o PLINK.o POLMM.o RcppExports.o SAGELD.o SPACox.o SPAGRM.o SPAmix.o UTIL.o WtCoxG.o -lz -L/data/localhost/ripley/R/R-clang/lib -lRlapack -L/data/localhost/ripley/R/R-clang/lib -lRblas -lflang_rt.runtime -lm
make[1]: Leaving directory '/data/localhost/ripley/R/packages/tests-clang/GRAB/src'
make[1]: Entering directory '/data/localhost/ripley/R/packages/tests-clang/GRAB/src'
make[1]: Leaving directory '/data/localhost/ripley/R/packages/tests-clang/GRAB/src'
installing to /data/localhost/ripley/R/packages/tests-clang/GRAB.Rcheck/00LOCK-GRAB/00new/GRAB/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (GRAB)