* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’ * installing *source* package ‘greed’ ... ** package ‘greed’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘Debian clang version 18.1.4 (1)’ using C++11 make[1]: Entering directory '/tmp/RtmplZdcUJ/R.INSTALL5f07112664008/greed/src' clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion -c CombinedIclModel.cpp -o CombinedIclModel.o clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion -c DcLbm.cpp -o DcLbm.o clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion -c DcSbm.cpp -o DcSbm.o clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion -c DcSbmUndirected.cpp -o DcSbmUndirected.o clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion -c DiagGmm.cpp -o DiagGmm.o clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion -c Fit.cpp -o Fit.o Fit.cpp:176:7: warning: unused variable 'N' [-Wunused-variable] 176 | int N = clr.n_elem; | ^ Fit.cpp:189:8: warning: variable 'M' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 189 | if(model.is("DlvmPrior")){ | ^~~~~~~~~~~~~~~~~~~~~ Fit.cpp:207:10: note: uninitialized use occurs here 207 | return M; | ^ Fit.cpp:189:5: note: remove the 'if' if its condition is always true 189 | if(model.is("DlvmPrior")){ | ^~~~~~~~~~~~~~~~~~~~~~~~~ Fit.cpp:179:15: note: initialize the variable 'M' to silence this warning 179 | IclModel * M; | ^ | = nullptr 2 warnings generated. clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion -c Gmm.cpp -o Gmm.o In file included from Gmm.cpp:5: ./Gmm.h:27:10: warning: private field 'normfact' is not used [-Wunused-private-field] 27 | double normfact; | ^ 1 warning generated. clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion -c IclModel.cpp -o IclModel.o IclModel.cpp:101:7: warning: variable 'nbmove' set but not used [-Wunused-but-set-variable] 101 | int nbmove = 0; | ^ IclModel.cpp:326:7: warning: variable 'nbmerge' set but not used [-Wunused-but-set-variable] 326 | int nbmerge = 0; | ^ IclModel.cpp:391:7: warning: variable 'nbmerge' set but not used [-Wunused-but-set-variable] 391 | int nbmerge = 0; | ^ IclModel.cpp:436:7: warning: variable 'nbmerge' set but not used [-Wunused-but-set-variable] 436 | int nbmerge = 0; | ^ 4 warnings generated. clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion -c Lca.cpp -o Lca.o clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion -c MergeMat.cpp -o MergeMat.o clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion -c Mm.cpp -o Mm.o clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion -c Mregs.cpp -o Mregs.o clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion -c MultSbm.cpp -o MultSbm.o MultSbm.cpp:194:7: warning: unused variable 'cc' [-Wunused-variable] 194 | int cc, cc_old; | ^~ MultSbm.cpp:194:11: warning: unused variable 'cc_old' [-Wunused-variable] 194 | int cc, cc_old; | ^~~~~~ MultSbm.cpp:195:10: warning: unused variable 'oxc' [-Wunused-variable] 195 | double oxc,xc; | ^~~ MultSbm.cpp:195:14: warning: unused variable 'xc' [-Wunused-variable] 195 | double oxc,xc; | ^~ 4 warnings generated. clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion -c MultSbmUndirected.cpp -o MultSbmUndirected.o MultSbmUndirected.cpp:33:7: warning: unused variable 'cc' [-Wunused-variable] 33 | int cc = 0; | ^~ MultSbmUndirected.cpp:72:7: warning: unused variable 'cc' [-Wunused-variable] 72 | int cc, cc_old; | ^~ MultSbmUndirected.cpp:72:11: warning: unused variable 'cc_old' [-Wunused-variable] 72 | int cc, cc_old; | ^~~~~~ MultSbmUndirected.cpp:73:10: warning: unused variable 'oxc' [-Wunused-variable] 73 | double oxc,xc; | ^~~ MultSbmUndirected.cpp:73:14: warning: unused variable 'xc' [-Wunused-variable] 73 | double oxc,xc; | ^~ 5 warnings generated. clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion -c RcppExports.cpp -o RcppExports.o clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion -c Sbm.cpp -o Sbm.o clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion -c SbmUndirected.cpp -o SbmUndirected.o clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion -c SimpleIclCoModel.cpp -o SimpleIclCoModel.o SimpleIclCoModel.cpp:156:7: warning: unused variable 'cd' [-Wunused-variable] 156 | int cd = 0; | ^~ 1 warning generated. clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion -c SimpleIclModel.cpp -o SimpleIclModel.o clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion -c SpMergeMat.cpp -o SpMergeMat.o clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion -c gicl_tools.cpp -o gicl_tools.o gicl_tools.cpp:420:21: warning: unused variable 'm' [-Wunused-variable] 420 | int n = X.n_rows, m = X.n_cols, d=Y.n_cols; | ^ gicl_tools.cpp:458:7: warning: unused variable 'm' [-Wunused-variable] 458 | int m = X.n_cols, d=Y.n_cols; | ^ gicl_tools.cpp:493:7: warning: unused variable 'm' [-Wunused-variable] 493 | int m = X.n_cols, d=Y.n_cols; | ^ gicl_tools.cpp:531:7: warning: unused variable 'm' [-Wunused-variable] 531 | int m = as(current1["S"]).n_cols, d=as(current1["Yty"]).n_cols; | ^ gicl_tools.cpp:765:10: warning: unused variable 'd' [-Wunused-variable] 765 | double d = m1.n_cols; | ^ 5 warnings generated. clang++-18 -std=gnu++11 -shared -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -Wl,-O1 -o greed.so CombinedIclModel.o DcLbm.o DcSbm.o DcSbmUndirected.o DiagGmm.o Fit.o Gmm.o IclModel.o Lca.o MergeMat.o Mm.o Mregs.o MultSbm.o MultSbmUndirected.o RcppExports.o Sbm.o SbmUndirected.o SimpleIclCoModel.o SimpleIclModel.o SpMergeMat.o gicl_tools.o -llapack -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lRblas -L/usr/lib/llvm-18/lib -lFortran_main -lFortranRuntime -lFortranDecimal -lm -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lR make[1]: Leaving directory '/tmp/RtmplZdcUJ/R.INSTALL5f07112664008/greed/src' make[1]: Entering directory '/tmp/RtmplZdcUJ/R.INSTALL5f07112664008/greed/src' make[1]: Leaving directory '/tmp/RtmplZdcUJ/R.INSTALL5f07112664008/greed/src' installing to /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/00LOCK-greed/00new/greed/libs ** R ** data *** moving datasets to lazyload DB ** inst ** byte-compile and prepare package for lazy loading Creating a new generic function for ‘reorder’ in package ‘greed’ ** 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 * creating tarball packaged installation of ‘greed’ as ‘greed_0.6.1_R_x86_64-pc-linux-gnu.tar.gz’ * DONE (greed)