* installing *source* package 'fastText' ... ** using staged installation ** libs using C compiler: 'gcc.exe (GCC) 12.3.0' using C++ compiler: 'g++.exe (GCC) 12.3.0' using C++11 g++ -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -DNDEBUG -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o g++ -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -DNDEBUG -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c args.cc -o args.o args.cc: In member function 'void fasttext::Args::parseArgs(const std::vector >&)': args.cc:97:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 97 | for (int ai = 2; ai < args.size(); ai += 2) { | ~~~^~~~~~~~~~~~~ g++ -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -DNDEBUG -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&, std::vector >*) const': dictionary.cc:185:52: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 185 | for (size_t j = i, n = 1; j < word.size() && n <= args_->maxn; n++) { | ~~^~~~~~~~~~~~~~ dictionary.cc:190:13: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 190 | if (n >= args_->minn && !(n == 1 && (i == 0 || j == word.size()))) { | ~~^~~~~~~~~~~~~~ dictionary.cc: In member function 'void fasttext::Dictionary::initNgrams()': dictionary.cc:202:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 202 | for (size_t i = 0; i < size_; i++) { | ~~^~~~~~~ dictionary.cc: In member function 'void fasttext::Dictionary::initTableDiscard()': dictionary.cc:300:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 300 | 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:320:25: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 320 | for (int32_t i = 0; i < hashes.size(); i++) { | ~~^~~~~~~~~~~~~~~ dictionary.cc:322:31: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 322 | 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:519:25: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 519 | for (int32_t i = 0; i < words_.size(); i++) { | ~~^~~~~~~~~~~~~~~ dictionary.cc:521:12: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 521 | (j < words.size() && words[j] == i)) { | ~~^~~~~~~~~~~~~~ g++ -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -DNDEBUG -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:74:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 74 | for (int i = 0; i < ngrams.size(); i++) { | ~~^~~~~~~~~~~~~~~ fasttext.cc: In lambda function: fasttext.cc:298:18: warning: comparison of integer expressions of different signedness: 'const int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 298 | return eosid == i1 || (eosid != i2 && norms[i1] > norms[i2]); | ~~~~~~^~~~~ fasttext.cc:298:34: warning: comparison of integer expressions of different signedness: 'const int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 298 | return eosid == i1 || (eosid != i2 && norms[i1] > norms[i2]); | ~~~~~~^~~~~ fasttext.cc: In member function 'void fasttext::FastText::quantize(const fasttext::Args&)': fasttext.cc:313: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] 313 | if (qargs.cutoff > 0 && qargs.cutoff < input_->size(0)) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ fasttext.cc:318:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 318 | 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:370:25: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 370 | for (int32_t w = 0; w < line.size(); w++) { | ~~^~~~~~~~~~~~~ fasttext.cc:374:41: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 374 | 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:388:25: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 388 | for (int32_t w = 0; w < line.size(); w++) { | ~~^~~~~~~~~~~~~ fasttext.cc:392:41: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 392 | 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:467:27: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 467 | 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:502:25: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 502 | 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:577:23: warning: comparison of integer expressions of different signedness: 'std::vector > >::size_type' {aka 'long long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 577 | if (heap.size() == k && similarity < heap.front().first) { | ~~~~~~~~~~~~^~~~ fasttext.cc:582:23: warning: comparison of integer expressions of different signedness: 'std::vector > >::size_type' {aka 'long long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 582 | if (heap.size() > k) { | ~~~~~~~~~~~~^~~ fasttext.cc: In member function 'void fasttext::FastText::loadVectors(const std::string&)': fasttext.cc:697: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] 697 | for (size_t i = 0; i < n; i++) { | ~~^~~ fasttext.cc:702: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] 702 | for (size_t j = 0; j < dim; j++) { | ~~^~~~~ fasttext.cc:714: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] 714 | for (size_t i = 0; i < n; i++) { | ~~^~~ fasttext.cc:719: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] 719 | for (size_t j = 0; j < dim; j++) { | ~~^~~~~ gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/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++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -DNDEBUG -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c main.cc -o main.o g++ -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -DNDEBUG -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c matrix.cc -o matrix.o g++ -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -DNDEBUG -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c meter.cc -o meter.o g++ -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -DNDEBUG -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::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 >&, fasttext::Vector&, fasttext::Vector&) const': model.cc:217:21: warning: comparison of integer expressions of different signedness: 'std::vector >::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 >::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 >&, fasttext::Vector&) const': model.cc:239:19: warning: comparison of integer expressions of different signedness: 'std::vector >::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 >::size_type' {aka 'long long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 246 | if (heap.size() > k) { | ~~~~~~~~~~~~^~~ g++ -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -DNDEBUG -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::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 246 | for (auto i = 0; i < centroids_.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ g++ -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -DNDEBUG -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c qmatrix.cc -o qmatrix.o g++ -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -DNDEBUG -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c utils.cc -o utils.o g++ -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -DNDEBUG -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c vector.cc -o vector.o g++ -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/bin/x64 -lRlapack -LD:/RCompile/recent/R/bin/x64 -lRblas -lgfortran -lm -lquadmath -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR installing to d:/RCompile/CRANincoming/R-devel/lib/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 * DONE (fastText)