* installing *source* package ‘kgrams’ ...
** package ‘kgrams’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘clang version 18.1.4’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/kgrams/src'
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppProgress/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c DictionaryR.cpp -o DictionaryR.o
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppProgress/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c RcppExports.cpp -o RcppExports.o
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppProgress/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Smoothing.cpp -o Smoothing.o
Smoothing.cpp:701:16: warning: unused variable 'sum' [-Wunused-variable]
  701 |         double sum = prob_a + prob_b + prob_eos + prob_unk;
      |                ^~~
1 warning generated.
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppProgress/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c SmoothingR.cpp -o SmoothingR.o
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppProgress/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c UtilitiesR.cpp -o UtilitiesR.o
In file included from SmoothingR.cpp:1:
In file included from ./SmoothingR.h:9:
In file included from ./kgramFreqsR.h:4:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:46:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'Smoother' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   31 |     delete obj;
      |     ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<Smoother>' requested here
   54 |     void Finalizer(T*) = standard_delete_finalizer<T>,
      |                          ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'SBOSmoother' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   31 |     delete obj;
      |     ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<SBOSmoother>' requested here
   54 |     void Finalizer(T*) = standard_delete_finalizer<T>,
      |                          ^
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppProgress/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c kgramFreqs.cpp -o kgramFreqs.o
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'AddkSmoother' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   31 |     delete obj;
      |     ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<AddkSmoother>' requested here
   54 |     void Finalizer(T*) = standard_delete_finalizer<T>,
      |                          ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'MLSmoother' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   31 |     delete obj;
      |     ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<MLSmoother>' requested here
   54 |     void Finalizer(T*) = standard_delete_finalizer<T>,
      |                          ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'KNSmoother' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   31 |     delete obj;
      |     ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<KNSmoother>' requested here
   54 |     void Finalizer(T*) = standard_delete_finalizer<T>,
      |                          ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'mKNSmoother' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   31 |     delete obj;
      |     ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<mKNSmoother>' requested here
   54 |     void Finalizer(T*) = standard_delete_finalizer<T>,
      |                          ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'AbsSmoother' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   31 |     delete obj;
      |     ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<AbsSmoother>' requested here
   54 |     void Finalizer(T*) = standard_delete_finalizer<T>,
      |                          ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'WBSmoother' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   31 |     delete obj;
      |     ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<WBSmoother>' requested here
   54 |     void Finalizer(T*) = standard_delete_finalizer<T>,
      |                          ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'SBOSmootherR' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   31 |     delete obj;
      |     ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<SBOSmootherR>' requested here
   54 |     void Finalizer(T*) = standard_delete_finalizer<T>,
      |                          ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'MLSmootherR' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   31 |     delete obj;
      |     ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<MLSmootherR>' requested here
   54 |     void Finalizer(T*) = standard_delete_finalizer<T>,
      |                          ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'AddkSmootherR' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   31 |     delete obj;
      |     ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<AddkSmootherR>' requested here
   54 |     void Finalizer(T*) = standard_delete_finalizer<T>,
      |                          ^
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppProgress/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c kgramFreqsR.cpp -o kgramFreqsR.o
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'KNSmootherR' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   31 |     delete obj;
      |     ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<KNSmootherR>' requested here
   54 |     void Finalizer(T*) = standard_delete_finalizer<T>,
      |                          ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'mKNSmootherR' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   31 |     delete obj;
      |     ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<mKNSmootherR>' requested here
   54 |     void Finalizer(T*) = standard_delete_finalizer<T>,
      |                          ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'AbsSmootherR' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   31 |     delete obj;
      |     ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<AbsSmootherR>' requested here
   54 |     void Finalizer(T*) = standard_delete_finalizer<T>,
      |                          ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'WBSmootherR' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   31 |     delete obj;
      |     ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<WBSmootherR>' requested here
   54 |     void Finalizer(T*) = standard_delete_finalizer<T>,
      |                          ^
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppProgress/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c special_tokensR.cpp -o special_tokensR.o
15 warnings generated.
/usr/local/clang18/bin/clang++ -std=gnu++17 -shared -L/usr/local/clang/lib64 -L/usr/local/clang18/lib -L/usr/local/clang18/lib/x86_64-unknown-linux-gnu -L/usr/local/gcc13/lib64 -L/usr/local/lib64 -o kgrams.so DictionaryR.o RcppExports.o Smoothing.o SmoothingR.o UtilitiesR.o kgramFreqs.o kgramFreqsR.o special_tokensR.o
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/kgrams/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/kgrams/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/kgrams/src'
installing to /data/gannet/ripley/R/packages/tests-clang/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)