* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* installing *source* package ‘catsim’ ...
** this is package ‘catsim’ version ‘0.2.4’
** package ‘catsim’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘Debian clang version 22.1.5 (1)’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpzuLzx6/R.INSTALL58d8f213d250d/catsim/src'
clang++-22 -std=gnu++20 -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/Rcpp/include' -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 RcppExports.cpp -o RcppExports.o
clang++-22 -std=gnu++20 -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/Rcpp/include' -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 internalfunction.cpp -o internalfunction.o
clang++-22 -std=gnu++20 -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/Rcpp/include' -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-example.cpp -o test-example.o
test-example.cpp:18:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
18 | context("Simple function checks") {
| ^
/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-example.cpp:18: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-example.cpp:19:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
19 | test_that("Diversity measures correct") {
| ^
/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-example.cpp:34:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
34 | test_that("Difference measures correct") {
| ^
/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__ )
| ^
4 warnings generated.
clang++-22 -std=gnu++20 -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/Rcpp/include' -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++20 -shared -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -Wl,-O1 -o catsim.so RcppExports.o internalfunction.o test-example.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/RtmpzuLzx6/R.INSTALL58d8f213d250d/catsim/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpzuLzx6/R.INSTALL58d8f213d250d/catsim/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpzuLzx6/R.INSTALL58d8f213d250d/catsim/src'
installing to /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/00LOCK-catsim/00new/catsim/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 (catsim)