############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD INSTALL densvis ### ############################################################################## ############################################################################## * installing to library ‘/Library/Frameworks/R.framework/Versions/4.6-arm64/Resources/library’ * installing *source* package ‘densvis’ ... ** this is package ‘densvis’ version ‘1.21.1’ ** using non-staged installation via StagedInstall field ** libs using C++ compiler: ‘Apple clang version 15.0.0 (clang-1500.1.0.2.5)’ using SDK: ‘MacOSX11.3.1.sdk’ clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.6-arm64/Resources/library/Rcpp/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.6-arm64/Resources/library/Rcpp/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c densne.cpp -o densne.o densne.cpp:181:24: warning: variable 'row_P' is used uninitialized whenever 'for' loop exits because its condition is false [-Wsometimes-uninitialized] for(int i = 0; i < N * N; i++) P[i] /= sum_P; ^~~~~~~~~ densne.cpp:201:33: note: uninitialized use occurs here computeExpectedLogDist(&ro, row_P, col_P, val_P, val_D, N, logdist_shift); ^~~~~ densne.cpp:181:24: note: remove the condition if it is always true for(int i = 0; i < N * N; i++) P[i] /= sum_P; ^~~~~~~~~ densne.cpp:154:35: note: initialize the variable 'row_P' to silence this warning double* P; unsigned int* row_P; unsigned int* col_P; double* val_P; double* val_D; ^ = nullptr densne.cpp:181:24: warning: variable 'col_P' is used uninitialized whenever 'for' loop exits because its condition is false [-Wsometimes-uninitialized] for(int i = 0; i < N * N; i++) P[i] /= sum_P; ^~~~~~~~~ densne.cpp:201:40: note: uninitialized use occurs here computeExpectedLogDist(&ro, row_P, col_P, val_P, val_D, N, logdist_shift); ^~~~~ densne.cpp:181:24: note: remove the condition if it is always true for(int i = 0; i < N * N; i++) P[i] /= sum_P; ^~~~~~~~~ densne.cpp:154:56: note: initialize the variable 'col_P' to silence this warning double* P; unsigned int* row_P; unsigned int* col_P; double* val_P; double* val_D; ^ = nullptr densne.cpp:181:24: warning: variable 'val_P' is used uninitialized whenever 'for' loop exits because its condition is false [-Wsometimes-uninitialized] for(int i = 0; i < N * N; i++) P[i] /= sum_P; ^~~~~~~~~ densne.cpp:201:47: note: uninitialized use occurs here computeExpectedLogDist(&ro, row_P, col_P, val_P, val_D, N, logdist_shift); ^~~~~ densne.cpp:181:24: note: remove the condition if it is always true for(int i = 0; i < N * N; i++) P[i] /= sum_P; ^~~~~~~~~ densne.cpp:154:71: note: initialize the variable 'val_P' to silence this warning double* P; unsigned int* row_P; unsigned int* col_P; double* val_P; double* val_D; ^ = nullptr densne.cpp:181:24: warning: variable 'val_D' is used uninitialized whenever 'for' loop exits because its condition is false [-Wsometimes-uninitialized] for(int i = 0; i < N * N; i++) P[i] /= sum_P; ^~~~~~~~~ densne.cpp:201:54: note: uninitialized use occurs here computeExpectedLogDist(&ro, row_P, col_P, val_P, val_D, N, logdist_shift); ^~~~~ densne.cpp:181:24: note: remove the condition if it is always true for(int i = 0; i < N * N; i++) P[i] /= sum_P; ^~~~~~~~~ densne.cpp:154:86: note: initialize the variable 'val_D' to silence this warning double* P; unsigned int* row_P; unsigned int* col_P; double* val_P; double* val_D; ^ = nullptr 4 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.6-arm64/Resources/library/Rcpp/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c densvis.cpp -o densvis.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.6-arm64/Resources/library/Rcpp/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sptree.cpp -o sptree.o 'LdFlags' has not been needed since 2013 (!!) and may get removed in 2027. Please update your 'Makevars'. 'RcppLdFlags' has not been needed since 2013 (!!) and may get removed in 2027. Please update your 'Makevars'. clang++ -arch arm64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o densvis.so RcppExports.o densne.o densvis.o sptree.o -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/opt/gfortran/lib/gcc/aarch64-apple-darwin20.0/14.2.0 -L/opt/gfortran/lib -lemutls_w -lheapt_w -lgfortran -lquadmath -F/Library/Frameworks/R.framework/.. -framework R 'LdFlags' has not been needed since 2013 (!!) and may get removed in 2027. Please update your 'Makevars'. 'RcppLdFlags' has not been needed since 2013 (!!) and may get removed in 2027. Please update your 'Makevars'. installing to /Library/Frameworks/R.framework/Versions/4.6-arm64/Resources/library/densvis/libs ** R ** 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 * DONE (densvis)