* installing *source* package 'fastText' ...
** package 'fastText' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: 'gcc.exe (GCC) 13.3.0'
using C++ compiler: 'g++.exe (GCC) 13.3.0'
make[1]: Entering directory '/d/temp/2024_12_21_01_50_00_6285/RtmpU3hQ8c/R.INSTALL1880c262f3faa/fastText/src'
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -DNDEBUG   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -DNDEBUG   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -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 long unsigned int'} [-Wsign-compare]
   96 |   for (int ai = 2; ai < args.size(); ai += 2) {
      |                    ~~~^~~~~~~~~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -DNDEBUG   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -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 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 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 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 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 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 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 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 long unsigned int'} [-Wsign-compare]
  520 |         (j < words.size() && words[j] == i)) {
      |          ~~^~~~~~~~~~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -DNDEBUG   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -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 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 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 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 long unsigned int'} and 'int64_t' {aka 'long 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 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 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 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 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 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 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 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 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 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 long unsigned int'} and 'int64_t' {aka 'long 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 long unsigned int'} and 'int64_t' {aka 'long 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 long unsigned int'} and 'int64_t' {aka 'long 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 long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare]
  718 |     for (size_t j = 0; j < dim; j++) {
      |                        ~~^~~~~
gcc  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c init.c -o init.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -DNDEBUG   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c main.cc -o main.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -DNDEBUG   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c matrix.cc -o matrix.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -DNDEBUG   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c meter.cc -o meter.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -DNDEBUG   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -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 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 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 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 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 long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare]
  246 |     if (heap.size() > k) {
      |         ~~~~~~~~~~~~^~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -DNDEBUG   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -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 long unsigned int'} [-Wsign-compare]
  246 |   for (auto i = 0; i < centroids_.size(); i++) {
      |                    ~~^~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -DNDEBUG   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c qmatrix.cc -o qmatrix.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -DNDEBUG   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c utils.cc -o utils.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -DNDEBUG   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c vector.cc -o vector.o
g++ -std=gnu++17 -shared -s -static-libgcc -o fastText.dll tmp.def 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 -LD:/RCompile/recent/R-4.4.2/bin/x64 -lRlapack -LD:/RCompile/recent/R-4.4.2/bin/x64 -lRblas -lgfortran -lm -lquadmath -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.4.2/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2024_12_21_01_50_00_6285/RtmpU3hQ8c/R.INSTALL1880c262f3faa/fastText/src'
make[1]: Entering directory '/d/temp/2024_12_21_01_50_00_6285/RtmpU3hQ8c/R.INSTALL1880c262f3faa/fastText/src'
make[1]: Leaving directory '/d/temp/2024_12_21_01_50_00_6285/RtmpU3hQ8c/R.INSTALL1880c262f3faa/fastText/src'
installing to d:/Rcompile/CRANpkg/lib/4.4/00LOCK-fastText/00new/fastText/libs/x64
** 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
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* MD5 sums
packaged installation of 'fastText' as fastText_1.0.4.zip
* DONE (fastText)