############################################################################## ############################################################################## ### ### Running command: ### ### C:\Users\biocbuild\bbs-3.20-bioc\R\bin\R.exe CMD INSTALL waddR ### ############################################################################## ############################################################################## * installing to library 'C:/Users/biocbuild/bbs-3.20-bioc/R/library' * installing *source* package 'waddR' ... ** using staged installation ** libs using C++ compiler: 'G__~1.EXE (GCC) 13.2.0' using C++11 g++ -std=gnu++11 -I"C:/Users/biocbuild/bbs-3.20-bioc/R/include" -DNDEBUG -I'C:/Users/biocbuild/bbs-3.20-bioc/R/library/Rcpp/include' -I'C:/Users/biocbuild/bbs-3.20-bioc/R/library/RcppArmadillo/include' -I"C:/rtools44/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o g++ -std=gnu++11 -I"C:/Users/biocbuild/bbs-3.20-bioc/R/include" -DNDEBUG -I'C:/Users/biocbuild/bbs-3.20-bioc/R/library/Rcpp/include' -I'C:/Users/biocbuild/bbs-3.20-bioc/R/library/RcppArmadillo/include' -I"C:/rtools44/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c wasserstein.cpp -o wasserstein.o wasserstein.cpp: In function 'std::vector rep_weighted(std::vector, std::vector >)': wasserstein.cpp:348:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 348 | for(int i=0; i concat(std::vector&, std::vector&)': wasserstein.cpp:386:34: warning: variable 'out_it_end' set but not used [-Wunused-but-set-variable] 386 | vector::iterator out_it_end = out.end(); | ^~~~~~~~~~ wasserstein.cpp: In function 'std::vector > interval_table(const std::vector&, const std::vector&, int)': wasserstein.cpp:584:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 584 | while (data_i < datavec.size()) { | ~~~~~~~^~~~~~~~~~~~~~~~ wasserstein.cpp: In function 'double cor_test_export(Rcpp::NumericVector, Rcpp::NumericVector)': wasserstein.cpp:1088:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1088 | for (int i=0; i::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1089 | for (int j=0; j&, const std::vector&, double, double) [with T = double]': wasserstein.cpp:716:24: required from here wasserstein.cpp:439:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 439 | for (int i=0; i operator-(const std::vector&, const std::vector&) [with T = double]': wasserstein.cpp:778:44: required from here wasserstein.cpp:121:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 121 | for (int i=0; i cumSum(const std::vector&, int) [with T = double]': wasserstein.cpp:884:14: required from here wasserstein.cpp:472:54: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 472 | int upper = ((last_index > 0) && (last_index <= x.size()) | ~~~~~~~~~~~~^~~~~~~~~~~~ wasserstein.cpp: In instantiation of 'std::vector operator*(const std::vector&, const std::vector&) [with T = double]': wasserstein.cpp:912:62: required from here wasserstein.cpp:101:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 101 | for (int i=0; i operator+(std::vector, std::vector) [with T = double]': wasserstein.cpp:933:15: required from here wasserstein.cpp:53:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 53 | for (int i=0; i operator/(const std::vector&, const std::vector&) [with T = double]': wasserstein.cpp:1046:15: required from here wasserstein.cpp:169:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 169 | for (int i=0; i quantile(const std::vector&, std::vector, int) [with T = double]': wasserstein.cpp:1162:16: required from here wasserstein.cpp:501:11: warning: unused variable 'max_x' [-Wunused-variable] 501 | T max_x = x_sorted[n-1]; | ^~~~~ g++ -shared -s -static-libgcc -o waddR.dll tmp.def RcppExports.o wasserstein.o -LC:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -LC:/rtools44/x86_64-w64-mingw32.static.posix/lib -LC:/Users/biocbuild/bbs-3.20-bioc/R/bin/x64 -lR installing to C:/Users/biocbuild/bbs-3.20-bioc/R/library/00LOCK-waddR/00new/waddR/libs/x64 ** 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 from temporary location ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (waddR)