############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD INSTALL densvis ### ############################################################################## ############################################################################## * installing to library ‘/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library’ * installing *source* package ‘densvis’ ... ** using non-staged installation via StagedInstall field ** libs using C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’ using C++14 using SDK: ‘MacOSX11.3.sdk’ clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.3-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++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.3-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++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.3-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++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/Rcpp/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sptree.cpp -o sptree.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 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/12.2.0 -L/opt/gfortran/lib -lgfortran -lemutls_w -lquadmath -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation ld: warning: could not create compact unwind for ___emutls_get_address: registers 23 and 24 not saved contiguously in frame installing to /Library/Frameworks/R.framework/Versions/4.3-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)