############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD INSTALL survcomp ### ############################################################################## ############################################################################## * installing to library ‘/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library’ * installing *source* package ‘survcomp’ ... ** using staged installation ** libs clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c concordance.index.c -o concordance.index.o clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c foo_mrmr_ensemble_surv.cpp -o foo_mrmr_ensemble_surv.o foo_mrmr_ensemble_surv.cpp:191:17: warning: unused variable 'msurv_x' [-Wunused-variable] int *namat_x, *msurv_x, *ustrat_x, *cl2_x, *se_x, *strat_x; ^ foo_mrmr_ensemble_surv.cpp:191:27: warning: unused variable 'ustrat_x' [-Wunused-variable] int *namat_x, *msurv_x, *ustrat_x, *cl2_x, *se_x, *strat_x; ^ foo_mrmr_ensemble_surv.cpp:351:7: warning: unused variable 'cnt_back' [-Wunused-variable] int cnt_back=cnt2; ^ foo_mrmr_ensemble_surv.cpp:286:7: warning: unused variable 'nsub' [-Wunused-variable] int nsub, *prev_sel,nsamples_boot=nsamples,*to_remove; ^ foo_mrmr_ensemble_surv.cpp:387:10: warning: unused variable 'mim' [-Wunused-variable] double *mim, *boot_val, *mat_info; ^ foo_mrmr_ensemble_surv.cpp:439:9: warning: unused variable 'max_val' [-Wunused-variable] double max_val=-1000; ^ foo_mrmr_ensemble_surv.cpp:437:15: warning: variable 'jmax' set but not used [-Wunused-but-set-variable] unsigned int jmax; ^ foo_mrmr_ensemble_surv.cpp:467:7: warning: unused variable 'found' [-Wunused-variable] bool found=false; ^ foo_mrmr_ensemble_surv.cpp:579:21: warning: unused variable 'vec_sort' [-Wunused-variable] double *vec_mean, *vec_sort, *vec_sd, *vec_local_max_mean, *vec_local_max_sd,tmp_val_max, *mrmr_vec_sort,*vec_sol_local_mrmr; ^ foo_mrmr_ensemble_surv.cpp:578:24: warning: unused variable 'nsamples_boot' [-Wunused-variable] int *nsub, *prev_sel,nsamples_boot=nsamples, tmp_val_max_ind, *prev_sel_tmp,*vec_sol_local,ndelete; ^ foo_mrmr_ensemble_surv.cpp:578:66: warning: unused variable 'prev_sel_tmp' [-Wunused-variable] int *nsub, *prev_sel,nsamples_boot=nsamples, tmp_val_max_ind, *prev_sel_tmp,*vec_sol_local,ndelete; ^ foo_mrmr_ensemble_surv.cpp:578:48: warning: unused variable 'tmp_val_max_ind' [-Wunused-variable] int *nsub, *prev_sel,nsamples_boot=nsamples, tmp_val_max_ind, *prev_sel_tmp,*vec_sol_local,ndelete; ^ foo_mrmr_ensemble_surv.cpp:579:63: warning: variable 'vec_local_max_sd' set but not used [-Wunused-but-set-variable] double *vec_mean, *vec_sort, *vec_sd, *vec_local_max_mean, *vec_local_max_sd,tmp_val_max, *mrmr_vec_sort,*vec_sol_local_mrmr; ^ foo_mrmr_ensemble_surv.cpp:804:7: warning: unused variable 'rootdepth' [-Wunused-variable] int rootdepth=res_tree.depth(it_final); ^ foo_mrmr_ensemble_surv.cpp:817:7: warning: unused variable 'ind' [-Wunused-variable] int ind=0; ^ foo_mrmr_ensemble_surv.cpp:801:13: warning: unused variable 'cnt2' [-Wunused-variable] int cnt=1,cnt2=0; ^ foo_mrmr_ensemble_surv.cpp:733:39: warning: unused variable 'res_all2' [-Wunused-variable] int *predn, *rep_boot,*res,*res_all,*res_all2, *namat; ^ foo_mrmr_ensemble_surv.cpp:733:30: warning: unused variable 'res_all' [-Wunused-variable] int *predn, *rep_boot,*res,*res_all,*res_all2, *namat; ^ foo_mrmr_ensemble_surv.cpp:734:6: warning: unused variable 'vec_tmp' [-Wunused-variable] int vec_tmp; ^ foo_mrmr_ensemble_surv.cpp:821:16: warning: variable 'res_old' is uninitialized when used here [-Wuninitialized] res_all[k]=res_old[k]; ^~~~~~~ foo_mrmr_ensemble_surv.cpp:816:25: note: initialize the variable 'res_old' to silence this warning int *res_all, *res_old; ^ = nullptr 20 warnings generated. clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c foo_mrmr_surv.cpp -o foo_mrmr_surv.o clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c survcomp_init.cpp -o survcomp_init.o clang++ -arch arm64 -std=gnu++14 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o survcomp.so concordance.index.o foo_mrmr_ensemble_surv.o foo_mrmr_surv.o survcomp_init.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation ld: warning: -undefined dynamic_lookup may not work with chained fixups installing to /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/00LOCK-survcomp/00new/survcomp/libs ** 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 (survcomp)