* installing *source* package ‘RNewsflow’ ...
** package ‘RNewsflow’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (GCC) 14.2.0’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/RNewsflow/src'
g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppProgress/include' -I/usr/local/include -DC99_INLINE_SEMANTICS=0   -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o
g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppProgress/include' -I/usr/local/include -DC99_INLINE_SEMANTICS=0   -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -DR_NO_REMAP -c combine_dtm_terms.cpp -o combine_dtm_terms.o
combine_dtm_terms.cpp: In function 'Rcpp::List term_union_cpp(SpMat&, SpMat&, std::vector<std::__cxx11::basic_string<char> >, std::vector<bool>, bool, std::string)':
combine_dtm_terms.cpp:23:20: warning: comparison of integer expressions of different signedness: 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long unsigned int'} and 'Eigen::Index' {aka 'long int'} [-Wsign-compare]
   23 |   if (terms.size() != m.cols()) stop("number of terms not identical to number of columns in m");
      |       ~~~~~~~~~~~~~^~~~~~~~~~~
combine_dtm_terms.cpp: In function 'Rcpp::List term_intersect_cpp(SpMat&, SpMat&, std::vector<std::__cxx11::basic_string<char> >, std::vector<bool>, bool, std::string)':
combine_dtm_terms.cpp:87:20: warning: comparison of integer expressions of different signedness: 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long unsigned int'} and 'Eigen::Index' {aka 'long int'} [-Wsign-compare]
   87 |   if (terms.size() != m.cols()) stop("number of terms not identical to number of columns in m");
      |       ~~~~~~~~~~~~~^~~~~~~~~~~
