* installing *source* package ‘thunder’ ...
** package ‘thunder’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-13 (GCC) 13.2.0’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/thunder/src'
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include    -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   -c RcppExports.cpp -o RcppExports.o
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include    -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   -c main.cpp -o main.o
main.cpp: In function 'int interpolate(double**, double**, double**, double**, double**, double**, int, double*, double*, int, int)':
main.cpp:4374:12: warning: unused variable 'h1' [-Wunused-variable]
 4374 |     double h1 = h[i];
      |            ^~
main.cpp:4375:12: warning: unused variable 'h2' [-Wunused-variable]
 4375 |     double h2= h[i+1];
      |            ^~
main.cpp:4303:386: warning: variable 'hlen' set but not used [-Wunused-but-set-variable]
 4303 |   double defh[]={0, 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1100, 1200, 1300, 1400, 1600, 1800, 2000, 2200, 2400, 2600, 2800, 3000, 3200, 3400, 3600, 3800, 4000, 4200, 4400, 4600, 4800, 5000, 5200, 5400, 5600, 5800, 6000, 6500, 7000, 7500, 8000, 8500, 9000, 9500, 10000, 10500, 11000, 11500, 12000, 12500, 13000, 13500, 14000, 15000, 16000, 17000, 18000, 19000, 20000}; int hlen = 60;
      |                                                                                                                                                                                                                                                                                                                                                                                                  ^~~~
main.cpp: In function 'int interpolate2(double**, double**, double**, double**, double**, double**, int, double*, double*, int, int)':
main.cpp:4444:12: warning: unused variable 'p1' [-Wunused-variable]
 4444 |     double p1 = p[i];
      |            ^~
main.cpp:4445:12: warning: unused variable 'p2' [-Wunused-variable]
 4445 |     double p2= p[i+1];
      |            ^~
main.cpp:4414:36: warning: variable 'plen' set but not used [-Wunused-but-set-variable]
 4414 |   double defp[]={850,700,500}; int plen = 3;
      |                                    ^~~~
main.cpp: In instantiation of 'Typ Get(std::__cxx11::list<T>*, int) [with Typ = Vector]':
main.cpp:863:20:   required from here
main.cpp:22:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::list<Vector>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   22 |   if(index<lista->size())std::advance(it, index);
      |      ~~~~~^~~~~~~~~~~~~~
main.cpp: In instantiation of 'Typ Get(std::__cxx11::list<T>*, int) [with Typ = double]':
main.cpp:2393:13:   required from here
main.cpp:22:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::list<double>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
main.cpp: In function 'Rcpp::NumericVector sounding_default(Rcpp::NumericVector, Rcpp::NumericVector, Rcpp::NumericVector, Rcpp::NumericVector, Rcpp::NumericVector, Rcpp::NumericVector, Rcpp::NumericVector, Rcpp::NumericVector, int, Rcpp::NumericVector, Rcpp::NumericVector)':
main.cpp:4907:12: warning: 'plen' may be used uninitialized [-Wmaybe-uninitialized]
 4907 |      out[i]=plen;i++;
main.cpp:4847:8: note: 'plen' was declared here
 4847 |    int plen,hlen,tlen,dlen,alen,vlen,tvlen;
      |        ^~~~
main.cpp:4915:12: warning: 'hlen' may be used uninitialized [-Wmaybe-uninitialized]
 4915 |      out[i]=hlen;i++;
main.cpp:4847:13: note: 'hlen' was declared here
 4847 |    int plen,hlen,tlen,dlen,alen,vlen,tvlen;
      |             ^~~~
main.cpp:4922:12: warning: 'tlen' may be used uninitialized [-Wmaybe-uninitialized]
 4922 |      out[i]=tlen;i++;
main.cpp:4847:18: note: 'tlen' was declared here
 4847 |    int plen,hlen,tlen,dlen,alen,vlen,tvlen;
      |                  ^~~~
main.cpp:4929:12: warning: 'dlen' may be used uninitialized [-Wmaybe-uninitialized]
 4929 |      out[i]=dlen;i++;
main.cpp:4847:23: note: 'dlen' was declared here
 4847 |    int plen,hlen,tlen,dlen,alen,vlen,tvlen;
      |                       ^~~~
main.cpp:4936:12: warning: 'alen' may be used uninitialized [-Wmaybe-uninitialized]
 4936 |      out[i]=alen;i++;
main.cpp:4847:28: note: 'alen' was declared here
 4847 |    int plen,hlen,tlen,dlen,alen,vlen,tvlen;
      |                            ^~~~
main.cpp:4943:12: warning: 'vlen' may be used uninitialized [-Wmaybe-uninitialized]
 4943 |      out[i]=vlen;i++;
main.cpp:4847:33: note: 'vlen' was declared here
 4847 |    int plen,hlen,tlen,dlen,alen,vlen,tvlen;
      |                                 ^~~~
main.cpp:4952:12: warning: 'tvlen' may be used uninitialized [-Wmaybe-uninitialized]
 4952 |      out[i]=tvlen;i++;
main.cpp:4847:38: note: 'tvlen' was declared here
 4847 |    int plen,hlen,tlen,dlen,alen,vlen,tvlen;
      |                                      ^~~~~
main.cpp:4848:8: warning: 'mulen' may be used uninitialized [-Wmaybe-uninitialized]
 4848 |    int mulen,sblen,mllen,dnlen,mustart,mlstart;
      |        ^~~~~
main.cpp:4888:12: warning: 'sblen' may be used uninitialized [-Wmaybe-uninitialized]
 4888 |      out[i]=sblen;i++;
main.cpp:4848:14: note: 'sblen' was declared here
 4848 |    int mulen,sblen,mllen,dnlen,mustart,mlstart;
      |              ^~~~~
main.cpp:4897:12: warning: 'mllen' may be used uninitialized [-Wmaybe-uninitialized]
 4897 |      out[i]=mllen; i++;
main.cpp:4848:20: note: 'mllen' was declared here
 4848 |    int mulen,sblen,mllen,dnlen,mustart,mlstart;
      |                    ^~~~~
main.cpp:4960:12: warning: 'dnlen' may be used uninitialized [-Wmaybe-uninitialized]
 4960 |      out[i]=dnlen;i++;
main.cpp:4848:26: note: 'dnlen' was declared here
 4848 |    int mulen,sblen,mllen,dnlen,mustart,mlstart;
      |                          ^~~~~
main.cpp:4848:32: warning: 'mustart' may be used uninitialized [-Wmaybe-uninitialized]
 4848 |    int mulen,sblen,mllen,dnlen,mustart,mlstart;
      |                                ^~~~~~~
main.cpp:4898:13: warning: 'mlstart' may be used uninitialized [-Wmaybe-uninitialized]
 4898 |      out[i] = mlstart;i++;
main.cpp:4848:40: note: 'mlstart' was declared here
 4848 |    int mulen,sblen,mllen,dnlen,mustart,mlstart;
      |                                        ^~~~~~~
g++-13 -std=gnu++17 -shared -L/usr/local/gcc13/lib64 -L/usr/local/lib64 -L/usr/local/clang18/lib/x86_64-unknown-linux-gnu -o thunder.so RcppExports.o main.o
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/thunder/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/thunder/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/thunder/src'
installing to /data/gannet/ripley/R/packages/tests-devel/thunder.Rcheck/00LOCK-thunder/00new/thunder/libs
** R
** data
*** moving datasets to lazyload DB
** 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
** 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 (thunder)