* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘samplr’ ...
** package ‘samplr’ 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/RtmpRvf1BI/R.INSTALL382d0429ad1346/samplr/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'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppDist/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -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'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppDist/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c abs.cpp -o abs.o
In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include/RcppCommon.h:189,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:29,
                 from abs.cpp:4:
In function ‘SEXPREC* Rcpp::internal::primitive_wrap__impl__cast(const T&, Rcpp::traits::false_type) [with T = int]’,
    inlined from ‘SEXPREC* Rcpp::internal::primitive_wrap__impl(const T&, Rcpp::traits::r_type_primitive_tag) [with T = int]’ at /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include/Rcpp/internal/wrap.h:465:46,
    inlined from ‘SEXPREC* Rcpp::internal::primitive_wrap(const T&) [with T = int]’ at /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include/Rcpp/internal/wrap.h:489:40,
    inlined from ‘SEXPREC* Rcpp::internal::wrap_dispatch(const T&, Rcpp::traits::wrap_type_primitive_tag) [with T = int]’ at /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include/Rcpp/internal/wrap.h:744:34,
    inlined from ‘SEXPREC* Rcpp::wrap(const T&) [with T = int]’ at /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include/Rcpp/internal/wrap_end.h:30:38,
    inlined from ‘static SEXPREC* Rcpp::internal::generic_element_converter<RTYPE>::get(const T&) [with T = int; int RTYPE = 19]’ at /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include/Rcpp/vector/converter.h:80:23,
    inlined from ‘static void Rcpp::Vector<RTYPE, StoragePolicy>::replace_element__dispatch__isArgument(Rcpp::traits::false_type, iterator, SEXP, R_xlen_t, const U&) [with U = Rcpp::traits::named_object<int>; int RTYPE = 19; StoragePolicy = Rcpp::PreserveStorage]’ at /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include/Rcpp/vector/Vector.h:532:13,
    inlined from ‘static void Rcpp::Vector<RTYPE, StoragePolicy>::replace_element__dispatch(Rcpp::traits::true_type, iterator, SEXP, R_xlen_t, const U&) [with U = Rcpp::traits::named_object<int>; int RTYPE = 19; StoragePolicy = Rcpp::PreserveStorage]’ at /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include/Rcpp/vector/Vector.h:525:46,
    inlined from ‘static void Rcpp::Vector<RTYPE, StoragePolicy>::replace_element(iterator, SEXP, R_xlen_t, const U&) [with U = Rcpp::traits::named_object<int>; int RTYPE = 19; StoragePolicy = Rcpp::PreserveStorage]’ at /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include/Rcpp/vector/Vector.h:514:34,
    inlined from ‘static void Rcpp::Vector<RTYPE, StoragePolicy>::replace_element_impl(iterator&, Rcpp::Shield<SEXPREC*>&, int&, const T&, const TArgs& ...) [with T = Rcpp::traits::named_object<int>; TArgs = {Rcpp::traits::named_object<Rcpp::Vector<14, Rcpp::PreserveStorage> >}; int RTYPE = 19; StoragePolicy = Rcpp::PreserveStorage]’ at /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include/Rcpp/vector/Vector.h:1168:32,
    inlined from ‘static void Rcpp::Vector<RTYPE, StoragePolicy>::replace_element_impl(iterator&, Rcpp::Shield<SEXPREC*>&, int&, const T&, const TArgs& ...) [with T = Rcpp::traits::named_object<Rcpp::Vector<14, Rcpp::PreserveStorage> >; TArgs = {Rcpp::traits::named_object<int>, Rcpp::traits::named_object<Rcpp::Vector<14, Rcpp::PreserveStorage> >}; int RTYPE = 19; StoragePolicy = Rcpp::PreserveStorage]’ at /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include/Rcpp/vector/Vector.h:1169:37,
    inlined from ‘static void Rcpp::Vector<RTYPE, StoragePolicy>::replace_element_impl(iterator&, Rcpp::Shield<SEXPREC*>&, int&, const T&, const TArgs& ...) [with T = Rcpp::traits::named_object<Rcpp::Matrix<14> >; TArgs = {Rcpp::traits::named_object<Rcpp::Vector<14, Rcpp::PreserveStorage> >, Rcpp::traits::named_object<int>, Rcpp::traits::named_object<Rcpp::Vector<14, Rcpp::PreserveStorage> >}; int RTYPE = 19; StoragePolicy = Rcpp::PreserveStorage]’ at /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include/Rcpp/vector/Vector.h:1169:37,
    inlined from ‘static Rcpp::Vector<RTYPE, StoragePolicy> Rcpp::Vector<RTYPE, StoragePolicy>::create__dispatch(Rcpp::traits::true_type, const T& ...) [with T = {Rcpp::traits::named_object<Rcpp::Matrix<14, Rcpp::PreserveStorage> >, Rcpp::traits::named_object<Rcpp::Vector<14, Rcpp::PreserveStorage> >, Rcpp::traits::named_object<int>, Rcpp::traits::named_object<Rcpp::Vector<14, Rcpp::PreserveStorage> >}; int RTYPE = 19; StoragePolicy = Rcpp::PreserveStorage]’ at /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include/Rcpp/vector/Vector.h:1148:37,
    inlined from ‘static Rcpp::Vector<RTYPE, StoragePolicy> Rcpp::Vector<RTYPE, StoragePolicy>::create(const T& ...) [with T = {Rcpp::traits::named_object<Rcpp::Matrix<14, Rcpp::PreserveStorage> >, Rcpp::traits::named_object<Rcpp::Vector<14, Rcpp::PreserveStorage> >, Rcpp::traits::named_object<int>, Rcpp::traits::named_object<Rcpp::Vector<14, Rcpp::PreserveStorage> >}; int RTYPE = 19; StoragePolicy = Rcpp::PreserveStorage]’ at /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include/Rcpp/vector/Vector.h:1131:33,
    inlined from ‘Rcpp::List sampler_mc3_rltv_stop_cpp(Rcpp::NumericMatrix, int, Rcpp::NumericMatrix, double, bool, double, Rcpp::StringVector, Rcpp::List, bool, bool, Rcpp::NumericVector, Rcpp::Function, bool, int, int, Rcpp::NumericVector, double)’ at abs.cpp:261:3:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include/Rcpp/internal/wrap.h:442:41: warning: ‘trialResponse’ may be used uninitialized [-Wmaybe-uninitialized]
  442 |             r_vector_start<RTYPE>(x)[0] = object;
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
abs.cpp: In function ‘Rcpp::List sampler_mc3_rltv_stop_cpp(Rcpp::NumericMatrix, int, Rcpp::NumericMatrix, double, bool, double, Rcpp::StringVector, Rcpp::List, bool, bool, Rcpp::NumericVector, Rcpp::Function, bool, int, int, Rcpp::NumericVector, double)’:
abs.cpp:104:7: note: ‘trialResponse’ was declared here
  104 |   int trialResponse;
      |       ^~~~~~~~~~~~~
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'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppDist/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c hmc.cpp -o hmc.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'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppDist/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c hmc_utils.cpp -o hmc_utils.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'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppDist/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c mc3.cpp -o mc3.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'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppDist/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c mcrec.cpp -o mcrec.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'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppDist/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c mh.cpp -o mh.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'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppDist/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c mh_utils.cpp -o mh_utils.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'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppDist/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c pdf_manage.cpp -o pdf_manage.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'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppDist/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c rdistr_manage.cpp -o rdistr_manage.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'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppDist/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c test-cpp-rdistr.cpp -o test-cpp-rdistr.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'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppDist/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c test-cpp-samplers.cpp -o test-cpp-samplers.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'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppDist/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c test-hmc_utils.cpp -o test-hmc_utils.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'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppDist/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c test-mh_utils.cpp -o test-mh_utils.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'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppDist/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c test-pdf_manage.cpp -o test-pdf_manage.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'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppDist/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c test-runner.cpp -o test-runner.o
g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o samplr.so RcppExports.o abs.o hmc.o hmc_utils.o mc3.o mcrec.o mh.o mh_utils.o pdf_manage.o rdistr_manage.o test-cpp-rdistr.o test-cpp-samplers.o test-hmc_utils.o test-mh_utils.o test-pdf_manage.o test-runner.o -fopenmp -llapack -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lRblas -lgfortran -lm -lquadmath -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpRvf1BI/R.INSTALL382d0429ad1346/samplr/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpRvf1BI/R.INSTALL382d0429ad1346/samplr/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpRvf1BI/R.INSTALL382d0429ad1346/samplr/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-samplr/00new/samplr/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘samplr’
    finding HTML links ... done
    Bayesian_Sampler                        html  
    CoreABS                                 html  
    Mean_Variance                           html  
    Z_identities                            html  
    Zhu23ABS                                html  
    calc_PSD                                html  
    calc_all                                html  
    calc_autocorr                           html  
    calc_levy                               html  
    calc_qqplot                             html  
    calc_sigma_scaling                      html  
    plot_2d_density                         html  
    plot_series                             html  
    sampler_hmc                             html  
    sampler_mc3                             html  
    sampler_mchmc                           html  
    sampler_mcrec                           html  
    sampler_mh                              html  
    sampler_rec                             html  
    samplr-package                          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 (samplr)