g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppProgress/include' -I/usr/local/include -DC99_INLINE_SEMANTICS=0   -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -DR_NO_REMAP -c crossprod.cpp -o crossprod.o
g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppProgress/include' -I/usr/local/include -DC99_INLINE_SEMANTICS=0   -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -DR_NO_REMAP -c misc.cpp -o misc.o
crossprod.cpp: In function 'void fill_triples(Triplet&, std::vector<double>&, const Index&, const Index&, int, int, bool, Rcpp::NumericVector, bool, Rcpp::NumericVector, int)':
crossprod.cpp:25:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   25 |   if (top_n > 0 && top_n < res.size()) {
      |                    ~~~~~~^~~~~~~~~~~~
crossprod.cpp:36:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   36 |     for (int res_i = 0; res_i < res.size(); res_i++) {
      |                         ~~~~~~^~~~~~~~~~~~
crossprod.cpp: In function 'void fill_pair_information(std::vector<bool>&, std::vector<bool>&, int, int, Index&, Index&, SpMat&, bool, bool, int, int)':
crossprod.cpp:55:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   55 |   for (int j = 0; j < use_pair.size(); j++) {
      |                   ~~^~~~~~~~~~~~~~~~~
crossprod.cpp: In function 'void fill_row_attributes(int, bool, bool, bool, Index&, Index&, int, std::vector<double>, std::vector<bool>, std::vector<bool>, Rcpp::NumericVector&, Rcpp::NumericVector&, Rcpp::NumericVector&, Rcpp::NumericVector&, Rcpp::NumericVector&, Rcpp::NumericVector&, Rcpp::NumericVector&, Rcpp::NumericVector&, Rcpp::NumericVector&)':
crossprod.cpp:80:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   80 |     for (int res_i = 0; res_i < res.size(); res_i++) {
      |                         ~~~~~~^~~~~~~~~~~~
crossprod.cpp:87:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   87 |     for (int pair_i = 0; pair_i < use_pair.size(); pair_i++) {
      |                          ~~~~~~~^~~~~~~~~~~~~~~~~
In file included from crossprod.cpp:5:
misc.h: In instantiation of 'std::vector<std::pair<T, int> > index_and_sort_top_n(std::vector<T>&, int, int) [with T = double]':
crossprod.cpp:26:81:   required from here
   26 |     std::vector<std::pair<double,int> > res_index = index_and_sort_top_n<double>(res, top_n, offset);
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
misc.h:49:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   49 |   for (int i = 0; i < x.size(); i++) {
      |                   ~~^~~~~~~~~~
misc.cpp: In function 'std::vector<double> get_row_l2(SpMat&)':
misc.cpp:21:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   21 |   for (int i=0; i < out.size(); i++) {
      |                 ~~^~~~~~~~~~~~
misc.cpp: In function 'std::vector<double> softcos_row_mag(const SpMat&, const SpMat&, bool)':
misc.cpp:50:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   50 |   for (int i=0; i < out.size(); i++) {
      |                 ~~^~~~~~~~~~~~
misc.cpp: In function 'SpMat sm_prepare(SpMat&, Index, const SpMat&, bool, std::string)':
misc.cpp:81:16: warning: comparison of integer expressions of different signedness: 'Eigen::Index' {aka 'long int'} and 'std::vector<std::tuple<double, double, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   81 |   if (m.rows() != index.size()) stop("number of rows is not equal to length of index");
      |       ~~~~~~~~~^~~~~~~~~~~~~~~
misc.cpp:84:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::tuple<double, double, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   84 |   for (int i = 0; i < index.size(); i++) tvec[std::get<2>(index[i])] = i;
      |                   ~~^~~~~~~~~~~~~~
misc.cpp: In function 'std::pair<int, int> find_positions(Index&, double, double, double, double)':
misc.cpp:149:19: warning: variable 'last_old' set but not used [-Wunused-but-set-variable]
  149 |   Index::iterator last_old = std::lower_bound(last_group_low, last_group_up, max_o, search_order_l);
      |                   ^~~~~~~~
In file included from misc.cpp:5:
misc.h: In instantiation of 'std::vector<std::tuple<T1, T2, int> > index_and_sort(std::vector<T>&, std::vector<T2>&) [with T1 = double; T2 = double]':
misc.cpp:127:44:   required from here
  127 |   Index out = index_and_sort<double,double>(g,o);
      |               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
misc.h:37:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   37 |   for (int i = 0; i < x.size(); i++) {
      |                   ~~^~~~~~~~~~
g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppProgress/include' -I/usr/local/include -DC99_INLINE_SEMANTICS=0   -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -DR_NO_REMAP -c sim_measures.cpp -o sim_measures.o
g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppProgress/include' -I/usr/local/include -DC99_INLINE_SEMANTICS=0   -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -DR_NO_REMAP -c window_corpus_comparison.cpp -o window_corpus_comparison.o
sim_measures.cpp: In function 'void as_pct(int, const SpMat&, std::vector<double>&)':
sim_measures.cpp:16:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   16 |     for (int res_i = 0; res_i < res.size(); res_i++) {
      |                         ~~~~~~^~~~~~~~~~~~
sim_measures.cpp: In function 'void pnorm_filter(std::vector<double>&, bool, bool, double)':
sim_measures.cpp:31:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   31 |   for (int i=0; i < res.size(); i++) {
      |                 ~~^~~~~~~~~~~~
sim_measures.cpp: In function 'void pbeta_filter(std::vector<double>&, bool, double)':
sim_measures.cpp:51:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   51 |   for (int i=0; i < res.size(); i++) {
      |                 ~~^~~~~~~~~~~~
sim_measures.cpp: In function 'void pdisparity_filter(std::vector<double>&, double, double)':
sim_measures.cpp:62:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   62 |   for (int i=0; i < res.size(); i++) {
      |                 ~~^~~~~~~~~~~~
sim_measures.cpp: In function 'void sim_cp_lookup(int, const SpMat&, const SpMat&, std::vector<double>&, std::vector<bool>&, const SpMat&, bool)':
sim_measures.cpp:185:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  185 |     for (int i=0; i < res.size(); i++)
      |                   ~~^~~~~~~~~~~~
sim_measures.cpp: In function 'void sim_cp_lookup2(int, const SpMat&, const SpMat&, std::vector<double>&, std::vector<bool>&, const SpMat&, bool)':
sim_measures.cpp:246:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  246 |     for (int i=0; i < res.size(); i++)
      |                   ~~^~~~~~~~~~~~
sim_measures.cpp: In function 'void sim_cp_lookup(int, const SpMat&, const SpMat&, std::vector<double>&, std::vector<bool>&, const SpMat&, bool)':
sim_measures.cpp:164:17: warning: 'xvalue' may be used uninitialized [-Wmaybe-uninitialized]
  164 |         doc_sum += xvalue;
      |         ~~~~~~~~^~~~~~~~~
sim_measures.cpp:146:12: note: 'xvalue' was declared here
  146 |     double xvalue;
      |            ^~~~~~
window_corpus_comparison.cpp: In function 'SpMat window_corp_comp(SpMat&, SpMat&, Rcpp::NumericVector, Rcpp::NumericVector, int, int, double, double, double)':
window_corpus_comparison.cpp:67:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   67 |     for (int res_i = 0; res_i < res.size(); res_i++) {
      |                         ~~~~~~^~~~~~~~~~~~
g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppProgress/include' -I/usr/local/include -DC99_INLINE_SEMANTICS=0   -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -DR_NO_REMAP -c window_iterator.cpp -o window_iterator.o
window_iterator.cpp: In member function 'void windowIterator::start(const SpMat&)':
window_iterator.cpp:4:18: warning: comparison of integer expressions of different signedness: 'Eigen::Index' {aka 'long int'} and 'std::vector<std::tuple<double, double, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
    4 |   if (!(m.cols() == index2.size())) stop("Number of columns in m needs to match the size of index2");
      |         ~~~~~~~~~^~~~~~~~~~~~~~~~
window_iterator.cpp:11:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::tuple<double, double, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   11 |   for (; pos < index1.size(); pos++) {
      |          ~~~~^~~~~~~~~~~~~~~
window_iterator.cpp:18:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::tuple<double, double, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   18 |   for (int j = 0; j < index2.size(); j++) {
      |                   ~~^~~~~~~~~~~~~~~
window_iterator.cpp: In member function 'void windowIterator::increment(const SpMat&)':
window_iterator.cpp:57:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::tuple<double, double, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   57 |   if (pos == index1.size() - 1) {
      |       ~~~~^~~~~~~~~~~~~~~~~~~~
window_iterator.cpp:64:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::tuple<double, double, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   64 |   for (;ls < index2.size(); ls++) {
      |         ~~~^~~~~~~~~~~~~~~
window_iterator.cpp:72:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::tuple<double, double, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   72 |   for (;le < index2.size(); le++) {
      |         ~~~^~~~~~~~~~~~~~~
window_iterator.cpp:80:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::tuple<double, double, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   80 |   for (;rs < index2.size(); rs++) {
      |         ~~~^~~~~~~~~~~~~~~
window_iterator.cpp:88:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::tuple<double, double, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   88 |   for (;re < index2.size(); re++) {
      |         ~~~^~~~~~~~~~~~~~~
window_iterator.cpp:91:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::tuple<double, double, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   91 |     if (re == index2.size() - 1) done=true; // if end of right window (re) is not in sight (beyond last value in index2), we're done
      |         ~~~^~~~~~~~~~~~~~~~~~~~
window_iterator.cpp: In member function 'void windowIterator::start(const SpMat&)':
window_iterator.cpp:36:27: warning: 'date' may be used uninitialized [-Wmaybe-uninitialized]
   36 |     if (loop_date > (date + rwindow_border)) {
      |                     ~~~~~~^~~~~~~~~~~~~~~~~
window_iterator.cpp:7:7: note: 'date' was declared here
    7 |   int date, first_date, loop_date;
      |       ^~~~
g++-14 -std=gnu++17 -shared -L/usr/local/gcc14/lib64 -L/usr/local/lib64 -o RNewsflow.so RcppExports.o combine_dtm_terms.o crossprod.o misc.o sim_measures.o window_corpus_comparison.o window_iterator.o
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/RNewsflow/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/RNewsflow/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/RNewsflow/src'
installing to /data/gannet/ripley/R/packages/tests-devel/RNewsflow.Rcheck/00LOCK-RNewsflow/00new/RNewsflow/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 (RNewsflow)