* installing *source* package ‘stpm’ ...
** package ‘stpm’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using SDK: ‘MacOSX11.3.sdk’
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c devlik.cpp -o devlik.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c devlik_g.cpp -o devlik_g.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c devlik_g_2.cpp -o devlik_g_2.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c hes_spm_g.cpp -o hes_spm_g.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c loglik.cpp -o loglik.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c loglik_g.cpp -o loglik_g.o
devlik.cpp:459:6: warning: unused variable 't_n' [-Wunused-variable]
        int t_n = m0_v.n_elem;
            ^
loglik_g.cpp:34:9: warning: unused variable 'c1' [-Wunused-variable]
        double c1 = (u / (r0 - rs) + 2 * q)*exp(-1 * u*t0);
               ^
loglik_g.cpp:55:9: warning: unused variable 'c1' [-Wunused-variable]
        double c1 = (u / (r0 - rs) + 2 * q)*exp((-1) * u*t0);
               ^
loglik_g.cpp:56:9: warning: unused variable 'w_u' [-Wunused-variable]
        double w_u = (-1)*q*f + q*a*(f - f1) / sqrt(pow(a, 2) + 2 * q*pow(b, 2));
               ^
loglik_g.cpp:77:9: warning: unused variable 'w_u' [-Wunused-variable]
        double w_u = (-1)*q*f + q*a*(f - f1) / sqrt(pow(a, 2) + 2 * q*pow(b, 2));
               ^
loglik_g.cpp:140:6: warning: unused variable 't_n' [-Wunused-variable]
        int t_n = m0_v.n_elem;
            ^
devlik_g_2.cpp:362:6: warning: unused variable 't_n' [-Wunused-variable]
        int t_n = m0_v.n_elem;
            ^
loglik.cpp:26:9: warning: unused variable 'c1' [-Wunused-variable]
        double c1 = (u / (r0 - rs) + 2 * q)*exp(-1 * u*t0);
               ^
loglik.cpp:42:9: warning: unused variable 'c1' [-Wunused-variable]
        double c1 = (u / (r0 - rs) + 2 * q)*exp((-1) * u*t0);
               ^
loglik.cpp:43:9: warning: unused variable 'w_u' [-Wunused-variable]
        double w_u = (-1)*q*f + q*a*(f - f1) / sqrt(pow(a, 2) + 2 * q*pow(b, 2));
               ^
loglik.cpp:59:9: warning: unused variable 'w_u' [-Wunused-variable]
        double w_u = (-1)*q*f + q*a*(f - f1) / sqrt(pow(a, 2) + 2 * q*pow(b, 2));
               ^
loglik.cpp:114:6: warning: unused variable 't_n' [-Wunused-variable]
        int t_n = m0_v.n_elem;
            ^
devlik_g.cpp:407:6: warning: unused variable 't_n' [-Wunused-variable]
        int t_n = m0_v.n_elem;
            ^
5 warnings generated.
5 warnings generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c loglik_g_2.cpp -o loglik_g_2.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c simdataND.cpp -o simdataND.o
1 warning generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c spm_1D.cpp -o spm_1D.o
1 warning generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c spm_discrete.cpp -o spm_discrete.o
1 warning generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c spm_integral_MD.cpp -o spm_integral_MD.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c spm_integral_md_linear.cpp -o spm_integral_md_linear.o
spm_1D.cpp:23:15: warning: variable 'hf1H' set but not used [-Wunused-but-set-variable]
  double hfH, hf1H, mu0Ht,  mu;
              ^
spm_1D.cpp:78:9: warning: variable 'res' set but not used [-Wunused-but-set-variable]
    int res = func1(k1ar, t,out, fH, f1H, aH, bH, QH, thetaH);
        ^
2 warnings generated.
clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c stpm_init.c -o stpm_init.o
loglik_g_2.cpp:35:9: warning: unused variable 'c1' [-Wunused-variable]
        double c1 = (u / (r0 - rs) + 2 * q)*exp(-1 * u*t0);
               ^
loglik_g_2.cpp:58:9: warning: unused variable 'c1' [-Wunused-variable]
        double c1 = (u / (r0 - rs) + 2 * q)*exp((-1) * u*t0);
               ^
loglik_g_2.cpp:59:9: warning: unused variable 'w_u' [-Wunused-variable]
        double w_u = (-1)*q*f + q*a*(f - f1) / sqrt(pow(a, 2) + 2 * q*pow(b, 2));
               ^
loglik_g_2.cpp:82:9: warning: unused variable 'w_u' [-Wunused-variable]
        double w_u = (-1)*q*f + q*a*(f - f1) / sqrt(pow(a, 2) + 2 * q*pow(b, 2));
               ^
loglik_g_2.cpp:147:6: warning: unused variable 't_n' [-Wunused-variable]
        int t_n = m0_v.n_elem;
            ^
spm_integral_MD.cpp:1050:17: warning: variable 'L1Y' set but not used [-Wunused-but-set-variable]
    long double L1Y, L1Q, L0Y, L0Q;
                ^
5 warnings generated.
1 warning generated.
clang++ -arch x86_64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/x86_64/lib -o stpm.so devlik.o devlik_g.o devlik_g_2.o hes_spm_g.o loglik.o loglik_g.o loglik_g_2.o simdataND.o spm_1D.o spm_discrete.o spm_integral_MD.o spm_integral_md_linear.o stpm_init.o -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/opt/gfortran/lib/gcc/x86_64-apple-darwin20.0/12.2.0 -L/opt/gfortran/lib -lgfortran -lquadmath -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Volumes/Builds/packages/big-sur-x86_64/results/4.4/stpm.Rcheck/00LOCK-stpm/00new/stpm/libs
** generating debug symbols (dSYM)
** R
** data
** 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 (stpm)