* installing *source* package 'fastTextR' ...
** package 'fastTextR' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'g++.exe (GCC) 13.3.0'
make[1]: Entering directory '/d/temp/2024_12_21_01_50_00_6285/Rtmpcv2XIQ/R.INSTALL2008859596c9e/fastTextR/src'
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -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'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c args.cc -o args.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c autotune.cc -o autotune.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c clean.cc -o clean.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -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 long unsigned int'} [-Wsign-compare]
   51 |     for (int32_t i = 0; i < threads.size(); i++) {
      |                         ~~^~~~~~~~~~~~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -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:181:52: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long 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 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 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 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 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 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 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 long unsigned int'} [-Wsign-compare]
  517 |         (j < words.size() && words[j] == i)) {
      |          ~~^~~~~~~~~~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -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:114:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long 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 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 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 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 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 long unsigned int'} and 'int64_t' {aka 'long 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 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 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 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 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 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 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 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 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 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 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++) {
      |                        ~~^~~~~
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 long unsigned int'} [-Wsign-compare]
  802 |   for (int32_t i = 0; i < threads.size(); i++) {
      |                       ~~^~~~~~~~~~~~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -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 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 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 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 long unsigned int'} [-Wsign-compare]
  294 |     for (int32_t i = 0; i < analogies.size(); i++) {
      |                         ~~^~~~~~~~~~~~~~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -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 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 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 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 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 long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare]
  289 |     if (heap.size() > k) {
      |         ~~~~~~~~~~~~^~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -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'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -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'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c model.cc -o model.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c productquantizer.cc -o productquantizer.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c quantmatrix.cc -o quantmatrix.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -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'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c vector.cc -o vector.o
g++ -std=gnu++17 -shared -s -static-libgcc -o fastTextR.dll tmp.def 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 -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/Rtmpcv2XIQ/R.INSTALL2008859596c9e/fastTextR/src'
make[1]: Entering directory '/d/temp/2024_12_21_01_50_00_6285/Rtmpcv2XIQ/R.INSTALL2008859596c9e/fastTextR/src'
make[1]: Leaving directory '/d/temp/2024_12_21_01_50_00_6285/Rtmpcv2XIQ/R.INSTALL2008859596c9e/fastTextR/src'
installing to d:/Rcompile/CRANpkg/lib/4.4/00LOCK-fastTextR/00new/fastTextR/libs/x64
** 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
** 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 'fastTextR' as fastTextR_2.1.0.zip
* DONE (fastTextR)