* installing *source* package ‘TMB’ ... ** using staged installation ** libs using C compiler: ‘Debian clang version 16.0.6 (3)’ clang-16 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/srv/hornik/tmp/R-d-clang-16/library/Matrix/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c external_metis.c -o external_metis.o clang-16 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/srv/hornik/tmp/R-d-clang-16/library/Matrix/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c init.c -o init.o clang-16 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/srv/hornik/tmp/R-d-clang-16/library/Matrix/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c local_stubs.c -o local_stubs.o clang-16 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/srv/hornik/tmp/R-d-clang-16/library/Matrix/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c solve_subset.c -o solve_subset.o clang-16 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/srv/hornik/tmp/R-d-clang-16/library/Matrix/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c utils.c -o utils.o clang-16 -shared -L/home/hornik/tmp/R/lib -Wl,-O1 -o TMB.so external_metis.o init.o local_stubs.o solve_subset.o utils.o -llapack -L/home/hornik/tmp/R/lib -lRblas -L/usr/lib/gcc/x86_64-linux-gnu/12 -lgfortran -lm -lquadmath -fopenmp -L/home/hornik/tmp/R/lib -lR installing to /srv/hornik/tmp/CRAN/TMB.Rcheck/00LOCK-TMB/00new/TMB/libs ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** testing if installed package can be loaded from temporary location Building example simple Note: Using Makevars in /home/hornik/.R/Makevars-clang using C++ compiler: ‘Debian clang version 16.0.6 (3)’ clang++-16 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I"/srv/hornik/tmp/CRAN/TMB.Rcheck/00LOCK-TMB/00new/TMB/include" -I"" -DTMB_SAFEBOUNDS -DLIB_UNLOAD=R_unload_simple -DTMB_LIB_INIT=R_init_simple -DCPPAD_FRAMEWORK -I'/srv/hornik/tmp/R-d-clang-16/library/Matrix/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c simple.cpp -o simple.o In file included from simple.cpp:2: In file included from /srv/hornik/tmp/CRAN/TMB.Rcheck/00LOCK-TMB/00new/TMB/include/TMB.hpp:83: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/Dense:1: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/Core:540: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from simple.cpp:2: In file included from /srv/hornik/tmp/CRAN/TMB.Rcheck/00LOCK-TMB/00new/TMB/include/TMB.hpp:83: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/Dense:2: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/LU:47: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from simple.cpp:2: In file included from /srv/hornik/tmp/CRAN/TMB.Rcheck/00LOCK-TMB/00new/TMB/include/TMB.hpp:83: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/Dense:3: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/Cholesky:12: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/Jacobi:29: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from simple.cpp:2: In file included from /srv/hornik/tmp/CRAN/TMB.Rcheck/00LOCK-TMB/00new/TMB/include/TMB.hpp:83: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/Dense:3: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/Cholesky:43: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from simple.cpp:2: In file included from /srv/hornik/tmp/CRAN/TMB.Rcheck/00LOCK-TMB/00new/TMB/include/TMB.hpp:83: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/Dense:4: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/QR:15: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/Householder:27: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from simple.cpp:2: In file included from /srv/hornik/tmp/CRAN/TMB.Rcheck/00LOCK-TMB/00new/TMB/include/TMB.hpp:83: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/Dense:4: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/QR:48: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from simple.cpp:2: In file included from /srv/hornik/tmp/CRAN/TMB.Rcheck/00LOCK-TMB/00new/TMB/include/TMB.hpp:83: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/Dense:5: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/SVD:48: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from simple.cpp:2: In file included from /srv/hornik/tmp/CRAN/TMB.Rcheck/00LOCK-TMB/00new/TMB/include/TMB.hpp:83: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/Dense:6: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/Geometry:58: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from simple.cpp:2: In file included from /srv/hornik/tmp/CRAN/TMB.Rcheck/00LOCK-TMB/00new/TMB/include/TMB.hpp:83: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/Dense:7: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/Eigenvalues:58: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from simple.cpp:2: In file included from /srv/hornik/tmp/CRAN/TMB.Rcheck/00LOCK-TMB/00new/TMB/include/TMB.hpp:87: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/Sparse:26: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/SparseCore:61: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] Index count = 0; ^ In file included from simple.cpp:2: In file included from /srv/hornik/tmp/CRAN/TMB.Rcheck/00LOCK-TMB/00new/TMB/include/TMB.hpp:87: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/Sparse:26: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/SparseCore:66: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from simple.cpp:2: In file included from /srv/hornik/tmp/CRAN/TMB.Rcheck/00LOCK-TMB/00new/TMB/include/TMB.hpp:87: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/Sparse:27: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/OrderingMethods:71: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from simple.cpp:2: In file included from /srv/hornik/tmp/CRAN/TMB.Rcheck/00LOCK-TMB/00new/TMB/include/TMB.hpp:87: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/Sparse:29: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/SparseCholesky:43: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from simple.cpp:2: In file included from /srv/hornik/tmp/CRAN/TMB.Rcheck/00LOCK-TMB/00new/TMB/include/TMB.hpp:87: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/Sparse:31: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/SparseLU:33: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree ^ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] Index nsuper_et = 0; // Number of relaxed snodes in the original etree ^ In file included from simple.cpp:2: In file included from /srv/hornik/tmp/CRAN/TMB.Rcheck/00LOCK-TMB/00new/TMB/include/TMB.hpp:87: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/Sparse:32: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/SparseQR:34: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from simple.cpp:2: In file included from /srv/hornik/tmp/CRAN/TMB.Rcheck/00LOCK-TMB/00new/TMB/include/TMB.hpp:87: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/Sparse:33: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/IterativeLinearSolvers:46: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from simple.cpp:2: In file included from /srv/hornik/tmp/CRAN/TMB.Rcheck/00LOCK-TMB/00new/TMB/include/TMB.hpp:112: In file included from /srv/hornik/tmp/CRAN/TMB.Rcheck/00LOCK-TMB/00new/TMB/include/cppad/cppad.hpp:34: /srv/hornik/tmp/CRAN/TMB.Rcheck/00LOCK-TMB/00new/TMB/include/cppad/ode_gear.hpp:489:6: warning: variable 'sign' set but not used [-Wunused-but-set-variable] int sign; ^ In file included from simple.cpp:2: In file included from /srv/hornik/tmp/CRAN/TMB.Rcheck/00LOCK-TMB/00new/TMB/include/TMB.hpp:112: In file included from /srv/hornik/tmp/CRAN/TMB.Rcheck/00LOCK-TMB/00new/TMB/include/cppad/cppad.hpp:39: /srv/hornik/tmp/CRAN/TMB.Rcheck/00LOCK-TMB/00new/TMB/include/cppad/romberg_mul.hpp:277:10: warning: variable 'pow2' set but not used [-Wunused-but-set-variable] size_t pow2 = 1; ^ 19 warnings generated. clang++-16 -std=gnu++17 -shared -L/home/hornik/tmp/R/lib -Wl,-O1 -o simple.so simple.o -L/home/hornik/tmp/R/lib -lR Build time 23.895 seconds ** 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 (TMB)