* installing *source* package 'kgrams' ...
** package 'kgrams' 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_18_01_50_01_11818/RtmpAZSvdI/R.INSTALL30a2c4cb6249c/kgrams/src'
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppProgress/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c DictionaryR.cpp -o DictionaryR.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppProgress/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppProgress/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c Smoothing.cpp -o Smoothing.o
Smoothing.cpp: In function 'int main()':
Smoothing.cpp:701:16: warning: unused variable 'sum' [-Wunused-variable]
  701 |         double sum = prob_a + prob_b + prob_eos + prob_unk;
      |                ^~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppProgress/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c SmoothingR.cpp -o SmoothingR.o
In file included from D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp.h:46,
                 from kgramFreqsR.h:4,
                 from SmoothingR.h:9,
                 from SmoothingR.cpp:1:
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/XPtr.h: In instantiation of 'void Rcpp::standard_delete_finalizer(T*) [with T = Smoother]':
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/module/class.h:38:35:   required from 'class Rcpp::class_<Smoother>'
SmoothingR.cpp:108:39:   required from here
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/XPtr.h:31:5: warning: deleting object of polymorphic class type 'Smoother' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
   31 |     delete obj;
      |     ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/XPtr.h: In instantiation of 'void Rcpp::standard_delete_finalizer(T*) [with T = SBOSmoother]':
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/module/class.h:38:35:   required from 'class Rcpp::class_<SBOSmoother>'
SmoothingR.cpp:112:45:   required from here
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/XPtr.h:31:5: warning: deleting object of polymorphic class type 'SBOSmoother' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/XPtr.h: In instantiation of 'void Rcpp::standard_delete_finalizer(T*) [with T = AddkSmoother]':
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/module/class.h:38:35:   required from 'class Rcpp::class_<AddkSmoother>'
SmoothingR.cpp:116:47:   required from here
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/XPtr.h:31:5: warning: deleting object of polymorphic class type 'AddkSmoother' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/XPtr.h: In instantiation of 'void Rcpp::standard_delete_finalizer(T*) [with T = MLSmoother]':
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/module/class.h:38:35:   required from 'class Rcpp::class_<MLSmoother>'
SmoothingR.cpp:120:43:   required from here
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/XPtr.h:31:5: warning: deleting object of polymorphic class type 'MLSmoother' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/XPtr.h: In instantiation of 'void Rcpp::standard_delete_finalizer(T*) [with T = KNSmoother]':
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/module/class.h:38:35:   required from 'class Rcpp::class_<KNSmoother>'
SmoothingR.cpp:123:43:   required from here
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/XPtr.h:31:5: warning: deleting object of polymorphic class type 'KNSmoother' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/XPtr.h: In instantiation of 'void Rcpp::standard_delete_finalizer(T*) [with T = mKNSmoother]':
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/module/class.h:38:35:   required from 'class Rcpp::class_<mKNSmoother>'
SmoothingR.cpp:127:45:   required from here
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/XPtr.h:31:5: warning: deleting object of polymorphic class type 'mKNSmoother' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/XPtr.h: In instantiation of 'void Rcpp::standard_delete_finalizer(T*) [with T = AbsSmoother]':
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/module/class.h:38:35:   required from 'class Rcpp::class_<AbsSmoother>'
SmoothingR.cpp:133:45:   required from here
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/XPtr.h:31:5: warning: deleting object of polymorphic class type 'AbsSmoother' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/XPtr.h: In instantiation of 'void Rcpp::standard_delete_finalizer(T*) [with T = WBSmoother]':
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/module/class.h:38:35:   required from 'class Rcpp::class_<WBSmoother>'
SmoothingR.cpp:137:43:   required from here
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/XPtr.h:31:5: warning: deleting object of polymorphic class type 'WBSmoother' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/XPtr.h: In instantiation of 'void Rcpp::standard_delete_finalizer(T*) [with T = SBOSmootherR]':
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/module/class.h:38:35:   required from 'class Rcpp::class_<SBOSmootherR>'
SmoothingR.cpp:140:43:   required from here
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/XPtr.h:31:5: warning: deleting object of polymorphic class type 'SBOSmootherR' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/XPtr.h: In instantiation of 'void Rcpp::standard_delete_finalizer(T*) [with T = MLSmootherR]':
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/module/class.h:38:35:   required from 'class Rcpp::class_<MLSmootherR>'
SmoothingR.cpp:148:41:   required from here
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/XPtr.h:31:5: warning: deleting object of polymorphic class type 'MLSmootherR' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/XPtr.h: In instantiation of 'void Rcpp::standard_delete_finalizer(T*) [with T = AddkSmootherR]':
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/module/class.h:38:35:   required from 'class Rcpp::class_<AddkSmootherR>'
SmoothingR.cpp:156:45:   required from here
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/XPtr.h:31:5: warning: deleting object of polymorphic class type 'AddkSmootherR' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/XPtr.h: In instantiation of 'void Rcpp::standard_delete_finalizer(T*) [with T = KNSmootherR]':
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/module/class.h:38:35:   required from 'class Rcpp::class_<KNSmootherR>'
SmoothingR.cpp:164:41:   required from here
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/XPtr.h:31:5: warning: deleting object of polymorphic class type 'KNSmootherR' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/XPtr.h: In instantiation of 'void Rcpp::standard_delete_finalizer(T*) [with T = mKNSmootherR]':
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/module/class.h:38:35:   required from 'class Rcpp::class_<mKNSmootherR>'
SmoothingR.cpp:172:43:   required from here
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/XPtr.h:31:5: warning: deleting object of polymorphic class type 'mKNSmootherR' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/XPtr.h: In instantiation of 'void Rcpp::standard_delete_finalizer(T*) [with T = AbsSmootherR]':
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/module/class.h:38:35:   required from 'class Rcpp::class_<AbsSmootherR>'
SmoothingR.cpp:180:43:   required from here
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/XPtr.h:31:5: warning: deleting object of polymorphic class type 'AbsSmootherR' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/XPtr.h: In instantiation of 'void Rcpp::standard_delete_finalizer(T*) [with T = WBSmootherR]':
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/module/class.h:38:35:   required from 'class Rcpp::class_<WBSmootherR>'
SmoothingR.cpp:188:41:   required from here
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/XPtr.h:31:5: warning: deleting object of polymorphic class type 'WBSmootherR' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppProgress/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c UtilitiesR.cpp -o UtilitiesR.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppProgress/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c kgramFreqs.cpp -o kgramFreqs.o
kgramFreqs.cpp: In member function 'CircularBuffer<std::__cxx11::basic_string<char> > kgramFreqs::generate_padding()':
kgramFreqs.cpp:60:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare]
   60 |         for (int k = 0; k < N_; ++k) {
      |                         ~~^~~~
kgramFreqs.cpp:62:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
   62 |                 for (size_t j = 0; j < k; ++j) {
      |                                    ~~^~~
kgramFreqs.cpp: In member function 'void kgramFreqs::add_BOS_counts(size_t)':
kgramFreqs.cpp:73:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare]
   73 |         for (int k = 1; k < N_; ++k) {
      |                         ~~^~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppProgress/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c kgramFreqsR.cpp -o kgramFreqsR.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppProgress/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c special_tokensR.cpp -o special_tokensR.o
g++ -std=gnu++17 -shared -s -static-libgcc -o kgrams.dll tmp.def DictionaryR.o RcppExports.o Smoothing.o SmoothingR.o UtilitiesR.o kgramFreqs.o kgramFreqsR.o special_tokensR.o -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2024_12_18_01_50_01_11818/RtmpAZSvdI/R.INSTALL30a2c4cb6249c/kgrams/src'
make[1]: Entering directory '/d/temp/2024_12_18_01_50_01_11818/RtmpAZSvdI/R.INSTALL30a2c4cb6249c/kgrams/src'
make[1]: Leaving directory '/d/temp/2024_12_18_01_50_01_11818/RtmpAZSvdI/R.INSTALL30a2c4cb6249c/kgrams/src'
installing to d:/Rcompile/CRANpkg/lib/4.5/00LOCK-kgrams/00new/kgrams/libs/x64
** R
** data
*** moving datasets to lazyload DB
** 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 'kgrams' as kgrams_0.2.1.zip
* DONE (kgrams)