* installing *source* package ‘mmrm’ ...
** this is package ‘mmrm’ version ‘0.3.17’
** package ‘mmrm’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘clang version 22.1.0 (https://github.com/llvm/llvm-project 4434dabb69916856b824f68a64b029c67175e532)’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/mmrm/src'
clang++-22 -stdlib=libc++ -std=gnu++20 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -DTMBAD_FRAMEWORK -DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS -DRCPP_NO_MASK_RF_ERROR -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/testthat/include' -I'/data/gannet/ripley/R/test-clang/TMB/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw   -c empirical.cpp -o empirical.o
In file included from empirical.cpp:1:
In file included from ./derivatives.h:4:
In file included from ./chol_cache.h:4:
In file included from ./covariance.h:4:
In file included from ./utils.h:5:
In file included from ./tmb_includes.h:57:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:96:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:61:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  273 |       Index count = 0;
      |             ^
In file included from empirical.cpp:1:
In file included from ./derivatives.h:4:
In file included from ./chol_cache.h:4:
In file included from ./covariance.h:4:
In file included from ./utils.h:5:
In file included from ./tmb_includes.h:57:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:96:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:35:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable]
   78 |   Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree 
      |         ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
   79 |   Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
      |         ^
3 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++20 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -DTMBAD_FRAMEWORK -DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS -DRCPP_NO_MASK_RF_ERROR -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/testthat/include' -I'/data/gannet/ripley/R/test-clang/TMB/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw   -c exports.cpp -o exports.o
In file included from exports.cpp:1:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:61:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  273 |       Index count = 0;
      |             ^
In file included from exports.cpp:1:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:35:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable]
   78 |   Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree 
      |         ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
   79 |   Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
      |         ^
In file included from exports.cpp:1:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:31:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable]
   72 |                         Index replacements = 0;
      |                               ^
In file included from exports.cpp:1:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:37:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/SparseExtra:45:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  246 |   int count = 0;
      |       ^
5 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++20 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -DTMBAD_FRAMEWORK -DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS -DRCPP_NO_MASK_RF_ERROR -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/testthat/include' -I'/data/gannet/ripley/R/test-clang/TMB/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw   -c jacobian.cpp -o jacobian.o
In file included from jacobian.cpp:1:
In file included from ./derivatives.h:4:
In file included from ./chol_cache.h:4:
In file included from ./covariance.h:4:
In file included from ./utils.h:5:
In file included from ./tmb_includes.h:57:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:96:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:61:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  273 |       Index count = 0;
      |             ^
In file included from jacobian.cpp:1:
In file included from ./derivatives.h:4:
In file included from ./chol_cache.h:4:
In file included from ./covariance.h:4:
In file included from ./utils.h:5:
In file included from ./tmb_includes.h:57:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:96:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:35:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable]
   78 |   Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree 
      |         ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
   79 |   Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
      |         ^
3 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++20 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -DTMBAD_FRAMEWORK -DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS -DRCPP_NO_MASK_RF_ERROR -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/testthat/include' -I'/data/gannet/ripley/R/test-clang/TMB/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw   -c kr_comp.cpp -o kr_comp.o
In file included from kr_comp.cpp:1:
In file included from ./derivatives.h:4:
In file included from ./chol_cache.h:4:
In file included from ./covariance.h:4:
In file included from ./utils.h:5:
In file included from ./tmb_includes.h:57:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:96:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:61:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  273 |       Index count = 0;
      |             ^
In file included from kr_comp.cpp:1:
In file included from ./derivatives.h:4:
In file included from ./chol_cache.h:4:
In file included from ./covariance.h:4:
In file included from ./utils.h:5:
In file included from ./tmb_includes.h:57:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:96:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:35:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable]
   78 |   Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree 
      |         ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
   79 |   Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
      |         ^
3 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++20 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -DTMBAD_FRAMEWORK -DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS -DRCPP_NO_MASK_RF_ERROR -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/testthat/include' -I'/data/gannet/ripley/R/test-clang/TMB/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw   -c mmrm.cpp -o mmrm.o
In file included from mmrm.cpp:1:
In file included from ./covariance.h:4:
In file included from ./utils.h:5:
In file included from ./tmb_includes.h:57:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:96:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:61:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  273 |       Index count = 0;
      |             ^
In file included from mmrm.cpp:1:
In file included from ./covariance.h:4:
In file included from ./utils.h:5:
In file included from ./tmb_includes.h:57:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:96:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:35:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable]
   78 |   Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree 
      |         ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
   79 |   Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
      |         ^
3 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++20 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -DTMBAD_FRAMEWORK -DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS -DRCPP_NO_MASK_RF_ERROR -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/testthat/include' -I'/data/gannet/ripley/R/test-clang/TMB/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw   -c predict.cpp -o predict.o
In file included from predict.cpp:1:
In file included from ./covariance.h:4:
In file included from ./utils.h:5:
In file included from ./tmb_includes.h:57:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:96:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:61:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  273 |       Index count = 0;
      |             ^
