* installing to library ‘/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages’
* installing *source* package ‘fastText’ ...
** package ‘fastText’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-13 (Debian 13.2.0-13) 13.2.0’
using C++ compiler: ‘g++-13 (Debian 13.2.0-13) 13.2.0’
make[1]: Entering directory '/tmp/RtmpmxuRir/R.INSTALLf0cfc1ec3e671/fastText/src'
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -DNDEBUG -fpic  -g -O2 -Wall -pedantic -mtune=native  -c RcppExports.cpp -o RcppExports.o
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -DNDEBUG -fpic  -g -O2 -Wall -pedantic -mtune=native  -c args.cc -o args.o
args.cc: In member function ‘void fasttext::Args::parseArgs(const std::vector<std::__cxx11::basic_string<char> >&)’:
args.cc:96:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   96 |   for (int ai = 2; ai < args.size(); ai += 2) {
      |                    ~~~^~~~~~~~~~~~~
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -DNDEBUG -fpic  -g -O2 -Wall -pedantic -mtune=native  -c dictionary.cc -o dictionary.o
dictionary.cc: In member function ‘void fasttext::Dictionary::computeSubwords(const std::string&, std::vector<int>&, std::vector<std::__cxx11::basic_string<char> >*) 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<int>&, const std::vector<int>&, int32_t) const’:
dictionary.cc:319:25: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘std::vector<int>::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<int>::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<int>&)’:
dictionary.cc:518:25: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘std::vector<fasttext::entry>::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<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  520 |         (j < words.size() && words[j] == i)) {
      |          ~~^~~~~~~~~~~~~~
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -DNDEBUG -fpic  -g -O2 -Wall -pedantic -mtune=native  -c fasttext.cc -o fasttext.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<int>::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<int>::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<int>&)’:
fasttext.cc:369:25: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘std::vector<int>::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<int>::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<int>&)’:
fasttext.cc:387:25: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘std::vector<int>::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<int>::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<int>::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<std::pair<std::__cxx11::basic_string<char>, 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<int>::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<std::pair<float, std::__cxx11::basic_string<char> > > fasttext::FastText::getNN(const fasttext::Matrix&, const fasttext::Vector&, int32_t, const std::set<std::__cxx11::basic_string<char> >&)’:
fasttext.cc:576:23: warning: comparison of integer expressions of different signedness: ‘std::vector<std::pair<float, std::__cxx11::basic_string<char> > >::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<std::pair<float, std::__cxx11::basic_string<char> > >::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++) {
      |                        ~~^~~~~
gcc-13 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I../inst/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 -Wstrict-prototypes -pedantic -mtune=native  -c init.c -o init.o
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -DNDEBUG -fpic  -g -O2 -Wall -pedantic -mtune=native  -c main.cc -o main.o
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -DNDEBUG -fpic  -g -O2 -Wall -pedantic -mtune=native  -c matrix.cc -o matrix.o
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -DNDEBUG -fpic  -g -O2 -Wall -pedantic -mtune=native  -c meter.cc -o meter.o
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -DNDEBUG -fpic  -g -O2 -Wall -pedantic -mtune=native  -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<int>::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<std::pair<float, int> >&, fasttext::Vector&, fasttext::Vector&) const’:
model.cc:217:21: warning: comparison of integer expressions of different signedness: ‘std::vector<std::pair<float, int> >::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<std::pair<float, int> >::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<std::pair<float, int> >&, fasttext::Vector&) const’:
model.cc:239:19: warning: comparison of integer expressions of different signedness: ‘std::vector<std::pair<float, int> >::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<std::pair<float, int> >::size_type’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare]
  246 |     if (heap.size() > k) {
      |         ~~~~~~~~~~~~^~~
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -DNDEBUG -fpic  -g -O2 -Wall -pedantic -mtune=native  -c productquantizer.cc -o productquantizer.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<float>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  246 |   for (auto i = 0; i < centroids_.size(); i++) {
      |                    ~~^~~~~~~~~~~~~~~~~~~
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -DNDEBUG -fpic  -g -O2 -Wall -pedantic -mtune=native  -c qmatrix.cc -o qmatrix.o
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -DNDEBUG -fpic  -g -O2 -Wall -pedantic -mtune=native  -c utils.cc -o utils.o
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -DNDEBUG -fpic  -g -O2 -Wall -pedantic -mtune=native  -c vector.cc -o vector.o
g++-13 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -Wl,-O1 -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/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -lRblas -lgfortran -lm -lquadmath -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/RtmpmxuRir/R.INSTALLf0cfc1ec3e671/fastText/src'
make[1]: Entering directory '/tmp/RtmpmxuRir/R.INSTALLf0cfc1ec3e671/fastText/src'
make[1]: Leaving directory '/tmp/RtmpmxuRir/R.INSTALLf0cfc1ec3e671/fastText/src'
installing to /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/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)