* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’ * installing *source* package ‘thunder’ ... ** package ‘thunder’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘g++-14 (Debian 14.2.0-8) 14.2.0’ make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmpgp39w0/R.INSTALL31fa921bba7250/thunder/src' g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c RcppExports.cpp -o RcppExports.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -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 863 | Vector v850 = Get(this->vw, i850); | ~~~^~~~~~~~~~~~~~~~ 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 2393 | val = (Get(t,i850) - Get(t,i500) + Get(d,i850) - (Get(t,i700) - Get(d,i700))); | ~~~^~~~~~~~ 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] 22 | if(index<lista->size())std::advance(it, index); | ~~~~~^~~~~~~~~~~~~~ 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:4879:13: warning: ‘mulen’ may be used uninitialized [-Wmaybe-uninitialized] 4879 | out[i] = mulen;i++; main.cpp:4848:8: note: ‘mulen’ was declared here 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:4880:13: warning: ‘mustart’ may be used uninitialized [-Wmaybe-uninitialized] 4880 | out[i] = mustart;i++; main.cpp:4848:32: note: ‘mustart’ was declared here 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++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o thunder.so RcppExports.o main.o -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmpgp39w0/R.INSTALL31fa921bba7250/thunder/src' make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmpgp39w0/R.INSTALL31fa921bba7250/thunder/src' make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmpgp39w0/R.INSTALL31fa921bba7250/thunder/src' installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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 converting help for package ‘thunder’ finding HTML links ... done get_sounding html northplatte html skewt_lines html skewt_plot html sounding_barbs html sounding_compute html sounding_default html sounding_export html sounding_hodograph html sounding_plot html sounding_save html sounding_vienna html sounding_wind html test_url html windbarbs html *** 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)