* installing to library ‘/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages’
* installing *source* package ‘fastTextR’ ...
** package ‘fastTextR’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (Debian 14.2.0-6) 14.2.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp6RRXSg/R.INSTALL1b17027ebb2e83/fastTextR/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/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/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c args.cc -o args.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/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c autotune.cc -o autotune.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/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c clean.cc -o clean.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/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c densematrix.cc -o densematrix.o
densematrix.cc: In member function ‘void fasttext::DenseMatrix::uniform(fasttext::real, unsigned int, int32_t)’:
densematrix.cc:48:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   48 |     for (int i = 0; i < thread; i++) {
      |                     ~~^~~~~~~~
densematrix.cc:51:27: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   51 |     for (int32_t i = 0; i < threads.size(); i++) {
      |                         ~~^~~~~~~~~~~~~~~~
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/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -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:181:52: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
  181 |     for (size_t j = i, n = 1; j < word.size() && n <= args_->maxn; n++) {
      |                                                  ~~^~~~~~~~~~~~~~
dictionary.cc:186:13: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
  186 |       if (n >= args_->minn && !(n == 1 && (i == 0 || j == word.size()))) {
      |           ~~^~~~~~~~~~~~~~
dictionary.cc: In member function ‘void fasttext::Dictionary::initNgrams()’:
dictionary.cc:198:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare]
  198 |   for (size_t i = 0; i < size_; i++) {
      |                      ~~^~~~~~~
dictionary.cc: In member function ‘void fasttext::Dictionary::initTableDiscard()’:
dictionary.cc:296:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare]
  296 |   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:316: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]
  316 |   for (int32_t i = 0; i < hashes.size(); i++) {
      |                       ~~^~~~~~~~~~~~~~~
dictionary.cc:318: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]
  318 |     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:515: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]
  515 |   for (int32_t i = 0; i < words_.size(); i++) {
      |                       ~~^~~~~~~~~~~~~~~
dictionary.cc:517: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]
  517 |         (j < words.size() && words[j] == i)) {
      |          ~~^~~~~~~~~~~~~~
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/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -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:114:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  114 |   for (int i = 0; i < ngrams.size(); i++) {
      |                   ~~^~~~~~~~~~~~~~~
fasttext.cc: In lambda function:
fasttext.cc:314:12: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare]
  314 |     if (i1 == eosid && i2 == eosid) { // satisfy strict weak ordering
      |         ~~~^~~~~~~~
fasttext.cc:314:27: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare]
  314 |     if (i1 == eosid && i2 == eosid) { // satisfy strict weak ordering
      |                        ~~~^~~~~~~~
fasttext.cc:317:18: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  317 |     return eosid == i1 || (eosid != i2 && norms[i1] > norms[i2]);
      |            ~~~~~~^~~~~
fasttext.cc:317:34: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  317 |     return eosid == i1 || (eosid != i2 && norms[i1] > norms[i2]);
      |                            ~~~~~~^~~~~
fasttext.cc: In member function ‘void fasttext::FastText::quantize(const fasttext::Args&, const TrainCallback&)’:
fasttext.cc:337: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]
  337 |   if (qargs.cutoff > 0 && qargs.cutoff < input->size(0)) {
      |                           ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
fasttext.cc:342:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  342 |     for (auto i = 0; i < idx.size(); i++) {
      |                      ~~^~~~~~~~~~~~
fasttext.cc: In member function ‘void fasttext::FastText::cbow(fasttext::Model::State&, fasttext::real, const std::vector<int>&)’:
fasttext.cc:393: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]
  393 |   for (int32_t w = 0; w < line.size(); w++) {
      |                       ~~^~~~~~~~~~~~~
fasttext.cc:397: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]
  397 |       if (c != 0 && w + c >= 0 && w + c < line.size()) {
      |                                   ~~~~~~^~~~~~~~~~~~~
fasttext.cc: In member function ‘void fasttext::FastText::skipgram(fasttext::Model::State&, fasttext::real, const std::vector<int>&)’:
fasttext.cc:411: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]
  411 |   for (int32_t w = 0; w < line.size(); w++) {
      |                       ~~^~~~~~~~~~~~~
fasttext.cc:415: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]
  415 |       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:495: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]
  495 |     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:530: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]
  530 |   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::DenseMatrix&, const fasttext::Vector&, int32_t, const std::set<std::__cxx11::basic_string<char> >&)’:
