downloading reverse dependencies ‘bioregion’, ‘MSCA’ trying URL 'file:///data/Repositories/CRAN/src/contrib/bioregion_1.3.0.tar.gz' trying URL 'file:///data/Repositories/CRAN/src/contrib/MSCA_1.2.1.tar.gz' installing dependencies ‘adespatial’, ‘fastkmedoids’, ‘rcartocolor’ begin installing package ‘fastkmedoids’ begin installing package ‘rcartocolor’ begin installing package ‘adespatial’ * installing *source* package ‘rcartocolor’ ... ** this is package ‘rcartocolor’ version ‘2.1.2’ ** package ‘rcartocolor’ successfully unpacked and MD5 sums checked ** using staged installation ** 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 ** testing if installed package can be loaded from temporary location ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (rcartocolor) * installing *source* package ‘fastkmedoids’ ... ** this is package ‘fastkmedoids’ version ‘1.4’ ** using staged installation ** libs using C++ compiler: ‘g++-15 (Debian 15.2.0-13) 15.2.0’ make[1]: Entering directory '/home/hornik/tmp/scratch/RtmplNPIRK/R.INSTALL2b63b6403f51a2/fastkmedoids/src' g++-15 -std=gnu++20 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c RcppExports.cpp -o RcppExports.o g++-15 -std=gnu++20 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c pam.cpp -o pam.o In file included from pam.cpp:21: pam.h: In member function ‘int Xoroshiro128Random::nextInt(int)’: pam.h:57:55: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 57 | int r = (int)((n & -n) == n ? nextLong() & n - 1 // power of two | ~~^~~ pam.h: In member function ‘std::vector Xoroshiro128Random::randomSample(int, int)’: pam.h:82:35: warning: comparison of integer expressions of different signedness: ‘std::unordered_map::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 82 | while (sample_dict.size() < samplesize) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ pam.h: At global scope: pam.h:465:25: warning: ‘virtual Assignment& Assignment::operator=(const Assignment&)’ was hidden [-Woverloaded-virtual=] 465 | virtual Assignment& operator=(const Assignment& other); | ^~~~~~~~ pam.h:533:7: note: by ‘FastAssignment& FastAssignment::operator=(const FastAssignment&)’ 533 | class FastAssignment : public Assignment | ^~~~~~~~~~~~~~ pam.cpp: In member function ‘double LAB::getMinDist(int, std::vector&, std::vector&)’: pam.cpp:132:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 132 | for (int i=0; i LAB::run(const std::vector&, int)’: pam.cpp:166:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 166 | for (int j=0; j::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 191 | while(medids.size() < k) { | ~~~~~~~~~~~~~~^~~ pam.cpp:203:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 203 | for (int j=0; j&)’: pam.cpp:374:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 374 | for (int j=0; j&, std::vector&, std::vector&, std::vector&)’: pam.cpp:522:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 522 | for (int j=0; j::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 527 | for(int i = 0; i < cost.size(); i++) { | ~~^~~~~~~~~~~~~ pam.cpp: In member function ‘virtual void FastPAM::computeReassignmentCost(int, std::vector&)’: pam.cpp:566:37: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 566 | for(int pi = pj + 1; pi < cost.size(); pi++) { | ~~~^~~~~~~~~~~~~ pam.cpp: In member function ‘virtual double FastPAM::assignToNearestCluster(std::vector&)’: pam.cpp:608:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 608 | for (int h=0; h< means.size(); ++h) { | ~^~~~~~~~~~~~~~ pam.cpp: In member function ‘int FastPAM::argmin(const std::vector&)’: pam.cpp:639:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 639 | for(int i = 0; i < best.size(); i++) { | ~~^~~~~~~~~~~~~ pam.cpp: In member function ‘int FastPAM::updateSecondNearest(int, std::vector&, int, double, int)’: pam.cpp:716:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 716 | for (int i=0; i PAMUtils::randomSample(Xoroshiro128Random&, int, int, const std::vector&)’: pam.cpp:740:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 740 | for (int i=0; i::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 748 | for (int i=0; i::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 756 | if (sample_dict.size() < samplesize) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ pam.cpp:761:58: warning: comparison of integer expressions of different signedness: ‘std::unordered_map::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 761 | for (int i=0; i::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 822 | for (int k=0; k&, std::vector&, std::vector&, std::vector&)’: pam.cpp:844:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 844 | for (int j=0; j::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 856 | for (int i=0; i::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 916 | for (int k=0; k::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1119 | for(int i = 0; i < medoids.size(); i++) { | ~~^~~~~~~~~~~~~~~~ pam.cpp: In member function ‘virtual bool Assignment::hasMedoid(int)’: pam.cpp:1157:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1157 | for (int i=0; i&, int)’: pam.cpp:344:30: warning: ‘bestid’ may be used uninitialized [-Wmaybe-uninitialized] 344 | medoids[bestcluster] = bestid; pam.cpp:313:9: note: ‘bestid’ was declared here 313 | int bestid; | ^~~~~~ In file included from /usr/include/c++/15/bits/stl_iterator.h:78, from /usr/include/c++/15/bits/stl_algobase.h:67, from /usr/include/c++/15/bits/stl_tree.h:65, from /usr/include/c++/15/map:64, from pam.cpp:14: In function ‘constexpr _Tp* std::construct_at(_Tp*, _Args&& ...) [with _Tp = int; _Args = {const int&}]’, inlined from ‘static constexpr void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = int; _Args = {const int&}; _Tp = int]’ at /usr/include/c++/15/bits/alloc_traits.h:676:21, inlined from ‘constexpr void std::vector<_Tp, _Alloc>::_M_realloc_append(_Args&& ...) [with _Args = {const int&}; _Tp = int; _Alloc = std::allocator]’ at /usr/include/c++/15/bits/vector.tcc:586:26, inlined from ‘constexpr void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = int; _Alloc = std::allocator]’ at /usr/include/c++/15/bits/stl_vector.h:1427:21, inlined from ‘virtual std::vector BUILD::run(const std::vector&, int)’ at pam.cpp:62:25: /usr/include/c++/15/bits/stl_construct.h:110:16: warning: ‘bestid’ may be used uninitialized [-Wmaybe-uninitialized] 110 | return ::new(__loc) _Tp(std::forward<_Args>(__args)...); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pam.cpp: In member function ‘virtual std::vector BUILD::run(const std::vector&, int)’: pam.cpp:42:9: note: ‘bestid’ was declared here 42 | int bestid; | ^~~~~~ g++-15 -std=gnu++20 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c rcpp_fastkmedoids.cpp -o rcpp_fastkmedoids.o In file included from rcpp_fastkmedoids.cpp:19: pam.h: In member function ‘int Xoroshiro128Random::nextInt(int)’: pam.h:57:55: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] 57 | int r = (int)((n & -n) == n ? nextLong() & n - 1 // power of two | ~~^~~ pam.h: In member function ‘std::vector Xoroshiro128Random::randomSample(int, int)’: pam.h:82:35: warning: comparison of integer expressions of different signedness: ‘std::unordered_map::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 82 | while (sample_dict.size() < samplesize) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ pam.h: At global scope: pam.h:465:25: warning: ‘virtual Assignment& Assignment::operator=(const Assignment&)’ was hidden [-Woverloaded-virtual=] 465 | virtual Assignment& operator=(const Assignment& other); | ^~~~~~~~ pam.h:533:7: note: by ‘FastAssignment& FastAssignment::operator=(const FastAssignment&)’ 533 | class FastAssignment : public Assignment | ^~~~~~~~~~~~~~ g++-15 -std=gnu++20 -shared -L/home/hornik/tmp/R/lib -Wl,-O1 -o fastkmedoids.so RcppExports.o pam.o rcpp_fastkmedoids.o -L/home/hornik/tmp/R/lib -lR make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmplNPIRK/R.INSTALL2b63b6403f51a2/fastkmedoids/src' installing to /home/hornik/tmp/CRAN_recheck/Library/00LOCK-fastkmedoids/00new/fastkmedoids/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 (fastkmedoids) * installing *source* package ‘adespatial’ ... ** this is package ‘adespatial’ version ‘0.3-28’ ** package ‘adespatial’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: ‘gcc-15 (Debian 15.2.0-13) 15.2.0’ using Fortran compiler: ‘GNU Fortran (Debian 15.2.0-13) 15.2.0’ make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmpq5iRvZ/R.INSTALL2b63ba65becab/adespatial/src' gcc-15 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c WRperiodogram.c -o WRperiodogram.o gcc-15 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c adesub.c -o adesub.o gcc-15 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c betadiv.c -o betadiv.o betadiv.c: In function ‘euclidean’: betadiv.c:36:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 36 | for (i = 0; i < I; i++) | ^~~ In file included from betadiv.c:7: /home/hornik/tmp/R/include/Rinternals.h:389:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 389 | #define UNPROTECT(n) Rf_unprotect(n) | ^~~~~~~~~~~~ betadiv.c:42:9: note: in expansion of macro ‘UNPROTECT’ 42 | UNPROTECT(3); | ^~~~~~~~~ betadiv.c: In function ‘manhattan’: betadiv.c:476:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 476 | for (i=0; i= 1.0.1) LinkingTo: Rcpp Timings: user system elapsed fastkmedoids 25.071 3.84 29.769 Results: Check status summary: NOTE OK Source packages 1 0 Reverse depends 0 2 Check results summary: fastkmedoids ... NOTE * checking CRAN incoming feasibility ... [4s/5s] NOTE rdepends_bioregion ... OK rdepends_MSCA ... OK