* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘phylotypr’ ...
** this is package ‘phylotypr’ version ‘0.2.0’
** package ‘phylotypr’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-16 (Debian 16.2.0-4) 16.2.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpwALkig/R.INSTALL2e17814bd7da7d/phylotypr/src'
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c RcppExports.cpp -o RcppExports.o
In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include/RcppCommon.h:29,
from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include/Rcpp.h:27,
from RcppExports.cpp:5:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include/Rcpp/r/check_r_headers.h:27:21: note: ‘#pragma message: R.h has been included before any Rcpp headers. This can lead to hard-to-debug errors, and is not necessary. See https://github.com/RcppCore/Rcpp/issues/1410’
27 | #pragma message "R.h has been included before any Rcpp headers. This can lead to hard-to-debug errors, and is not necessary. See https://github.com/RcppCore/Rcpp/issues/1410"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include/Rcpp/r/check_r_headers.h:35:21: note: ‘#pragma message: Rinternals.h has been included before any Rcpp headers. This can lead to hard-to-debug errors, and is not necessary. See https://github.com/RcppCore/Rcpp/issues/1410’
35 | #pragma message "Rinternals.h has been included before any Rcpp headers. This can lead to hard-to-debug errors, and is not necessary. See https://github.com/RcppCore/Rcpp/issues/1410"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c classify_bs.cpp -o classify_bs.o
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c detect_kmers.cpp -o detect_kmers.o
detect_kmers.cpp: In function ‘std::vector<std::vector<long unsigned int> > detect_kmers_rcpp(const std::vector<std::__cxx11::basic_string<char> >&, int, long long int, long long int)’:
detect_kmers.cpp:28:48: warning: comparison of integer expressions of different signedness: ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare]
28 | if (kmer_size > 32 || sequence[s].length() < kmer_size) return {};
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
detect_kmers.cpp:39:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare]
39 | for (size_t i = 0; i < kmer_size; ++i) {
| ~~^~~~~~~~~~~
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c do_classify.cpp -o do_classify.o
do_classify.cpp: In function ‘void driver_classify(classify_data*)’:
do_classify.cpp:26:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
26 | for(int j = 0; j< bs_kmers.size(); j++){
| ~^~~~~~~~~~~~~~~~~
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c kmers.cpp -o kmers.o
kmers.cpp: In function ‘std::vector<double> calculate_log_probability_rcpp(const Rcpp::List&, const Rcpp::NumericVector&, const Rcpp::NumericVector&, const Rcpp::NumericVector&)’:
kmers.cpp:21:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
21 | for(int j = 0; j < sequence_kmers.size(); j++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c rng.cpp -o rng.o
rng.cpp: In member function ‘std::vector<int> RNG::get_random_sample(int, int, int)’:
rng.cpp:8:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare]
8 | for (size_t i = 0; i < amount; i++) {
| ~~^~~~~~~~
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c utils.cpp -o utils.o
g++-16 -std=gnu++20 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o phylotypr.so RcppExports.o classify_bs.o detect_kmers.o do_classify.o kmers.o rng.o utils.o -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpwALkig/R.INSTALL2e17814bd7da7d/phylotypr/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpwALkig/R.INSTALL2e17814bd7da7d/phylotypr/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpwALkig/R.INSTALL2e17814bd7da7d/phylotypr/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-phylotypr/00new/phylotypr/libs
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
converting help for package ‘phylotypr’
finding HTML links ... done
build_kmer_database html
classify_sequence html
classify_sequences html
create_database html
filter_taxonomy html
phylotypr_example html
print_taxonomy html
rdp_trainset9 html
read_fasta html
read_taxonomy html
write_fasta html
*** 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 (phylotypr)