* installing *source* package ‘kgrams’ ... ** using staged installation ** libs using C++ compiler: ‘g++-14 (Debian 14.2.0-3) 14.2.0’ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppProgress/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c DictionaryR.cpp -o DictionaryR.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppProgress/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppProgress/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -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++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppProgress/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c SmoothingR.cpp -o SmoothingR.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp.h:46, from kgramFreqsR.h:4, from SmoothingR.h:9, from SmoothingR.cpp:1: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h: In instantiation of ‘void Rcpp::standard_delete_finalizer(T*) [with T = Smoother]’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/module/class.h:38:35: required from ‘class Rcpp::class_’ 38 | typedef Rcpp::XPtr XP ; | ^~ SmoothingR.cpp:108:39: required from here 108 | class_("___Smoother") | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/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; | ^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h: In instantiation of ‘void Rcpp::standard_delete_finalizer(T*) [with T = SBOSmoother]’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/module/class.h:38:35: required from ‘class Rcpp::class_’ 38 | typedef Rcpp::XPtr XP ; | ^~ SmoothingR.cpp:112:45: required from here 112 | class_("___SBOSmoother") | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/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] 31 | delete obj; | ^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h: In instantiation of ‘void Rcpp::standard_delete_finalizer(T*) [with T = AddkSmoother]’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/module/class.h:38:35: required from ‘class Rcpp::class_’ 38 | typedef Rcpp::XPtr XP ; | ^~ SmoothingR.cpp:116:47: required from here 116 | class_("___AddkSmoother") | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/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] 31 | delete obj; | ^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h: In instantiation of ‘void Rcpp::standard_delete_finalizer(T*) [with T = MLSmoother]’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/module/class.h:38:35: required from ‘class Rcpp::class_’ 38 | typedef Rcpp::XPtr XP ; | ^~ SmoothingR.cpp:120:43: required from here 120 | class_("___MLSmoother") | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/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] 31 | delete obj; | ^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h: In instantiation of ‘void Rcpp::standard_delete_finalizer(T*) [with T = KNSmoother]’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/module/class.h:38:35: required from ‘class Rcpp::class_’ 38 | typedef Rcpp::XPtr XP ; | ^~ SmoothingR.cpp:123:43: required from here 123 | class_("___KNSmoother") | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/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] 31 | delete obj; | ^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h: In instantiation of ‘void Rcpp::standard_delete_finalizer(T*) [with T = mKNSmoother]’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/module/class.h:38:35: required from ‘class Rcpp::class_’ 38 | typedef Rcpp::XPtr XP ; | ^~ SmoothingR.cpp:127:45: required from here 127 | class_("___mKNSmoother") | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/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] 31 | delete obj; | ^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h: In instantiation of ‘void Rcpp::standard_delete_finalizer(T*) [with T = AbsSmoother]’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/module/class.h:38:35: required from ‘class Rcpp::class_’ 38 | typedef Rcpp::XPtr XP ; | ^~ SmoothingR.cpp:133:45: required from here 133 | class_("___AbsSmoother") | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/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] 31 | delete obj; | ^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h: In instantiation of ‘void Rcpp::standard_delete_finalizer(T*) [with T = WBSmoother]’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/module/class.h:38:35: required from ‘class Rcpp::class_’ 38 | typedef Rcpp::XPtr XP ; | ^~ SmoothingR.cpp:137:43: required from here 137 | class_("___WBSmoother") | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/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] 31 | delete obj; | ^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h: In instantiation of ‘void Rcpp::standard_delete_finalizer(T*) [with T = SBOSmootherR]’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/module/class.h:38:35: required from ‘class Rcpp::class_’ 38 | typedef Rcpp::XPtr XP ; | ^~ SmoothingR.cpp:140:43: required from here 140 | class_("SBOSmoother") | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/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] 31 | delete obj; | ^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h: In instantiation of ‘void Rcpp::standard_delete_finalizer(T*) [with T = MLSmootherR]’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/module/class.h:38:35: required from ‘class Rcpp::class_’ 38 | typedef Rcpp::XPtr XP ; | ^~ SmoothingR.cpp:148:41: required from here 148 | class_("MLSmoother") | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/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] 31 | delete obj; | ^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h: In instantiation of ‘void Rcpp::standard_delete_finalizer(T*) [with T = AddkSmootherR]’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/module/class.h:38:35: required from ‘class Rcpp::class_’ 38 | typedef Rcpp::XPtr XP ; | ^~ SmoothingR.cpp:156:45: required from here 156 | class_("AddkSmoother") | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/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] 31 | delete obj; | ^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h: In instantiation of ‘void Rcpp::standard_delete_finalizer(T*) [with T = KNSmootherR]’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/module/class.h:38:35: required from ‘class Rcpp::class_’ 38 | typedef Rcpp::XPtr XP ; | ^~ SmoothingR.cpp:164:41: required from here 164 | class_("KNSmoother") | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/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] 31 | delete obj; | ^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h: In instantiation of ‘void Rcpp::standard_delete_finalizer(T*) [with T = mKNSmootherR]’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/module/class.h:38:35: required from ‘class Rcpp::class_’ 38 | typedef Rcpp::XPtr XP ; | ^~ SmoothingR.cpp:172:43: required from here 172 | class_("mKNSmoother") | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/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] 31 | delete obj; | ^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h: In instantiation of ‘void Rcpp::standard_delete_finalizer(T*) [with T = AbsSmootherR]’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/module/class.h:38:35: required from ‘class Rcpp::class_’ 38 | typedef Rcpp::XPtr XP ; | ^~ SmoothingR.cpp:180:43: required from here 180 | class_("AbsSmoother") | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/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] 31 | delete obj; | ^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/XPtr.h: In instantiation of ‘void Rcpp::standard_delete_finalizer(T*) [with T = WBSmootherR]’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/module/class.h:38:35: required from ‘class Rcpp::class_’ 38 | typedef Rcpp::XPtr XP ; | ^~ SmoothingR.cpp:188:41: required from here 188 | class_("WBSmoother") | ^ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/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] 31 | delete obj; | ^~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppProgress/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c UtilitiesR.cpp -o UtilitiesR.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppProgress/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c kgramFreqs.cpp -o kgramFreqs.o kgramFreqs.cpp: In member function ‘CircularBuffer > kgramFreqs::generate_padding()’: kgramFreqs.cpp:60:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘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 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 unsigned int’} [-Wsign-compare] 73 | for (int k = 1; k < N_; ++k) { | ~~^~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppProgress/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c kgramFreqsR.cpp -o kgramFreqsR.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppProgress/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c special_tokensR.cpp -o special_tokensR.o g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R-d-gcc-14/lib -Wl,-O1 -o kgrams.so DictionaryR.o RcppExports.o Smoothing.o SmoothingR.o UtilitiesR.o kgramFreqs.o kgramFreqsR.o special_tokensR.o -L/home/hornik/tmp/R-d-gcc-14/lib -lR installing to /home/hornik/tmp/CRAN_recheck/kgrams.Rcheck/00LOCK-kgrams/00new/kgrams/libs ** 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 ** 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 (kgrams)