############################################################################## ############################################################################## ### ### Running command: ### ### F:\biocbuild\bbs-3.15-bioc\R\bin\R.exe CMD INSTALL waddR ### ############################################################################## ############################################################################## * installing to library 'F:/biocbuild/bbs-3.15-bioc/R/library' * installing *source* package 'waddR' ... ** using staged installation ** libs g++ -std=gnu++11 -I"F:/biocbuild/bbs-3.15-bioc/R/include" -DNDEBUG -I'F:/biocbuild/bbs-3.15-bioc/R/library/Rcpp/include' -I'F:/biocbuild/bbs-3.15-bioc/R/library/RcppArmadillo/include' -I"C:/rtools42/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o g++ -std=gnu++11 -I"F:/biocbuild/bbs-3.15-bioc/R/include" -DNDEBUG -I'F:/biocbuild/bbs-3.15-bioc/R/library/Rcpp/include' -I'F:/biocbuild/bbs-3.15-bioc/R/library/RcppArmadillo/include' -I"C:/rtools42/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:20: 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:27: 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:18: 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:17: 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:49: required from here wasserstein.cpp:439:17: 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:17: required from here wasserstein.cpp:472:47: 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:18: 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:27: required from here wasserstein.cpp:501:4: 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:/rtools42/x86_64-w64-mingw32.static.posix/lib/x64 -LC:/rtools42/x86_64-w64-mingw32.static.posix/lib -LF:/biocbuild/bbs-3.15-bioc/R/bin/x64 -lR installing to F:/biocbuild/bbs-3.15-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)