* installing *source* package ‘fastText’ ... ** package ‘fastText’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: ‘gcc-13 (GCC) 13.2.0’ using C++ compiler: ‘g++-13 (GCC) 13.2.0’ make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/fastText/src' g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -DNDEBUG -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c RcppExports.cpp -o RcppExports.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -DNDEBUG -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c args.cc -o args.o args.cc: In member function 'void fasttext::Args::parseArgs(const std::vector >&)': args.cc:96:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 96 | for (int ai = 2; ai < args.size(); ai += 2) { | ~~~^~~~~~~~~~~~~ g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -DNDEBUG -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c dictionary.cc -o dictionary.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -DNDEBUG -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c fasttext.cc -o fasttext.o gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes -c init.c -o init.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -DNDEBUG -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c main.cc -o main.o fasttext.cc: In member function 'void fasttext::FastText::getWordVector(fasttext::Vector&, const std::string&) const': fasttext.cc:73:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 73 | for (int i = 0; i < ngrams.size(); i++) { | ~~^~~~~~~~~~~~~~~ fasttext.cc: In lambda function: fasttext.cc:297:18: warning: comparison of integer expressions of different signedness: 'const int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 297 | return eosid == i1 || (eosid != i2 && norms[i1] > norms[i2]); | ~~~~~~^~~~~ fasttext.cc:297:34: warning: comparison of integer expressions of different signedness: 'const int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 297 | return eosid == i1 || (eosid != i2 && norms[i1] > norms[i2]); | ~~~~~~^~~~~ fasttext.cc: In member function 'void fasttext::FastText::quantize(const fasttext::Args&)': fasttext.cc:312:40: warning: comparison of integer expressions of different signedness: 'const size_t' {aka 'const long unsigned int'} and 'int64_t' {aka 'long int'} [-Wsign-compare] 312 | if (qargs.cutoff > 0 && qargs.cutoff < input_->size(0)) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ fasttext.cc:317:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 317 | for (auto i = 0; i < idx.size(); i++) { | ~~^~~~~~~~~~~~ fasttext.cc: In member function 'void fasttext::FastText::cbow(fasttext::Model&, fasttext::real, const std::vector&)': fasttext.cc:369:25: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 369 | for (int32_t w = 0; w < line.size(); w++) { | ~~^~~~~~~~~~~~~ fasttext.cc:373:41: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 373 | if (c != 0 && w + c >= 0 && w + c < line.size()) { | ~~~~~~^~~~~~~~~~~~~ fasttext.cc: In member function 'void fasttext::FastText::skipgram(fasttext::Model&, fasttext::real, const std::vector&)': fasttext.cc:387:25: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 387 | for (int32_t w = 0; w < line.size(); w++) { | ~~^~~~~~~~~~~~~ fasttext.cc:391:41: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 391 | if (c != 0 && w + c >= 0 && w + c < line.size()) { | ~~~~~~^~~~~~~~~~~~~ fasttext.cc: In member function 'void fasttext::FastText::getSentenceVector(std::istream&, fasttext::Vector&)': fasttext.cc:466:27: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 466 | for (int32_t i = 0; i < line.size(); i++) { | ~~^~~~~~~~~~~~~ fasttext.cc: In member function 'std::vector, fasttext::Vector> > fasttext::FastText::getNgramVectors(const std::string&) const': fasttext.cc:501:25: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 501 | for (int32_t i = 0; i < ngrams.size(); i++) { | ~~^~~~~~~~~~~~~~~ fasttext.cc: In member function 'std::vector > > fasttext::FastText::getNN(const fasttext::Matrix&, const fasttext::Vector&, int32_t, const std::set >&)': fasttext.cc:576:23: warning: comparison of integer expressions of different signedness: 'std::vector > >::size_type' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 576 | if (heap.size() == k && similarity < heap.front().first) { | ~~~~~~~~~~~~^~~~ fasttext.cc:581:23: warning: comparison of integer expressions of different signedness: 'std::vector > >::size_type' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 581 | if (heap.size() > k) { | ~~~~~~~~~~~~^~~ fasttext.cc: In member function 'void fasttext::FastText::loadVectors(const std::string&)': fasttext.cc:696:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int64_t' {aka 'long int'} [-Wsign-compare] 696 | for (size_t i = 0; i < n; i++) { | ~~^~~ fasttext.cc:701:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int64_t' {aka 'long int'} [-Wsign-compare] 701 | for (size_t j = 0; j < dim; j++) { | ~~^~~~~ fasttext.cc:713:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int64_t' {aka 'long int'} [-Wsign-compare] 713 | for (size_t i = 0; i < n; i++) { | ~~^~~ fasttext.cc:718:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int64_t' {aka 'long int'} [-Wsign-compare] 718 | for (size_t j = 0; j < dim; j++) { | ~~^~~~~ dictionary.cc: In member function 'void fasttext::Dictionary::computeSubwords(const std::string&, std::vector&, std::vector >*) const': dictionary.cc:184:52: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 184 | for (size_t j = i, n = 1; j < word.size() && n <= args_->maxn; n++) { | ~~^~~~~~~~~~~~~~ dictionary.cc:189:13: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 189 | if (n >= args_->minn && !(n == 1 && (i == 0 || j == word.size()))) { | ~~^~~~~~~~~~~~~~ dictionary.cc: In member function 'void fasttext::Dictionary::initNgrams()': dictionary.cc:201:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 201 | for (size_t i = 0; i < size_; i++) { | ~~^~~~~~~ dictionary.cc: In member function 'void fasttext::Dictionary::initTableDiscard()': dictionary.cc:299:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 299 | for (size_t i = 0; i < size_; i++) { | ~~^~~~~~~ dictionary.cc: In member function 'void fasttext::Dictionary::addWordNgrams(std::vector&, const std::vector&, int32_t) const': dictionary.cc:319:25: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 319 | for (int32_t i = 0; i < hashes.size(); i++) { | ~~^~~~~~~~~~~~~~~ dictionary.cc:321:31: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 321 | for (int32_t j = i + 1; j < hashes.size() && j < i + n; j++) { | ~~^~~~~~~~~~~~~~~ dictionary.cc: In member function 'void fasttext::Dictionary::prune(std::vector&)': dictionary.cc:518:25: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 518 | for (int32_t i = 0; i < words_.size(); i++) { | ~~^~~~~~~~~~~~~~~ dictionary.cc:520:12: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 520 | (j < words.size() && words[j] == i)) { | ~~^~~~~~~~~~~~~~ g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -DNDEBUG -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c matrix.cc -o matrix.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -DNDEBUG -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c meter.cc -o meter.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -DNDEBUG -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c model.cc -o model.o model.cc: In member function 'fasttext::real fasttext::Model::hierarchicalSoftmax(int32_t, fasttext::real)': model.cc:87:25: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 87 | for (int32_t i = 0; i < pathToRoot.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ model.cc: In member function 'void fasttext::Model::findKBest(int32_t, fasttext::real, std::vector >&, fasttext::Vector&, fasttext::Vector&) const': model.cc:217:21: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 217 | if (heap.size() == k && std_log(output[i]) < heap.front().first) { | ~~~~~~~~~~~~^~~~ model.cc:222:21: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 222 | if (heap.size() > k) { | ~~~~~~~~~~~~^~~ model.cc: In member function 'void fasttext::Model::dfs(int32_t, fasttext::real, int32_t, fasttext::real, std::vector >&, fasttext::Vector&) const': model.cc:239:19: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 239 | if (heap.size() == k && score < heap.front().first) { | ~~~~~~~~~~~~^~~~ model.cc:246:21: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 246 | if (heap.size() > k) { | ~~~~~~~~~~~~^~~ g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -DNDEBUG -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c productquantizer.cc -o productquantizer.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -DNDEBUG -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c qmatrix.cc -o qmatrix.o productquantizer.cc: In member function 'void fasttext::ProductQuantizer::load(std::istream&)': productquantizer.cc:246:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 246 | for (auto i = 0; i < centroids_.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -DNDEBUG -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c utils.cc -o utils.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -DNDEBUG -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c vector.cc -o vector.o g++-13 -std=gnu++17 -shared -L/usr/local/gcc13/lib64 -L/usr/local/lib64 -L/usr/local/clang18/lib/x86_64-unknown-linux-gnu -o fastText.so RcppExports.o args.o dictionary.o fasttext.o init.o main.o matrix.o meter.o model.o productquantizer.o qmatrix.o utils.o vector.o -llapack -L/data/gannet/ripley/R/R-devel/lib -lRblas -lgfortran -lm -lquadmath make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/fastText/src' make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/fastText/src' make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/fastText/src' installing to /data/gannet/ripley/R/packages/tests-devel/fastText.Rcheck/00LOCK-fastText/00new/fastText/libs ** R ** 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 (fastText)