In file included from predict.cpp:1:
In file included from ./covariance.h:4:
In file included from ./utils.h:5:
In file included from ./tmb_includes.h:57:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:96:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:35:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable]
   78 |   Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree 
      |         ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
   79 |   Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
      |         ^
3 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++20 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -DTMBAD_FRAMEWORK -DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS -DRCPP_NO_MASK_RF_ERROR -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/testthat/include' -I'/data/gannet/ripley/R/test-clang/TMB/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw   -c test-chol_cache.cpp -o test-chol_cache.o
In file included from test-chol_cache.cpp:1:
In file included from ./testthat-helpers.h:5:
In file included from ./utils.h:5:
In file included from ./tmb_includes.h:57:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:96:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:61:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  273 |       Index count = 0;
      |             ^
In file included from test-chol_cache.cpp:1:
In file included from ./testthat-helpers.h:5:
In file included from ./utils.h:5:
In file included from ./tmb_includes.h:57:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:96:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:35:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable]
   78 |   Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree 
      |         ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
   79 |   Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
      |         ^
test-chol_cache.cpp:4:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
    4 | context("cholesky cache") {
      | ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-chol_cache.cpp:4:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:9: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:783:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE2'
  783 |         namespace{ Catch::AutoReg INTERNAL_CATCH_UNIQUE_NAME( autoRegistrar )( &TestName, CATCH_INTERNAL_LINEINFO, Catch::NameAndDesc( __VA_ARGS__ ) ); } \
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-chol_cache.cpp:5:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
    5 |   test_that("cached cholesky stores result correctly") {
      |   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
  181 | # define test_that CATCH_SECTION
      |                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
 11407 |     #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
       |                                  ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:2479:35: note: expanded from macro 'INTERNAL_CATCH_SECTION'
 2479 |         if( Catch::Section const& INTERNAL_CATCH_UNIQUE_NAME( catch_internal_Section ) = Catch::SectionInfo( CATCH_INTERNAL_LINEINFO, __VA_ARGS__ ) )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-chol_cache.cpp:50:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
   50 | context("cholesky group object") {
      | ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-chol_cache.cpp:50:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:9: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:783:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE2'
  783 |         namespace{ Catch::AutoReg INTERNAL_CATCH_UNIQUE_NAME( autoRegistrar )( &TestName, CATCH_INTERNAL_LINEINFO, Catch::NameAndDesc( __VA_ARGS__ ) ); } \
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-chol_cache.cpp:51:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
   51 |   test_that("cholesky group return result correctly") {
      |   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
  181 | # define test_that CATCH_SECTION
      |                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
 11407 |     #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
       |                                  ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:2479:35: note: expanded from macro 'INTERNAL_CATCH_SECTION'
 2479 |         if( Catch::Section const& INTERNAL_CATCH_UNIQUE_NAME( catch_internal_Section ) = Catch::SectionInfo( CATCH_INTERNAL_LINEINFO, __VA_ARGS__ ) )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
9 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++20 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -DTMBAD_FRAMEWORK -DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS -DRCPP_NO_MASK_RF_ERROR -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/testthat/include' -I'/data/gannet/ripley/R/test-clang/TMB/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw   -c test-covariance.cpp -o test-covariance.o
In file included from test-covariance.cpp:1:
In file included from ./testthat-helpers.h:5:
In file included from ./utils.h:5:
In file included from ./tmb_includes.h:57:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:96:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:61:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  273 |       Index count = 0;
      |             ^
In file included from test-covariance.cpp:1:
In file included from ./testthat-helpers.h:5:
In file included from ./utils.h:5:
In file included from ./tmb_includes.h:57:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:96:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:35:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable]
   78 |   Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree 
      |         ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
   79 |   Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
      |         ^
test-covariance.cpp:4:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
    4 | context("unstructured") {
      | ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-covariance.cpp:4:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:9: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:783:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE2'
  783 |         namespace{ Catch::AutoReg INTERNAL_CATCH_UNIQUE_NAME( autoRegistrar )( &TestName, CATCH_INTERNAL_LINEINFO, Catch::NameAndDesc( __VA_ARGS__ ) ); } \
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-covariance.cpp:5:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
    5 |   test_that("get_unstructured produces expected result") {
      |   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
  181 | # define test_that CATCH_SECTION
      |                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
 11407 |     #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
       |                                  ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:2479:35: note: expanded from macro 'INTERNAL_CATCH_SECTION'
 2479 |         if( Catch::Section const& INTERNAL_CATCH_UNIQUE_NAME( catch_internal_Section ) = Catch::SectionInfo( CATCH_INTERNAL_LINEINFO, __VA_ARGS__ ) )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-covariance.cpp:16:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
   16 | context("ante_dependence") {
      | ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-covariance.cpp:16:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:9: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:783:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE2'
  783 |         namespace{ Catch::AutoReg INTERNAL_CATCH_UNIQUE_NAME( autoRegistrar )( &TestName, CATCH_INTERNAL_LINEINFO, Catch::NameAndDesc( __VA_ARGS__ ) ); } \
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-covariance.cpp:17:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
   17 |   test_that("corr_fun_ante_dependence works as expected") {
      |   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
  181 | # define test_that CATCH_SECTION
      |                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
 11407 |     #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
       |                                  ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:2479:35: note: expanded from macro 'INTERNAL_CATCH_SECTION'
 2479 |         if( Catch::Section const& INTERNAL_CATCH_UNIQUE_NAME( catch_internal_Section ) = Catch::SectionInfo( CATCH_INTERNAL_LINEINFO, __VA_ARGS__ ) )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-covariance.cpp:28:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
   28 |   test_that("get_ante_dependence produces expected result") {
      |   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
  181 | # define test_that CATCH_SECTION
      |                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
 11407 |     #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
       |                                  ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:2479:35: note: expanded from macro 'INTERNAL_CATCH_SECTION'
 2479 |         if( Catch::Section const& INTERNAL_CATCH_UNIQUE_NAME( catch_internal_Section ) = Catch::SectionInfo( CATCH_INTERNAL_LINEINFO, __VA_ARGS__ ) )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-covariance.cpp:40:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
   40 |   test_that("get_ante_dependence_heterogeneous produces expected result") {
      |   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
  181 | # define test_that CATCH_SECTION
      |                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
 11407 |     #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
       |                                  ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:2479:35: note: expanded from macro 'INTERNAL_CATCH_SECTION'
 2479 |         if( Catch::Section const& INTERNAL_CATCH_UNIQUE_NAME( catch_internal_Section ) = Catch::SectionInfo( CATCH_INTERNAL_LINEINFO, __VA_ARGS__ ) )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-covariance.cpp:53:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
   53 | context("toeplitz") {
      | ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-covariance.cpp:53:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:9: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:783:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE2'
  783 |         namespace{ Catch::AutoReg INTERNAL_CATCH_UNIQUE_NAME( autoRegistrar )( &TestName, CATCH_INTERNAL_LINEINFO, Catch::NameAndDesc( __VA_ARGS__ ) ); } \
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-covariance.cpp:54:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
   54 |   test_that("corr_fun_toeplitz works as expected") {
      |   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
  181 | # define test_that CATCH_SECTION
      |                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
 11407 |     #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
       |                                  ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:2479:35: note: expanded from macro 'INTERNAL_CATCH_SECTION'
 2479 |         if( Catch::Section const& INTERNAL_CATCH_UNIQUE_NAME( catch_internal_Section ) = Catch::SectionInfo( CATCH_INTERNAL_LINEINFO, __VA_ARGS__ ) )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-covariance.cpp:62:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
   62 |   test_that("get_toeplitz produces expected result") {
      |   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
  181 | # define test_that CATCH_SECTION
      |                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
 11407 |     #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
       |                                  ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:2479:35: note: expanded from macro 'INTERNAL_CATCH_SECTION'
 2479 |         if( Catch::Section const& INTERNAL_CATCH_UNIQUE_NAME( catch_internal_Section ) = Catch::SectionInfo( CATCH_INTERNAL_LINEINFO, __VA_ARGS__ ) )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-covariance.cpp:73:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
   73 |   test_that("get_toeplitz_heterogeneous produces expected result") {
      |   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
  181 | # define test_that CATCH_SECTION
      |                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
 11407 |     #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
       |                                  ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:2479:35: note: expanded from macro 'INTERNAL_CATCH_SECTION'
 2479 |         if( Catch::Section const& INTERNAL_CATCH_UNIQUE_NAME( catch_internal_Section ) = Catch::SectionInfo( CATCH_INTERNAL_LINEINFO, __VA_ARGS__ ) )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-covariance.cpp:85:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
   85 | context("autoregressive") {
      | ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-covariance.cpp:85:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:9: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:783:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE2'
  783 |         namespace{ Catch::AutoReg INTERNAL_CATCH_UNIQUE_NAME( autoRegistrar )( &TestName, CATCH_INTERNAL_LINEINFO, Catch::NameAndDesc( __VA_ARGS__ ) ); } \
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-covariance.cpp:86:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
   86 |   test_that("corr_fun_autoregressive works as expected") {
      |   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
  181 | # define test_that CATCH_SECTION
      |                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
 11407 |     #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
       |                                  ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:2479:35: note: expanded from macro 'INTERNAL_CATCH_SECTION'
 2479 |         if( Catch::Section const& INTERNAL_CATCH_UNIQUE_NAME( catch_internal_Section ) = Catch::SectionInfo( CATCH_INTERNAL_LINEINFO, __VA_ARGS__ ) )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-covariance.cpp:93:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
   93 |   test_that("get_auto_regressive produces expected result") {
      |   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
  181 | # define test_that CATCH_SECTION
      |                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
 11407 |     #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
       |                                  ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:2479:35: note: expanded from macro 'INTERNAL_CATCH_SECTION'
 2479 |         if( Catch::Section const& INTERNAL_CATCH_UNIQUE_NAME( catch_internal_Section ) = Catch::SectionInfo( CATCH_INTERNAL_LINEINFO, __VA_ARGS__ ) )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-covariance.cpp:104:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
  104 |   test_that("get_auto_regressive_heterogeneous produces expected result") {
      |   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
  181 | # define test_that CATCH_SECTION
      |                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
 11407 |     #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
       |                                  ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:2479:35: note: expanded from macro 'INTERNAL_CATCH_SECTION'
 2479 |         if( Catch::Section const& INTERNAL_CATCH_UNIQUE_NAME( catch_internal_Section ) = Catch::SectionInfo( CATCH_INTERNAL_LINEINFO, __VA_ARGS__ ) )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-covariance.cpp:116:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
  116 | context("compound symmetry") {
      | ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-covariance.cpp:116:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:9: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:783:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE2'
  783 |         namespace{ Catch::AutoReg INTERNAL_CATCH_UNIQUE_NAME( autoRegistrar )( &TestName, CATCH_INTERNAL_LINEINFO, Catch::NameAndDesc( __VA_ARGS__ ) ); } \
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-covariance.cpp:117:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
  117 |   test_that("corr_fun_compound_symmetry works as expected") {
      |   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
  181 | # define test_that CATCH_SECTION
      |                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
 11407 |     #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
       |                                  ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:2479:35: note: expanded from macro 'INTERNAL_CATCH_SECTION'
 2479 |         if( Catch::Section const& INTERNAL_CATCH_UNIQUE_NAME( catch_internal_Section ) = Catch::SectionInfo( CATCH_INTERNAL_LINEINFO, __VA_ARGS__ ) )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-covariance.cpp:125:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
  125 |   test_that("corr_fun_compound_symmetry respects the lower boundary") {
      |   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
  181 | # define test_that CATCH_SECTION
      |                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
 11407 |     #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
       |                                  ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:2479:35: note: expanded from macro 'INTERNAL_CATCH_SECTION'
 2479 |         if( Catch::Section const& INTERNAL_CATCH_UNIQUE_NAME( catch_internal_Section ) = Catch::SectionInfo( CATCH_INTERNAL_LINEINFO, __VA_ARGS__ ) )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-covariance.cpp:134:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
  134 |   test_that("get_compound_symmetry produces expected result") {
      |   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
  181 | # define test_that CATCH_SECTION
      |                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
 11407 |     #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
       |                                  ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:2479:35: note: expanded from macro 'INTERNAL_CATCH_SECTION'
 2479 |         if( Catch::Section const& INTERNAL_CATCH_UNIQUE_NAME( catch_internal_Section ) = Catch::SectionInfo( CATCH_INTERNAL_LINEINFO, __VA_ARGS__ ) )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-covariance.cpp:145:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
  145 |   test_that("get_compound_symmetry_heterogeneous produces expected result") {
      |   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
  181 | # define test_that CATCH_SECTION
      |                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
 11407 |     #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
       |                                  ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:2479:35: note: expanded from macro 'INTERNAL_CATCH_SECTION'
 2479 |         if( Catch::Section const& INTERNAL_CATCH_UNIQUE_NAME( catch_internal_Section ) = Catch::SectionInfo( CATCH_INTERNAL_LINEINFO, __VA_ARGS__ ) )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-covariance.cpp:157:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
  157 | context("get_covariance_lower_chol") {
      | ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-covariance.cpp:157:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:9: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:783:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE2'
  783 |         namespace{ Catch::AutoReg INTERNAL_CATCH_UNIQUE_NAME( autoRegistrar )( &TestName, CATCH_INTERNAL_LINEINFO, Catch::NameAndDesc( __VA_ARGS__ ) ); } \
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-covariance.cpp:158:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
  158 |   test_that("get_covariance_lower_chol gives expected unstructured result") {
      |   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
  181 | # define test_that CATCH_SECTION
      |                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
 11407 |     #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
       |                                  ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:2479:35: note: expanded from macro 'INTERNAL_CATCH_SECTION'
 2479 |         if( Catch::Section const& INTERNAL_CATCH_UNIQUE_NAME( catch_internal_Section ) = Catch::SectionInfo( CATCH_INTERNAL_LINEINFO, __VA_ARGS__ ) )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
30 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++20 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -DTMBAD_FRAMEWORK -DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS -DRCPP_NO_MASK_RF_ERROR -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/testthat/include' -I'/data/gannet/ripley/R/test-clang/TMB/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw   -c test-derivatives.cpp -o test-derivatives.o
In file included from test-derivatives.cpp:1:
In file included from ./testthat-helpers.h:5:
In file included from ./utils.h:5:
In file included from ./tmb_includes.h:57:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:96:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:61:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  273 |       Index count = 0;
      |             ^
In file included from test-derivatives.cpp:1:
In file included from ./testthat-helpers.h:5:
In file included from ./utils.h:5:
In file included from ./tmb_includes.h:57:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:96:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:35:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable]
   78 |   Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree 
      |         ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
   79 |   Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
      |         ^
test-derivatives.cpp:5:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
    5 | context("cho_jacobian") {
      | ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-derivatives.cpp:5:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:9: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:783:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE2'
  783 |         namespace{ Catch::AutoReg INTERNAL_CATCH_UNIQUE_NAME( autoRegistrar )( &TestName, CATCH_INTERNAL_LINEINFO, Catch::NameAndDesc( __VA_ARGS__ ) ); } \
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-derivatives.cpp:6:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
    6 |   test_that("cho_jacobian works as expected") {
      |   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
  181 | # define test_that CATCH_SECTION
      |                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
 11407 |     #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
       |                                  ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:2479:35: note: expanded from macro 'INTERNAL_CATCH_SECTION'
 2479 |         if( Catch::Section const& INTERNAL_CATCH_UNIQUE_NAME( catch_internal_Section ) = Catch::SectionInfo( CATCH_INTERNAL_LINEINFO, __VA_ARGS__ ) )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-derivatives.cpp:15:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
   15 |   test_that("cho_jacobian's jacabian using autodiff works as expected") {
      |   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
  181 | # define test_that CATCH_SECTION
      |                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
 11407 |     #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
       |                                  ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:2479:35: note: expanded from macro 'INTERNAL_CATCH_SECTION'
 2479 |         if( Catch::Section const& INTERNAL_CATCH_UNIQUE_NAME( catch_internal_Section ) = Catch::SectionInfo( CATCH_INTERNAL_LINEINFO, __VA_ARGS__ ) )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-derivatives.cpp:26:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
   26 | context("derivatives_nonspatial struct works as expected") {
      | ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-derivatives.cpp:26:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:9: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:783:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE2'
  783 |         namespace{ Catch::AutoReg INTERNAL_CATCH_UNIQUE_NAME( autoRegistrar )( &TestName, CATCH_INTERNAL_LINEINFO, Catch::NameAndDesc( __VA_ARGS__ ) ); } \
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-derivatives.cpp:27:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
   27 |   test_that("derivatives_nonspatial struct correct sigma, inverse and derivatives") {
      |   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
  181 | # define test_that CATCH_SECTION
      |                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
 11407 |     #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
       |                                  ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:2479:35: note: expanded from macro 'INTERNAL_CATCH_SECTION'
 2479 |         if( Catch::Section const& INTERNAL_CATCH_UNIQUE_NAME( catch_internal_Section ) = Catch::SectionInfo( CATCH_INTERNAL_LINEINFO, __VA_ARGS__ ) )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-derivatives.cpp:72:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
   72 | context("derivatives_sp_exp struct works as expected") {
      | ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-derivatives.cpp:72:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:9: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:783:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE2'
  783 |         namespace{ Catch::AutoReg INTERNAL_CATCH_UNIQUE_NAME( autoRegistrar )( &TestName, CATCH_INTERNAL_LINEINFO, Catch::NameAndDesc( __VA_ARGS__ ) ); } \
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-derivatives.cpp:73:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
   73 |   test_that("derivatives_sp_exp struct gives correct sigma, inverse and derivatives") {
      |   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
  181 | # define test_that CATCH_SECTION
      |                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
 11407 |     #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
       |                                  ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:2479:35: note: expanded from macro 'INTERNAL_CATCH_SECTION'
 2479 |         if( Catch::Section const& INTERNAL_CATCH_UNIQUE_NAME( catch_internal_Section ) = Catch::SectionInfo( CATCH_INTERNAL_LINEINFO, __VA_ARGS__ ) )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
13 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++20 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -DTMBAD_FRAMEWORK -DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS -DRCPP_NO_MASK_RF_ERROR -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/testthat/include' -I'/data/gannet/ripley/R/test-clang/TMB/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw   -c test-runner.cpp -o test-runner.o
clang++-22 -stdlib=libc++ -std=gnu++20 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -DTMBAD_FRAMEWORK -DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS -DRCPP_NO_MASK_RF_ERROR -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/testthat/include' -I'/data/gannet/ripley/R/test-clang/TMB/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw   -c test-utils.cpp -o test-utils.o
In file included from test-utils.cpp:1:
In file included from ./testthat-helpers.h:5:
In file included from ./utils.h:5:
In file included from ./tmb_includes.h:57:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:96:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:61:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  273 |       Index count = 0;
      |             ^
In file included from test-utils.cpp:1:
In file included from ./testthat-helpers.h:5:
In file included from ./utils.h:5:
In file included from ./tmb_includes.h:57:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:96:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:35:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable]
   78 |   Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree 
      |         ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
   79 |   Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
      |         ^
test-utils.cpp:6:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
    6 | context("subset_matrix") {
      | ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-utils.cpp:6:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:9: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:783:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE2'
  783 |         namespace{ Catch::AutoReg INTERNAL_CATCH_UNIQUE_NAME( autoRegistrar )( &TestName, CATCH_INTERNAL_LINEINFO, Catch::NameAndDesc( __VA_ARGS__ ) ); } \
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-utils.cpp:7:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
    7 |   test_that("subset_matrix works as expected") {
      |   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
  181 | # define test_that CATCH_SECTION
      |                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
 11407 |     #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
       |                                  ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:2479:35: note: expanded from macro 'INTERNAL_CATCH_SECTION'
 2479 |         if( Catch::Section const& INTERNAL_CATCH_UNIQUE_NAME( catch_internal_Section ) = Catch::SectionInfo( CATCH_INTERNAL_LINEINFO, __VA_ARGS__ ) )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-utils.cpp:31:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
   31 | context("tcrossprod") {
      | ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-utils.cpp:31:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:9: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:783:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE2'
  783 |         namespace{ Catch::AutoReg INTERNAL_CATCH_UNIQUE_NAME( autoRegistrar )( &TestName, CATCH_INTERNAL_LINEINFO, Catch::NameAndDesc( __VA_ARGS__ ) ); } \
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-utils.cpp:32:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
   32 |   test_that("tcrossprod works as expected with complete") {
      |   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
  181 | # define test_that CATCH_SECTION
      |                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
 11407 |     #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
       |                                  ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:2479:35: note: expanded from macro 'INTERNAL_CATCH_SECTION'
 2479 |         if( Catch::Section const& INTERNAL_CATCH_UNIQUE_NAME( catch_internal_Section ) = Catch::SectionInfo( CATCH_INTERNAL_LINEINFO, __VA_ARGS__ ) )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-utils.cpp:42:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
   42 |   test_that("tcrossprod works as expected without complete (default)") {
      |   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
  181 | # define test_that CATCH_SECTION
      |                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
 11407 |     #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
       |                                  ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:2479:35: note: expanded from macro 'INTERNAL_CATCH_SECTION'
 2479 |         if( Catch::Section const& INTERNAL_CATCH_UNIQUE_NAME( catch_internal_Section ) = Catch::SectionInfo( CATCH_INTERNAL_LINEINFO, __VA_ARGS__ ) )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-utils.cpp:54:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
   54 | context("crossprod") {
      | ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-utils.cpp:54:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:9: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:783:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE2'
  783 |         namespace{ Catch::AutoReg INTERNAL_CATCH_UNIQUE_NAME( autoRegistrar )( &TestName, CATCH_INTERNAL_LINEINFO, Catch::NameAndDesc( __VA_ARGS__ ) ); } \
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-utils.cpp:55:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
   55 |   test_that("crossprod works as expected") {
      |   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
  181 | # define test_that CATCH_SECTION
      |                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
 11407 |     #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
       |                                  ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:2479:35: note: expanded from macro 'INTERNAL_CATCH_SECTION'
 2479 |         if( Catch::Section const& INTERNAL_CATCH_UNIQUE_NAME( catch_internal_Section ) = Catch::SectionInfo( CATCH_INTERNAL_LINEINFO, __VA_ARGS__ ) )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-utils.cpp:67:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
   67 | context("map_to_cor") {
      | ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-utils.cpp:67:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:9: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:783:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE2'
  783 |         namespace{ Catch::AutoReg INTERNAL_CATCH_UNIQUE_NAME( autoRegistrar )( &TestName, CATCH_INTERNAL_LINEINFO, Catch::NameAndDesc( __VA_ARGS__ ) ); } \
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-utils.cpp:68:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
   68 |   test_that("map_to_cor works as expected") {
      |   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
  181 | # define test_that CATCH_SECTION
      |                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
 11407 |     #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
       |                                  ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:2479:35: note: expanded from macro 'INTERNAL_CATCH_SECTION'
 2479 |         if( Catch::Section const& INTERNAL_CATCH_UNIQUE_NAME( catch_internal_Section ) = Catch::SectionInfo( CATCH_INTERNAL_LINEINFO, __VA_ARGS__ ) )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-utils.cpp:79:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
   79 | context("generic_corr_fun") {
      | ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-utils.cpp:79:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:9: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:783:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE2'
  783 |         namespace{ Catch::AutoReg INTERNAL_CATCH_UNIQUE_NAME( autoRegistrar )( &TestName, CATCH_INTERNAL_LINEINFO, Catch::NameAndDesc( __VA_ARGS__ ) ); } \
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-utils.cpp:80:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
   80 |   test_that("generic_corr_fun is initialized as expected") {
      |   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
  181 | # define test_that CATCH_SECTION
      |                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
 11407 |     #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
       |                                  ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:2479:35: note: expanded from macro 'INTERNAL_CATCH_SECTION'
 2479 |         if( Catch::Section const& INTERNAL_CATCH_UNIQUE_NAME( catch_internal_Section ) = Catch::SectionInfo( CATCH_INTERNAL_LINEINFO, __VA_ARGS__ ) )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-utils.cpp:94:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
   94 | context("get_corr_mat_chol") {
      | ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-utils.cpp:94:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:9: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:783:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE2'
  783 |         namespace{ Catch::AutoReg INTERNAL_CATCH_UNIQUE_NAME( autoRegistrar )( &TestName, CATCH_INTERNAL_LINEINFO, Catch::NameAndDesc( __VA_ARGS__ ) ); } \
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-utils.cpp:95:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
   95 |   test_that("get_corr_mat_chol works as expected") {
      |   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
  181 | # define test_that CATCH_SECTION
      |                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
 11407 |     #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
       |                                  ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:2479:35: note: expanded from macro 'INTERNAL_CATCH_SECTION'
 2479 |         if( Catch::Section const& INTERNAL_CATCH_UNIQUE_NAME( catch_internal_Section ) = Catch::SectionInfo( CATCH_INTERNAL_LINEINFO, __VA_ARGS__ ) )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-utils.cpp:113:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
  113 | context("get_heterogeneous_cov") {
      | ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-utils.cpp:113:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:9: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:783:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE2'
  783 |         namespace{ Catch::AutoReg INTERNAL_CATCH_UNIQUE_NAME( autoRegistrar )( &TestName, CATCH_INTERNAL_LINEINFO, Catch::NameAndDesc( __VA_ARGS__ ) ); } \
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-utils.cpp:114:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
  114 |   test_that("get_heterogeneous_cov works as expected") {
      |   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
  181 | # define test_that CATCH_SECTION
      |                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
 11407 |     #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
       |                                  ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:2479:35: note: expanded from macro 'INTERNAL_CATCH_SECTION'
 2479 |         if( Catch::Section const& INTERNAL_CATCH_UNIQUE_NAME( catch_internal_Section ) = Catch::SectionInfo( CATCH_INTERNAL_LINEINFO, __VA_ARGS__ ) )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-utils.cpp:127:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
  127 | context("euclidean distance") {
      | ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-utils.cpp:127:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:9: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:783:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE2'
  783 |         namespace{ Catch::AutoReg INTERNAL_CATCH_UNIQUE_NAME( autoRegistrar )( &TestName, CATCH_INTERNAL_LINEINFO, Catch::NameAndDesc( __VA_ARGS__ ) ); } \
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-utils.cpp:128:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
  128 |   test_that("euclidean works as expected") {
      |   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
  181 | # define test_that CATCH_SECTION
      |                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
 11407 |     #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
       |                                  ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:2479:35: note: expanded from macro 'INTERNAL_CATCH_SECTION'
 2479 |         if( Catch::Section const& INTERNAL_CATCH_UNIQUE_NAME( catch_internal_Section ) = Catch::SectionInfo( CATCH_INTERNAL_LINEINFO, __VA_ARGS__ ) )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-utils.cpp:139:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
  139 |   test_that("euclidean works as expected for matrix") {
      |   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
  181 | # define test_that CATCH_SECTION
      |                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
 11407 |     #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
       |                                  ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:2479:35: note: expanded from macro 'INTERNAL_CATCH_SECTION'
 2479 |         if( Catch::Section const& INTERNAL_CATCH_UNIQUE_NAME( catch_internal_Section ) = Catch::SectionInfo( CATCH_INTERNAL_LINEINFO, __VA_ARGS__ ) )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-utils.cpp:153:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
  153 | context("cpow works") {
      | ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-utils.cpp:153:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:9: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:783:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE2'
  783 |         namespace{ Catch::AutoReg INTERNAL_CATCH_UNIQUE_NAME( autoRegistrar )( &TestName, CATCH_INTERNAL_LINEINFO, Catch::NameAndDesc( __VA_ARGS__ ) ); } \
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-utils.cpp:154:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
  154 |   test_that("cpow gives correct power by element for power 0.5") {
      |   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
  181 | # define test_that CATCH_SECTION
      |                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
 11407 |     #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
       |                                  ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:2479:35: note: expanded from macro 'INTERNAL_CATCH_SECTION'
 2479 |         if( Catch::Section const& INTERNAL_CATCH_UNIQUE_NAME( catch_internal_Section ) = Catch::SectionInfo( CATCH_INTERNAL_LINEINFO, __VA_ARGS__ ) )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-utils.cpp:161:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
  161 |   test_that("cpow gives correct power by element for power 2") {
      |   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
  181 | # define test_that CATCH_SECTION
      |                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
 11407 |     #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
       |                                  ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:2479:35: note: expanded from macro 'INTERNAL_CATCH_SECTION'
 2479 |         if( Catch::Section const& INTERNAL_CATCH_UNIQUE_NAME( catch_internal_Section ) = Catch::SectionInfo( CATCH_INTERNAL_LINEINFO, __VA_ARGS__ ) )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-utils.cpp:170:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
  170 | context("pseudoInverseSqrt works") {
      | ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-utils.cpp:170:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:9: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:783:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE2'
  783 |         namespace{ Catch::AutoReg INTERNAL_CATCH_UNIQUE_NAME( autoRegistrar )( &TestName, CATCH_INTERNAL_LINEINFO, Catch::NameAndDesc( __VA_ARGS__ ) ); } \
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-utils.cpp:171:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
  171 |   test_that("pseudoInverseSqrt gives correct result") {
      |   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
  181 | # define test_that CATCH_SECTION
      |                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
 11407 |     #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
       |                                  ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:2479:35: note: expanded from macro 'INTERNAL_CATCH_SECTION'
 2479 |         if( Catch::Section const& INTERNAL_CATCH_UNIQUE_NAME( catch_internal_Section ) = Catch::SectionInfo( CATCH_INTERNAL_LINEINFO, __VA_ARGS__ ) )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-utils.cpp:184:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
  184 |   test_that("pseudoInverseSqrt gives correct result for rank-deficient matrix") {
      |   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
  181 | # define test_that CATCH_SECTION
      |                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
 11407 |     #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
       |                                  ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:2479:35: note: expanded from macro 'INTERNAL_CATCH_SECTION'
 2479 |         if( Catch::Section const& INTERNAL_CATCH_UNIQUE_NAME( catch_internal_Section ) = Catch::SectionInfo( CATCH_INTERNAL_LINEINFO, __VA_ARGS__ ) )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-utils.cpp:198:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
  198 | context("Rcpp and eigen conversion") {
      | ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-utils.cpp:198:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:9: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:783:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE2'
  783 |         namespace{ Catch::AutoReg INTERNAL_CATCH_UNIQUE_NAME( autoRegistrar )( &TestName, CATCH_INTERNAL_LINEINFO, Catch::NameAndDesc( __VA_ARGS__ ) ); } \
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-utils.cpp:199:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
  199 |   test_that("conversions do not change values") {
      |   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
  181 | # define test_that CATCH_SECTION
      |                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
 11407 |     #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
       |                                  ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:2479:35: note: expanded from macro 'INTERNAL_CATCH_SECTION'
 2479 |         if( Catch::Section const& INTERNAL_CATCH_UNIQUE_NAME( catch_internal_Section ) = Catch::SectionInfo( CATCH_INTERNAL_LINEINFO, __VA_ARGS__ ) )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-utils.cpp:225:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
  225 | context("segment works for Rcpp Vector") {
      | ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-utils.cpp:225:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
  180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
      |                         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11403:36: note: expanded from macro 'CATCH_TEST_CASE'
 11403 |     #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ )
       |                                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:787:9: note: expanded from macro 'INTERNAL_CATCH_TESTCASE'
  787 |         INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ )
      |         ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:783:35: note: expanded from macro 'INTERNAL_CATCH_TESTCASE2'
  783 |         namespace{ Catch::AutoReg INTERNAL_CATCH_UNIQUE_NAME( autoRegistrar )( &TestName, CATCH_INTERNAL_LINEINFO, Catch::NameAndDesc( __VA_ARGS__ ) ); } \
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
test-utils.cpp:226:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
  226 |   test_that("segment have correct values") {
      |   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
  181 | # define test_that CATCH_SECTION
      |                    ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
 11407 |     #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
       |                                  ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:2479:35: note: expanded from macro 'INTERNAL_CATCH_SECTION'
 2479 |         if( Catch::Section const& INTERNAL_CATCH_UNIQUE_NAME( catch_internal_Section ) = Catch::SectionInfo( CATCH_INTERNAL_LINEINFO, __VA_ARGS__ ) )
      |                                   ^
/data/gannet/ripley/R/test-clang/testthat/include/testthat/vendor/catch.h:369:85: note: expanded from macro 'INTERNAL_CATCH_UNIQUE_NAME'
  369 | #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
      |                                                                                     ^
43 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++20 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -DTMBAD_FRAMEWORK -DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS -DRCPP_NO_MASK_RF_ERROR -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/testthat/include' -I'/data/gannet/ripley/R/test-clang/TMB/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw   -c tmb.cpp -o tmb.o
In file included from tmb.cpp:6:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:96:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:61:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  273 |       Index count = 0;
      |             ^
In file included from tmb.cpp:6:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:96:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:35:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable]
   78 |   Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree 
      |         ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
   79 |   Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
      |         ^
In file included from tmb.cpp:6:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:137:
/data/gannet/ripley/R/test-clang/TMB/include/TMBad/TMBad.cpp:3110:52: warning: all paths through this function will call itself [-Winfinite-recursion]
 3110 | ad_adapt F(const ad_adapt &x1, const ad_adapt &x2) {
      |                                                    ^
4 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++20 -shared -L/usr/local/clang/lib64 -L/usr/local/clang22/lib -L/usr/local/clang22/lib/x86_64-unknown-linux-gnu -L/usr/local/lib64 -L/usr/local/clang21/lib/clang/22/lib/x86_64-unknown-linux-gnu -o mmrm.so empirical.o exports.o jacobian.o kr_comp.o mmrm.o predict.o test-chol_cache.o test-covariance.o test-derivatives.o test-runner.o test-utils.o tmb.o
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/mmrm/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/mmrm/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/mmrm/src'
installing to /data/gannet/ripley/R/packages/tests-clang/mmrm.Rcheck/00LOCK-mmrm/00new/mmrm/libs
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** 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 (mmrm)