* installing to library ‘/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages’
* installing *source* package ‘intmap’ ...
** this is package ‘intmap’ version ‘1.0.0’
** package ‘intmap’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (Debian 14.3.0-10) 14.3.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp1pwxYN/R.INSTALL31c420320d0a34/intmap/src'
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/BH/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c INTMAP.cpp -o INTMAP.o
In file included from /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include/Rcpp/Module.h:510,
from /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include/Rcpp.h:70,
from intmap_types.h:4,
from INTMAP.cpp:2:
/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include/Rcpp/module/class.h: In instantiation of ‘void Rcpp::class_<Class>::SetFinalizer(finalizer_class*) [with Class = INTMAP; finalizer_class = Rcpp::CppFinalizer<INTMAP>]’:
/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include/Rcpp/module/class.h:497:13: required from ‘Rcpp::class_<Class>::self& Rcpp::class_<Class>::finalizer(void (*)(Class*)) [with Class = INTMAP; self = Rcpp::class_<INTMAP>]’
497 | SetFinalizer( new FunctionFinalizer<Class>( f ) ) ;
| ^~~~~~~~~~~~
INTMAP.cpp:39:17: required from here
14 | class_<INTMAP>("INTMAP")
| ~~~~~~~~~~~~~~~~~~~~~~~~
15 |
|
16 | .constructor<Rcpp::IntegerVector, Rcpp::List>()
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
17 | .constructor<Rcpp::XPtr<intmapR>>()
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18 |
|
19 | .field("ptr", &INTMAP::ptr)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
20 |
|
21 | .method("size", &INTMAP::size)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
22 | .method("at", &INTMAP::at)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
23 | .method("has_key", &INTMAP::has_key)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
24 | .method("index", &INTMAP::index)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
25 | .method("nth", &INTMAP::nth)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
26 | .method("insert", &INTMAP::insert)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
27 | .method("assign", &INTMAP::assign)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
28 | .method("erase", &INTMAP::erase)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
29 | .method("merase", &INTMAP::merase)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | .method("merge", &INTMAP::merge)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | .method("keys", &INTMAP::keys)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | .method("values", &INTMAP::values)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33 | .method("toList", &INTMAP::toList)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
34 | .method("extract", &INTMAP::extract)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
35 | .method("extract_inplace", &INTMAP::extract_inplace)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
36 | .method("extract_by_erasing", &INTMAP::extract_by_erasing)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | .method("extract_by_erasing_inplace", &INTMAP::extract_by_erasing_inplace)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
38 |
|
39 | .finalizer(&finalizer_of_intmap);
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include/Rcpp/module/class.h:507:42: warning: deleting object of polymorphic class type ‘Rcpp::CppFinalizer<INTMAP>’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
507 | if( ptr->finalizer_pointer ) delete ptr->finalizer_pointer ;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/BH/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c RcppExports.cpp -o RcppExports.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/BH/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c intmapR.cpp -o intmapR.o
g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -Wl,-O1 -o intmap.so INTMAP.o RcppExports.o intmapR.o -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp1pwxYN/R.INSTALL31c420320d0a34/intmap/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp1pwxYN/R.INSTALL31c420320d0a34/intmap/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp1pwxYN/R.INSTALL31c420320d0a34/intmap/src'
installing to /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/00LOCK-intmap/00new/intmap/libs
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (intmap)