fasttext.cc:591: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]
  591 |       if (heap.size() == k && similarity < heap.front().first) {
      |           ~~~~~~~~~~~~^~~~
fasttext.cc:596: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]
  596 |       if (heap.size() > k) {
      |           ~~~~~~~~~~~~^~~
fasttext.cc: In member function ‘std::shared_ptr<fasttext::Matrix> fasttext::FastText::getInputMatrixFromFile(const std::string&) const’:
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++) {
      |                        ~~^~~~~
fasttext.cc: In member function ‘void fasttext::FastText::startThreads(const TrainCallback&)’:
fasttext.cc:802:25: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  802 |   for (int32_t i = 0; i < threads.size(); i++) {
      |                       ~~^~~~~~~~~~~~~~~~
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/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c interface.cc -o interface.o
interface.cc: In function ‘Rcpp::List Rft_word_vectors(SEXP, std::vector<std::__cxx11::basic_string<char> >)’:
interface.cc:238:27: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  238 |     for (int32_t i = 0; i < words.size(); i++) {
      |                         ~~^~~~~~~~~~~~~~
interface.cc: In function ‘Rcpp::List Rft_sentence_vectors(SEXP, std::vector<std::__cxx11::basic_string<char> >)’:
interface.cc:254:27: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  254 |     for (int32_t i = 0; i < sentences.size(); i++) {
      |                         ~~^~~~~~~~~~~~~~~~~~
interface.cc: In function ‘Rcpp::NumericVector Rft_nearest_neighbors(SEXP, const std::string&, int32_t)’:
interface.cc:274:27: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘std::vector<std::pair<float, std::__cxx11::basic_string<char> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  274 |     for (int32_t i = 0; i < knn.size(); i++) {
      |                         ~~^~~~~~~~~~~~
interface.cc: In function ‘Rcpp::NumericVector Rft_analogies(SEXP, const std::string&, const std::string&, const std::string&, int32_t)’:
interface.cc:294:27: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘std::vector<std::pair<float, std::__cxx11::basic_string<char> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  294 |     for (int32_t i = 0; i < analogies.size(); i++) {
      |                         ~~^~~~~~~~~~~~~~~~~~
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/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c loss.cc -o loss.o
loss.cc: In member function ‘void fasttext::Loss::findKBest(int32_t, fasttext::real, fasttext::Predictions&, const fasttext::Vector&) const’:
loss.cc:83: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]
   83 |     if (heap.size() == k && std_log(output[i]) < heap.front().first) {
      |         ~~~~~~~~~~~~^~~~
loss.cc:88: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]
   88 |     if (heap.size() > k) {
      |         ~~~~~~~~~~~~^~~
loss.cc: In member function ‘virtual fasttext::real fasttext::HierarchicalSoftmaxLoss::forward(const std::vector<int>&, int32_t, fasttext::Model::State&, fasttext::real, bool)’:
loss.cc:257: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]
  257 |   for (int32_t i = 0; i < pathToRoot.size(); i++) {
      |                       ~~^~~~~~~~~~~~~~~~~~~
loss.cc: In member function ‘void fasttext::HierarchicalSoftmaxLoss::dfs(int32_t, fasttext::real, int32_t, fasttext::real, fasttext::Predictions&, const fasttext::Vector&) const’:
loss.cc:282: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]
  282 |   if (heap.size() == k && score < heap.front().first) {
      |       ~~~~~~~~~~~~^~~~
loss.cc:289: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]
  289 |     if (heap.size() > k) {
      |         ~~~~~~~~~~~~^~~
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/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c matrix.cc -o matrix.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/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c meter.cc -o meter.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/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c model.cc -o model.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/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c productquantizer.cc -o productquantizer.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/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c quantmatrix.cc -o quantmatrix.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/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c utils.cc -o utils.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/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c vector.cc -o vector.o
g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -Wl,-O1 -o fastTextR.so RcppExports.o args.o autotune.o clean.o densematrix.o dictionary.o fasttext.o interface.o loss.o matrix.o meter.o model.o productquantizer.o quantmatrix.o utils.o vector.o -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp6RRXSg/R.INSTALL1b17027ebb2e83/fastTextR/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp6RRXSg/R.INSTALL1b17027ebb2e83/fastTextR/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp6RRXSg/R.INSTALL1b17027ebb2e83/fastTextR/src'
installing to /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/00LOCK-fastTextR/00new/fastTextR/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** 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 (fastTextR)