* installing *source* package ‘psqn’ ...
** this is package ‘psqn’ version ‘0.3.2’
** package ‘psqn’ 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/psqn/src'
clang++-22 -stdlib=libc++ -std=gnu++20 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -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' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I../inst/include/ -fopenmp -DPSQN_W_LAPACK -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c RcppExports.cpp -o RcppExports.o
In file included from RcppExports.cpp:5:
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 RcppExports.cpp:5:
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 RcppExports.cpp:5:
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 RcppExports.cpp:5:
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 -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' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I../inst/include/ -fopenmp -DPSQN_W_LAPACK -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c r-api.cpp -o r-api.o
clang++-22 -stdlib=libc++ -std=gnu++20 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -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' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I../inst/include/ -fopenmp -DPSQN_W_LAPACK -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c test-intrapolate.cpp -o test-intrapolate.o
clang++-22 -stdlib=libc++ -std=gnu++20 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -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' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I../inst/include/ -fopenmp -DPSQN_W_LAPACK -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c test-lp.cpp -o test-lp.o
test-intrapolate.cpp:6:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
6 | context("testing intrapolate class") {
| ^
/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-intrapolate.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-intrapolate.cpp:7:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
7 | test_that("intrapolate gives the correct result with a 2nd order poly") {
| ^
/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-intrapolate.cpp:20:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
20 | test_that("intrapolate gives the correct result with a 3rd order poly") {
| ^
/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__ )
| ^
4 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++20 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -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' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I../inst/include/ -fopenmp -DPSQN_W_LAPACK -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c test-richardson-extrapolation.cpp -o test-richardson-extrapolation.o
In file included from r-api.cpp:6:
In file included from ../inst/include/psqn-Rcpp-wrapper.h:9:
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 r-api.cpp:6:
In file included from ../inst/include/psqn-Rcpp-wrapper.h:9:
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 r-api.cpp:6:
In file included from ../inst/include/psqn-Rcpp-wrapper.h:9:
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;
| ^
test-lp.cpp:7:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
7 | context("testing lp namespace") {
| ^
/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-lp.cpp:7: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-lp.cpp:8:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
8 | test_that("vec_diff works") {
| ^
/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-lp.cpp:25:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
25 | test_that("mat_vec_dot works (no seperation)") {
| ^
/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-lp.cpp:44:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
44 | test_that("mat_vec_dot works (seperation)") {
| ^
/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-lp.cpp:69:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
69 | test_that("mat_vec_dot works (with indices)") {
| ^
/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-lp.cpp:98:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
98 | test_that("mat_vec_dot_excl_first works") {
| ^
/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-lp.cpp:124:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
124 | test_that("rank_one_update works") {
| ^
/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-lp.cpp:143:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
143 | test_that("bfgs_update works") {
| ^
/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-lp.cpp:173:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
173 | test_that("setup_precondition_chol and precondition_chol_solve works") {
| ^
/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__ )
| ^
In file included from r-api.cpp:6:
In file included from ../inst/include/psqn-Rcpp-wrapper.h:9:
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;
| ^
10 warnings generated.
test-richardson-extrapolation.cpp:6:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
6 | context("testing numerical differentation") {
| ^
/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-richardson-extrapolation.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-richardson-extrapolation.cpp:7:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
7 | test_that("works with a multivariate function") {
| ^
/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__ )
| ^
3 warnings generated.
In file included from r-api.cpp:6:
In file included from ../inst/include/psqn-Rcpp-wrapper.h:9:
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:25:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.0-Linux-X64/bin/../include/c++/v1/iterator:693:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.0-Linux-X64/bin/../include/c++/v1/__iterator/istreambuf_iterator.h:19:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.0-Linux-X64/bin/../include/c++/v1/__string/char_traits.h:13:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.0-Linux-X64/bin/../include/c++/v1/__algorithm/find.h:24:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.0-Linux-X64/bin/../include/c++/v1/__string/constexpr_c_functions.h:15:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.0-Linux-X64/bin/../include/c++/v1/__memory/construct_at.h:67:5: warning: destructor called on non-final 'r_worker_psqn' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
67 | __loc->~_Tp();
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.0-Linux-X64/bin/../include/c++/v1/__memory/allocator_traits.h:313:10: note: in instantiation of function template specialization 'std::__destroy_at<r_worker_psqn>' requested here
313 | std::__destroy_at(__p);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.0-Linux-X64/bin/../include/c++/v1/__vector/vector.h:776:23: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<r_worker_psqn>>::destroy<r_worker_psqn, 0>' requested here
776 | __alloc_traits::destroy(this->__alloc_, std::__to_address(--__soon_to_be_end));
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.0-Linux-X64/bin/../include/c++/v1/__vector/vector.h:564:5: note: in instantiation of member function 'std::vector<r_worker_psqn>::__base_destruct_at_end' requested here
564 | __base_destruct_at_end(this->__begin_);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.0-Linux-X64/bin/../include/c++/v1/__vector/vector.h:249:16: note: in instantiation of member function 'std::vector<r_worker_psqn>::clear' requested here
249 | __vec_.clear();
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.0-Linux-X64/bin/../include/c++/v1/__vector/vector.h:260:67: note: in instantiation of member function 'std::vector<r_worker_psqn>::__destroy_vector::operator()' requested here
260 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI ~vector() { __destroy_vector (*this)(); }
| ^
r-api.cpp:404:30: note: in instantiation of member function 'std::vector<r_worker_psqn>::~vector' requested here
404 | std::vector<r_worker_psqn> funcs;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.0-Linux-X64/bin/../include/c++/v1/__memory/construct_at.h:67:13: note: qualify call to silence this warning
67 | __loc->~_Tp();
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.0-Linux-X64/bin/../include/c++/v1/__memory/construct_at.h:67:5: warning: destructor called on non-final 'r_worker_optimizer_generic' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
67 | __loc->~_Tp();
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.0-Linux-X64/bin/../include/c++/v1/__memory/allocator_traits.h:313:10: note: in instantiation of function template specialization 'std::__destroy_at<r_worker_optimizer_generic>' requested here
313 | std::__destroy_at(__p);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.0-Linux-X64/bin/../include/c++/v1/__vector/vector.h:776:23: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<r_worker_optimizer_generic>>::destroy<r_worker_optimizer_generic, 0>' requested here
776 | __alloc_traits::destroy(this->__alloc_, std::__to_address(--__soon_to_be_end));
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.0-Linux-X64/bin/../include/c++/v1/__vector/vector.h:564:5: note: in instantiation of member function 'std::vector<r_worker_optimizer_generic>::__base_destruct_at_end' requested here
564 | __base_destruct_at_end(this->__begin_);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.0-Linux-X64/bin/../include/c++/v1/__vector/vector.h:249:16: note: in instantiation of member function 'std::vector<r_worker_optimizer_generic>::clear' requested here
249 | __vec_.clear();
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.0-Linux-X64/bin/../include/c++/v1/__vector/vector.h:260:67: note: in instantiation of member function 'std::vector<r_worker_optimizer_generic>::__destroy_vector::operator()' requested here
260 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI ~vector() { __destroy_vector (*this)(); }
| ^
r-api.cpp:1284:43: note: in instantiation of member function 'std::vector<r_worker_optimizer_generic>::~vector' requested here
1284 | std::vector<r_worker_optimizer_generic> funcs;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.0-Linux-X64/bin/../include/c++/v1/__memory/construct_at.h:67:13: note: qualify call to silence this warning
67 | __loc->~_Tp();
| ^
clang++-22 -stdlib=libc++ -std=gnu++20 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -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' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I../inst/include/ -fopenmp -DPSQN_W_LAPACK -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
7 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 psqn.so RcppExports.o r-api.o test-intrapolate.o test-lp.o test-richardson-extrapolation.o test-runner.o -L/data/gannet/ripley/R/R-clang/lib -lRlapack -L/data/gannet/ripley/R/R-clang/lib -lRblas -lflang_rt.runtime -lm -fopenmp
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/psqn/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/psqn/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/psqn/src'
installing to /data/gannet/ripley/R/packages/tests-clang/psqn.Rcheck/00LOCK-psqn/00new/psqn/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** 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 (psqn)