############################################################################## ############################################################################## ### ### Running command: ### ### /home/biocbuild/bbs-3.15-bioc/R/bin/R CMD INSTALL waddR ### ############################################################################## ############################################################################## * installing to library ‘/home/biocbuild/bbs-3.15-bioc/R/library’ * installing *source* package ‘waddR’ ... ** using staged installation ** libs g++ -std=gnu++11 -I"/home/biocbuild/bbs-3.15-bioc/R/include" -DNDEBUG -I'/home/biocbuild/bbs-3.15-bioc/R/library/Rcpp/include' -I'/home/biocbuild/bbs-3.15-bioc/R/library/RcppArmadillo/include' -I/usr/local/include -fpic -g -O2 -Wall -c RcppExports.cpp -o RcppExports.o g++ -std=gnu++11 -I"/home/biocbuild/bbs-3.15-bioc/R/include" -DNDEBUG -I'/home/biocbuild/bbs-3.15-bioc/R/library/Rcpp/include' -I'/home/biocbuild/bbs-3.15-bioc/R/library/RcppArmadillo/include' -I/usr/local/include -fpic -g -O2 -Wall -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 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 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 unsigned int’} [-Wsign-compare] 1088 | for (int i=0; i::size_type’ {aka ‘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 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 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 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 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 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 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++ -std=gnu++11 -shared -L/home/biocbuild/bbs-3.15-bioc/R/lib -L/usr/local/lib -o waddR.so RcppExports.o wasserstein.o -L/home/biocbuild/bbs-3.15-bioc/R/lib -lR installing to /home/biocbuild/bbs-3.15-bioc/R/library/00LOCK-waddR/00new/waddR/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 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 (waddR)