* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* installing *source* package ‘mutator’ ...
** this is package ‘mutator’ version ‘0.2.1’
** package ‘mutator’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
specified C++17
using C compiler: ‘Debian clang version 22.1.8 (1+b2)’
using C++ compiler: ‘Debian clang version 22.1.8 (1+b2)’
using C++17
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmpr8qzK1/R.INSTALL7eb285211b37d/mutator/src'
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c ASTHandler.cpp -o ASTHandler.o
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c AndOperator.cpp -o AndOperator.o
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c DeleteOperator.cpp -o DeleteOperator.o
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c DivideOperator.cpp -o DivideOperator.o
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c EqualOperator.cpp -o EqualOperator.o
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c LessThanOperator.cpp -o LessThanOperator.o
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c LessThanOrEqualOperator.cpp -o LessThanOrEqualOperator.o
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c LogicalAndOperator.cpp -o LogicalAndOperator.o
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c LogicalOrOperator.cpp -o LogicalOrOperator.o
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c MinusOperator.cpp -o MinusOperator.o
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c MoreThanOperator.cpp -o MoreThanOperator.o
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c MoreThanOrEqualOperator.cpp -o MoreThanOrEqualOperator.o
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c MultiplyOperator.cpp -o MultiplyOperator.o
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c Mutator.cpp -o Mutator.o
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c NotEqualOperator.cpp -o NotEqualOperator.o
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c Operator.cpp -o Operator.o
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c OrOperator.cpp -o OrOperator.o
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c PlusOperator.cpp -o PlusOperator.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c init.c -o init.o
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mutateR.cpp -o mutateR.o
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c test-asthandler.cpp -o test-asthandler.o
test-asthandler.cpp:22:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
22 | context("ASTHandler C++ tests")
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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__ )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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__ )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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-asthandler.cpp:22:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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__ )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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__ )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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__ ) ); } \
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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-asthandler.cpp:25:5: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
25 | test_that("gatherOperators runs on a basic call")
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
181 | # define test_that CATCH_SECTION
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
11407 | #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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__ ) )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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-asthandler.cpp:38:5: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
38 | test_that("gatherOperators discovers supported operator calls")
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
181 | # define test_that CATCH_SECTION
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
11407 | #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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__ ) )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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-asthandler.cpp:56:5: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
56 | test_that("gatherOperators creates value mutations for constants")
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
181 | # define test_that CATCH_SECTION
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
11407 | #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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__ ) )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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-asthandler.cpp:69:5: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
69 | test_that("gatherOperators skips delete mutation for block braces")
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
181 | # define test_that CATCH_SECTION
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
11407 | #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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__ ) )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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-asthandler.cpp:96:5: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
96 | test_that("gatherOperators reads filename from srcfile environment")
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
181 | # define test_that CATCH_SECTION
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
11407 | #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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__ ) )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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__ )
| ^
7 warnings generated.
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c test-mutateR.cpp -o test-mutateR.o
test-mutateR.cpp:7:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
7 | context("mutateR C++ entrypoints")
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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__ )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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__ )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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-mutateR.cpp:7:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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__ )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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__ )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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__ ) ); } \
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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-mutateR.cpp:10:5: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
10 | test_that("C_mutate_file returns a list")
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
181 | # define test_that CATCH_SECTION
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
11407 | #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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__ ) )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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.
clang++-22 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c test-mutator.cpp -o test-mutator.o
test-mutator.cpp:23:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
23 | context("Mutator C++ tests")
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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__ )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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__ )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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-mutator.cpp:23:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include/testthat/testthat.h:180:25: note: expanded from macro 'context'
180 | # define context(__X__) CATCH_TEST_CASE(__X__ " | " __FILE__)
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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__ )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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__ )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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__ ) ); } \
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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-mutator.cpp:26:5: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
26 | test_that("applyMutation runs on first discovered operator")
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
181 | # define test_that CATCH_SECTION
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
11407 | #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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__ ) )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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-mutator.cpp:53:5: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
53 | test_that("applyMutation returns false for invalid operator index")
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
181 | # define test_that CATCH_SECTION
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
11407 | #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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__ ) )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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-mutator.cpp:67:5: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
67 | test_that("applyFlipMutation records mutation_info on valid path")
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
181 | # define test_that CATCH_SECTION
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
11407 | #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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__ ) )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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-mutator.cpp:83:5: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
83 | test_that("applyDeleteMutation rejects root deletion")
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
181 | # define test_that CATCH_SECTION
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
11407 | #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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__ ) )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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-mutator.cpp:97:5: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
97 | test_that("applyDeleteMutation removes the first argument for path index zero")
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
181 | # define test_that CATCH_SECTION
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
11407 | #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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__ ) )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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-mutator.cpp:115:5: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
115 | test_that("applyDeleteMutation removes the second argument for path index one")
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
181 | # define test_that CATCH_SECTION
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
11407 | #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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__ ) )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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-mutator.cpp:133:5: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
133 | test_that("applyDeleteMutation uses zero-based CDR paths for nested calls")
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
181 | # define test_that CATCH_SECTION
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
11407 | #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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__ ) )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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-mutator.cpp:156:5: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
156 | test_that("applyMutation flips each supported operator")
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
181 | # define test_that CATCH_SECTION
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
11407 | #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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__ ) )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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-mutator.cpp:179:5: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
179 | test_that("applyFlipMutation fails for invalid traversal path")
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
181 | # define test_that CATCH_SECTION
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
11407 | #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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__ ) )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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-mutator.cpp:193:5: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
193 | test_that("applyFlipMutation records CHARSXP original_symbol and NA file_path")
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
181 | # define test_that CATCH_SECTION
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
11407 | #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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__ ) )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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-mutator.cpp:217:5: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
217 | test_that("applyFlipMutation records STRSXP original_symbol")
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include/testthat/testthat.h:181:20: note: expanded from macro 'test_that'
181 | # define test_that CATCH_SECTION
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include/testthat/vendor/catch.h:11407:34: note: expanded from macro 'CATCH_SECTION'
11407 | #define CATCH_SECTION( ... ) INTERNAL_CATCH_SECTION( __VA_ARGS__ )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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__ ) )
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c test-runner.cpp -o test-runner.o
clang++-22 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -Wl,-O1 -o mutator.so ASTHandler.o AndOperator.o DeleteOperator.o DivideOperator.o EqualOperator.o LessThanOperator.o LessThanOrEqualOperator.o LogicalAndOperator.o LogicalOrOperator.o MinusOperator.o MoreThanOperator.o MoreThanOrEqualOperator.o MultiplyOperator.o Mutator.o NotEqualOperator.o Operator.o OrOperator.o PlusOperator.o init.o mutateR.o test-asthandler.o test-mutateR.o test-mutator.o test-runner.o -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmpr8qzK1/R.INSTALL7eb285211b37d/mutator/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmpr8qzK1/R.INSTALL7eb285211b37d/mutator/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmpr8qzK1/R.INSTALL7eb285211b37d/mutator/src'
installing to /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/00LOCK-mutator/00new/mutator/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 (mutator)