* installing *source* package ‘CaseBasedReasoning’ ... ** this is package ‘CaseBasedReasoning’ version ‘0.4.1’ ** package ‘CaseBasedReasoning’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘Apple clang version 21.0.0 (clang-2100.0.121.2)’ using SDK: ‘MacOSX26.4.sdk’ clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppArmadillo/include' -I'/Users/ripley/R/Library/RcppParallel/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c RcppExports.cpp -o RcppExports.o clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppArmadillo/include' -I'/Users/ripley/R/Library/RcppParallel/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c distanceAPI.cpp -o distanceAPI.o clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppArmadillo/include' -I'/Users/ripley/R/Library/RcppParallel/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c distances.cpp -o distances.o clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppArmadillo/include' -I'/Users/ripley/R/Library/RcppParallel/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c order.cpp -o order.o clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppArmadillo/include' -I'/Users/ripley/R/Library/RcppParallel/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c weightedKNN.cpp -o weightedKNN.o In file included from RcppExports.cpp:4: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo.h:35: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:79: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:31: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/functions.h:63: /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:38:14: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 38 | s /= n; | ~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:44:20: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 44 | s += t/n; | ~^ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:68:14: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 68 | s /= n; | ~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:69:15: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 69 | si /= n; | ~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:77:20: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 77 | s += t/n; | ~^ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:78:22: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 78 | si += ti/n; | ~^ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:104:14: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 104 | s /= n; // no overflow correction needed for logical vectors | ~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:122:14: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 122 | s /= n; | ~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:128:16: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 128 | s += t/n; | ~^ In file included from RcppExports.cpp:4: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo.h:35: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:93: /Users/ripley/R/Library/Rcpp/include/Rcpp/algorithm.h:399:14: warning: implicit conversion from 'std::size_t' (aka 'unsigned long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 399 | s /= n; | ~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/algorithm.h:407:22: warning: implicit conversion from 'std::size_t' (aka 'unsigned long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 407 | s += t / n; | ~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/algorithm.h:426:14: warning: implicit conversion from 'std::size_t' (aka 'unsigned long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 426 | s /= n; | ~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/algorithm.h:435:22: warning: implicit conversion from 'std::size_t' (aka 'unsigned long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 435 | s += t / n; | ~ ^ In file included from distanceAPI.cpp:1: In file included from ./distanceAPI.h:5: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo.h:35: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:79: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:31: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/functions.h:63: /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:38:14: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 38 | s /= n; | ~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:44:20: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 44 | s += t/n; | ~^ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:68:14: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 68 | s /= n; | ~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:69:15: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 69 | si /= n; | ~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:77:20: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 77 | s += t/n; | ~^ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:78:22: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 78 | si += ti/n; | ~^ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:104:14: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 104 | s /= n; // no overflow correction needed for logical vectors | ~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:122:14: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 122 | s /= n; | ~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:128:16: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 128 | s += t/n; | ~^ In file included from RcppExports.cpp:4: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo.h:40: /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloSugar.h:45:17: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] 45 | j[ie] = cp; | ~ ^~ In file included from distanceAPI.cpp:1: In file included from ./distanceAPI.h:5: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo.h:35: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:93: /Users/ripley/R/Library/Rcpp/include/Rcpp/algorithm.h:399:14: warning: implicit conversion from 'std::size_t' (aka 'unsigned long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 399 | s /= n; | ~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/algorithm.h:407:22: warning: implicit conversion from 'std::size_t' (aka 'unsigned long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 407 | s += t / n; | ~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/algorithm.h:426:14: warning: implicit conversion from 'std::size_t' (aka 'unsigned long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 426 | s /= n; | ~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/algorithm.h:435:22: warning: implicit conversion from 'std::size_t' (aka 'unsigned long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 435 | s += t / n; | ~ ^ In file included from RcppExports.cpp:4: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo.h:32: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57: In file included from /Users/ripley/R/Library/RcppArmadillo/include/current/armadillo:518: /Users/ripley/R/Library/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:80:38: warning: implicit conversion from 'uword' (aka 'unsigned int') to 'float' may lose precision [-Wimplicit-int-float-conversion] 80 | x_mem[i] = eT(float(start) + i*delta); | ^~ /Users/ripley/R/Library/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:109:10: note: in instantiation of function template specialization 'arma::linspace>' requested here 109 | return linspace(start, end, num); | ^ In file included from distanceAPI.cpp:1: In file included from ./distanceAPI.h:5: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo.h:40: /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloSugar.h:45:17: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] 45 | j[ie] = cp; | ~ ^~ In file included from distanceAPI.cpp:1: In file included from ./distanceAPI.h:7: In file included from ./distance/distance.h:7: ./distance/../containers/nodeDistContainer.h:43:12: warning: implicit conversion turns floating-point number into integer: 'const double' to 'int' [-Wfloat-conversion] 43 | return this->container_.at(std::make_pair(i, j))[tree]; | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./distance/../containers/nodeDistContainer.h:71:42: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 71 | dists[n].push_back(it1->second[n]); | ~~~ ^ In file included from distanceAPI.cpp:1: In file included from ./distanceAPI.h:7: ./distance/distance.h:40:13: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 40 | if (x(i) == y(i)) { | ~ ^ ./distance/distance.h:40:21: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 40 | if (x(i) == y(i)) { | ~ ^ ./distance/distance.h:63:39: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 63 | d = nodeDists_.getValue(x[t], y[t], t); | ~~~~~~~~ ^~~~ ./distance/distance.h:63:33: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 63 | d = nodeDists_.getValue(x[t], y[t], t); | ~~~~~~~~ ^~~~ ./distance/distance.h:65:39: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 65 | d = nodeDists_.getValue(y[t], x[t], t); | ~~~~~~~~ ^~~~ ./distance/distance.h:65:33: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 65 | d = nodeDists_.getValue(y[t], x[t], t); | ~~~~~~~~ ^~~~ ./distance/distance.h:60:17: warning: variable 'nTree' set but not used [-Wunused-but-set-variable] 60 | std::size_t nTree = 0; | ^ ./distance/distance.h:62:13: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 62 | if (x[t] < y[t]) { | ~ ^ ./distance/distance.h:62:20: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 62 | if (x[t] < y[t]) { | ~ ^ ./distance/distance.h:63:45: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 63 | d = nodeDists_.getValue(x[t], y[t], t); | ~~~~~~~~ ^ ./distance/distance.h:63:41: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 63 | d = nodeDists_.getValue(x[t], y[t], t); | ~ ^ ./distance/distance.h:63:35: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 63 | d = nodeDists_.getValue(x[t], y[t], t); | ~ ^ ./distance/distance.h:64:20: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 64 | } else if (x[t] > y[t]) { | ~ ^ ./distance/distance.h:64:27: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 64 | } else if (x[t] > y[t]) { | ~ ^ ./distance/distance.h:65:45: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 65 | d = nodeDists_.getValue(y[t], x[t], t); | ~~~~~~~~ ^ ./distance/distance.h:65:41: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 65 | d = nodeDists_.getValue(y[t], x[t], t); | ~ ^ ./distance/distance.h:65:35: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 65 | d = nodeDists_.getValue(y[t], x[t], t); | ~ ^ In file included from distanceAPI.cpp:1: In file included from ./distanceAPI.h:8: In file included from ./parallelFrameworks.h:6: In file included from /Users/ripley/R/Library/RcppParallel/include/RcppParallel.h:6: In file included from /Users/ripley/R/Library/RcppParallel/include/RcppParallel/TinyThread.h:7: /Users/ripley/R/Library/RcppParallel/include/RcppParallel/Common.h:41:11: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 41 | return value; | ~~~~~~ ^~~~~ /Users/ripley/R/Library/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:80:38: warning: implicit conversion from 'uword' (aka 'unsigned int') to 'float' may lose precision [-Wimplicit-int-float-conversion] 80 | x_mem[i] = eT(float(start) + i*delta); | ^~ /Users/ripley/R/Library/RcppArmadillo/include/current/armadillo_bits/SpMat_meat.hpp:4431:18: note: in instantiation of function template specialization 'arma::linspace>' requested here 4431 | uvec indices = linspace( 0u, in_rows*in_cols-1, new_n_nonzero ); | ^ /Users/ripley/R/Library/RcppArmadillo/include/current/armadillo_bits/fn_sprandn.hpp:83:7: note: in instantiation of member function 'arma::SpMat::sprandn' requested here 83 | out.sprandn(n_rows, n_cols, density); | ^ In file included from distances.cpp:2: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo.h:35: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:79: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:31: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/functions.h:63: /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:38:14: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 38 | s /= n; | ~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:44:20: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 44 | s += t/n; | ~^ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:68:14: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 68 | s /= n; | ~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:69:15: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 69 | si /= n; | ~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:77:20: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 77 | s += t/n; | ~^ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:78:22: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 78 | si += ti/n; | ~^ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:104:14: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 104 | s /= n; // no overflow correction needed for logical vectors | ~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:122:14: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 122 | s /= n; | ~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:128:16: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 128 | s += t/n; | ~^ In file included from distanceAPI.cpp:1: In file included from ./distanceAPI.h:8: ./parallelFrameworks.h:39:61: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 39 | output_((2 * i * nrow_ - i * i + 2 * j - 3 * i - 2) / 2) = dist_->calc_distance(input_.row(i), input_.row(j)); | ~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./parallelFrameworks.h:39:115: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 39 | output_((2 * i * nrow_ - i * i + 2 * j - 3 * i - 2) / 2) = dist_->calc_distance(input_.row(i), input_.row(j)); | ~~~ ^ ./parallelFrameworks.h:39:100: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 39 | output_((2 * i * nrow_ - i * i + 2 * j - 3 * i - 2) / 2) = dist_->calc_distance(input_.row(i), input_.row(j)); | ~~~ ^ ./parallelFrameworks.h:65:20: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 65 | output_(i, j) = dist_->calc_distance(inputX_.row(i), inputY_.row(j)); | ~~~~~~~ ^ ./parallelFrameworks.h:65:17: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 65 | output_(i, j) = dist_->calc_distance(inputX_.row(i), inputY_.row(j)); | ~~~~~~~ ^ ./parallelFrameworks.h:65:74: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 65 | output_(i, j) = dist_->calc_distance(inputX_.row(i), inputY_.row(j)); | ~~~ ^ ./parallelFrameworks.h:65:58: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 65 | output_(i, j) = dist_->calc_distance(inputX_.row(i), inputY_.row(j)); | ~~~ ^ ./parallelFrameworks.h:87:15: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 87 | output_(i) = dist_->calc_distance(inputX_.row(i), inputX_.row(i)); | ~~~~~~~ ^ ./parallelFrameworks.h:87:69: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 87 | output_(i) = dist_->calc_distance(inputX_.row(i), inputX_.row(i)); | ~~~ ^ ./parallelFrameworks.h:87:53: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 87 | output_(i) = dist_->calc_distance(inputX_.row(i), inputX_.row(i)); | ~~~ ^ In file included from distanceAPI.cpp:1: In file included from ./distanceAPI.h:10: ./ranger/rangerForest.h:39:21: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32] 39 | rfDist.setNTree(nTrees); | ~~~~~~~~ ^~~~~~ ./ranger/rangerForest.h:42:25: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'key_type' (aka 'int') [-Wshorten-64-to-32] 42 | hashVec hv = hp_[t+1]; | ~~~ ~^~ ./ranger/rangerForest.h:47:21: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 47 | d = this->terminalNodeDistance(it1->second, it2->second); | ~ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ranger/rangerForest.h:48:51: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32] 48 | rfDist.addValue(it1->first, it2->first, t, d); | ~~~~~~~~ ^ ./ranger/rangerForest.h:60:33: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 60 | arma::uvec treeIndex(nTrees + 1); | ~~~~~~~~~ ~~~~~~~^~~ ./ranger/rangerForest.h:65:38: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 65 | if (tmpTree != nodeIDs_.col(0)(i)) { | ~~~~~~~~ ^ ./ranger/rangerForest.h:66:19: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 66 | treeIndex(tmpTree) = i; | ~~~~~~~~~ ^~~~~~~ ./ranger/rangerForest.h:66:30: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 66 | treeIndex(tmpTree) = i; | ~ ^ ./ranger/rangerForest.h:70:15: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 70 | treeIndex(nTrees) = nrow; | ~~~~~~~~~ ^~~~~~ ./ranger/rangerForest.h:70:25: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 70 | treeIndex(nTrees) = nrow; | ~ ^~~~ ./ranger/rangerForest.h:79:37: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 79 | for (std::size_t i=treeIndex_(t);i(Rcpp::wrap(ind)); | ~~~~~~~~~~~~~~~~~ ~~^~~ ./ranger/rangerForest.h:94:37: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 94 | for (std::size_t i=treeIndex_(t);ipathToRoot(nodes[t + 1], tn + 1); | ~~~~~ ~~^~~ ./ranger/rangerForest.h:121:13: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'key_type' (aka 'int') [-Wshorten-64-to-32] 121 | hp_[t + 1] = hv; | ~~~ ~~^~~ ./ranger/rangerForest.h:146:19: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 146 | if (path1(i) == path2(j)) { | ~~~~~ ^ ./ranger/rangerForest.h:146:31: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 146 | if (path1(i) == path2(j)) { | ~~~~~ ^ In file included from distanceAPI.cpp:3: ././containers/RfDistanceContainer.h:48:12: warning: implicit conversion turns floating-point number into integer: 'const double' to 'int' [-Wfloat-conversion] 48 | return this->container_.at(std::make_pair(i, j))[tree]; | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ././containers/RfDistanceContainer.h:76:40: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 76 | dists[n].push_back(it1->second[n]); | ~~~ ^ In file included from distances.cpp:2: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo.h:35: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:93: /Users/ripley/R/Library/Rcpp/include/Rcpp/algorithm.h:399:14: warning: implicit conversion from 'std::size_t' (aka 'unsigned long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 399 | s /= n; | ~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/algorithm.h:407:22: warning: implicit conversion from 'std::size_t' (aka 'unsigned long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 407 | s += t / n; | ~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/algorithm.h:426:14: warning: implicit conversion from 'std::size_t' (aka 'unsigned long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 426 | s /= n; | ~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/algorithm.h:435:22: warning: implicit conversion from 'std::size_t' (aka 'unsigned long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 435 | s += t / n; | ~ ^ distanceAPI.cpp:46:7: warning: unused variable 'ncols' [-Wunused-variable] 46 | int ncols = y.n_rows; | ^~~~~ In file included from RcppExports.cpp:4: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo.h:39: /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloAs.h:613:94: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 613 | ArmaVec_InputParameter( SEXP x_ ) : v(x_), vec( reinterpret_cast( v.begin() ), v.size(), false ){} | ~~~ ~~^~~~~~ /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloAs.h:652:5: note: in instantiation of member function 'Rcpp::ArmaVec_InputParameter, arma::Row &>::ArmaVec_InputParameter' requested here 652 | MAKE_INPUT_PARAMETER(ReferenceInputParameter , arma::Row, arma::Row& ) | ^ /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloAs.h:644:27: note: expanded from macro 'MAKE_INPUT_PARAMETER' 644 | INPUT_TYPE( SEXP x) : ArmaVec_InputParameter(x){} \ | ^ RcppExports.cpp:21:58: note: in instantiation of member function 'Rcpp::ReferenceInputParameter>::ReferenceInputParameter' requested here 21 | Rcpp::traits::input_parameter< arma::rowvec& >::type weights(weightsSEXP); | ^ In file included from RcppExports.cpp:4: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo.h:32: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:167: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/export.h:124:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 124 | res[i] = caster(start[i]) ; | ~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/export.h:130:4: note: in instantiation of function template specialization 'Rcpp::internal::export_indexing__impl, unsigned int>' requested here 130 | export_indexing__impl( | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/export.h:153:4: note: in instantiation of function template specialization 'Rcpp::internal::export_indexing__dispatch, unsigned int>' requested here 153 | export_indexing__dispatch( | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/Exporter.h:86:35: note: in instantiation of function template specialization 'Rcpp::internal::export_indexing, unsigned int>' requested here 86 | ::Rcpp::internal::export_indexing( object, result ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:88:29: note: in instantiation of member function 'Rcpp::traits::MatrixExporter, unsigned int>::get' requested here 88 | return exporter.get(); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:151:26: note: in instantiation of function template specialization 'Rcpp::internal::as>' requested here 151 | return internal::as(x, typename traits::r_type_traits::r_category()); | ^ /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloAs.h:590:56: note: in instantiation of function template specialization 'Rcpp::as>' requested here 590 | ArmaMat_InputParameter( SEXP x_ ): m(x_), mat( as(m) ) {} | ^ /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloAs.h:666:5: note: in instantiation of member function 'Rcpp::ArmaMat_InputParameter, arma::Mat &>::ArmaMat_InputParameter' requested here 666 | MAKE_INPUT_PARAMETER(ReferenceInputParameter , arma::Mat, arma::Mat& ) | ^ /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloAs.h:662:27: note: expanded from macro 'MAKE_INPUT_PARAMETER' 662 | INPUT_TYPE( SEXP x) : ArmaMat_InputParameter(x){} \ | ^ RcppExports.cpp:45:56: note: in instantiation of member function 'Rcpp::ReferenceInputParameter>::ReferenceInputParameter' requested here 45 | Rcpp::traits::input_parameter< arma::umat& >::type terminalNodeIDs(terminalNodeIDsSEXP); | ^ In file included from RcppExports.cpp:4: In file included from In file included from distances.cpp:2: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo.h:40: /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo.h:32: /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloSugar.h:45:17: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26: In file included from 45 | /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:167: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/export.h:j[ie] = cp;112:9: warning: | ~ ^~ implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 112 | res[i] = start[i] ; | ~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/export.h:130:4: note: in instantiation of function template specialization 'Rcpp::internal::export_indexing__impl, double>' requested here 130 | export_indexing__impl( | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/export.h:153:4: note: in instantiation of function template specialization 'Rcpp::internal::export_indexing__dispatch, double>' requested here 153 | export_indexing__dispatch( | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/Exporter.h:64:35: note: in instantiation of function template specialization 'Rcpp::internal::export_indexing, double>' requested here 64 | ::Rcpp::internal::export_indexing( object, result ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:88:29: note: in instantiation of member function 'Rcpp::traits::IndexingExporter, double>::get' requested here 88 | return exporter.get(); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:151:26: note: in instantiation of function template specialization 'Rcpp::internal::as>' requested here 151 | return internal::as(x, typename traits::r_type_traits::r_category()); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/InputParameter.h:34:38: note: in instantiation of function template specialization 'Rcpp::as>' requested here 34 | inline operator T() { return as(x) ; } | ^ RcppExports.cpp:120:50: note: in instantiation of member function 'Rcpp::InputParameter>::operator Col' requested here 120 | rcpp_result_gen = Rcpp::wrap(cpp_orderVector(x, sortDirection, k)); | ^ In file included from RcppExports.cpp:4: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo.h:32: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:167: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/export.h:112:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 112 | res[i] = start[i] ; | ~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/export.h:130:4: note: in instantiation of function template specialization 'Rcpp::internal::export_indexing__impl, double>' requested here 130 | export_indexing__impl( | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/export.h:153:4: note: in instantiation of function template specialization 'Rcpp::internal::export_indexing__dispatch, double>' requested here 153 | export_indexing__dispatch( | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/Exporter.h:86:35: note: in instantiation of function template specialization 'Rcpp::internal::export_indexing, double>' requested here 86 | ::Rcpp::internal::export_indexing( object, result ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:88:29: note: in instantiation of member function 'Rcpp::traits::MatrixExporter, double>::get' requested here 88 | return exporter.get(); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:151:26: note: in instantiation of function template specialization 'Rcpp::internal::as>' requested here 151 | return internal::as(x, typename traits::r_type_traits::r_category()); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/InputParameter.h:34:38: note: in instantiation of function template specialization 'Rcpp::as>' requested here 34 | inline operator T() { return as(x) ; } | ^ RcppExports.cpp:134:51: note: in instantiation of member function 'Rcpp::InputParameter>::operator Mat' requested here 134 | rcpp_result_gen = Rcpp::wrap(cpp_weighted_knn(x, query, weights, k)); | ^ In file included from distances.cpp:4: In file included from ./distanceAPI.h:7: In file included from ./distance/distance.h:7: ./distance/../containers/nodeDistContainer.h:43:12: warning: implicit conversion turns floating-point number into integer: 'const double' to 'int' [-Wfloat-conversion] 43 | return this->container_.at(std::make_pair(i, j))[tree]; | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./distance/../containers/nodeDistContainer.h:71:42: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 71 | dists[n].push_back(it1->second[n]); | ~~~ ^ In file included from distances.cpp:4: In file included from ./distanceAPI.h:7: ./distance/distance.h:40:13: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 40 | if (x(i) == y(i)) { | ~ ^ ./distance/distance.h:40:21: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 40 | if (x(i) == y(i)) { | ~ ^ ./distance/distance.h:63:39: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 63 | d = nodeDists_.getValue(x[t], y[t], t); | ~~~~~~~~ ^~~~ ./distance/distance.h:63:33: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 63 | d = nodeDists_.getValue(x[t], y[t], t); | ~~~~~~~~ ^~~~ ./distance/distance.h:65:39: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 65 | d = nodeDists_.getValue(y[t], x[t], t); | ~~~~~~~~ ^~~~ ./distance/distance.h:65:33: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 65 | d = nodeDists_.getValue(y[t], x[t], t); | ~~~~~~~~ ^~~~ ./distance/distance.h:60:17: warning: variable 'nTree' set but not used [-Wunused-but-set-variable] 60 | std::size_t nTree = 0; | ^ ./distance/distance.h:62:13: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 62 | if (x[t] < y[t]) { | ~ ^ ./distance/distance.h:62:20: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 62 | if (x[t] < y[t]) { | ~ ^ ./distance/distance.h:63:45: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 63 | d = nodeDists_.getValue(x[t], y[t], t); | ~~~~~~~~ ^ ./distance/distance.h:63:41: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 63 | d = nodeDists_.getValue(x[t], y[t], t); | ~ ^ ./distance/distance.h:63:35: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 63 | d = nodeDists_.getValue(x[t], y[t], t); | ~ ^ ./distance/distance.h:64:20: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 64 | } else if (x[t] > y[t]) { | ~ ^ ./distance/distance.h:64:27: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 64 | } else if (x[t] > y[t]) { | ~ ^ ./distance/distance.h:65:45: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 65 | d = nodeDists_.getValue(y[t], x[t], t); | ~~~~~~~~ ^ ./distance/distance.h:65:41: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 65 | d = nodeDists_.getValue(y[t], x[t], t); | ~ ^ ./distance/distance.h:65:35: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 65 | d = nodeDists_.getValue(y[t], x[t], t); | ~ ^ In file included from distances.cpp:4: In file included from ./distanceAPI.h:8: In file included from ./parallelFrameworks.h:6: In file included from /Users/ripley/R/Library/RcppParallel/include/RcppParallel.h:6: In file included from /Users/ripley/R/Library/RcppParallel/include/RcppParallel/TinyThread.h:7: /Users/ripley/R/Library/RcppParallel/include/RcppParallel/Common.h:41:11: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 41 | return value; | ~~~~~~ ^~~~~ In file included from order.cpp:3: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo.h:35: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:79: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:31: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/functions.h:63: /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:38:14: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 38 | s /= n; | ~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:44:20: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 44 | s += t/n; | ~^ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:68:14: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 68 | s /= n; | ~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:69:15: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 69 | si /= n; | ~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:77:20: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 77 | s += t/n; | ~^ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:78:22: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 78 | si += ti/n; | ~^ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:104:14: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 104 | s /= n; // no overflow correction needed for logical vectors | ~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:122:14: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 122 | s /= n; | ~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:128:16: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 128 | s += t/n; | ~^ In file included from distanceAPI.cpp:1: In file included from ./distanceAPI.h:5: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo.h:32: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57: In file included from /Users/ripley/R/Library/RcppArmadillo/include/current/armadillo:518: /Users/ripley/R/Library/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:80:38: warning: implicit conversion from 'uword' (aka 'unsigned int') to 'float' may lose precision [-Wimplicit-int-float-conversion] 80 | x_mem[i] = eT(float(start) + i*delta); | ^~ /Users/ripley/R/Library/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:109:10: note: in instantiation of function template specialization 'arma::linspace>' requested here 109 | return linspace(start, end, num); | ^ In file included from order.cpp:3: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo.h:35: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:93: /Users/ripley/R/Library/Rcpp/include/Rcpp/algorithm.h:399:14: warning: implicit conversion from 'std::size_t' (aka 'unsigned long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 399 | s /= n; | ~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/algorithm.h:407:22: warning: implicit conversion from 'std::size_t' (aka 'unsigned long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 407 | s += t / n; | ~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/algorithm.h:426:14: warning: implicit conversion from 'std::size_t' (aka 'unsigned long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 426 | s /= n; | ~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/algorithm.h:435:22: warning: implicit conversion from 'std::size_t' (aka 'unsigned long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 435 | s += t / n; | ~ ^ In file included from distances.cpp:4: In file included from ./distanceAPI.h:8: ./parallelFrameworks.h:39:61: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 39 | output_((2 * i * nrow_ - i * i + 2 * j - 3 * i - 2) / 2) = dist_->calc_distance(input_.row(i), input_.row(j)); | ~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./parallelFrameworks.h:39:115: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 39 | output_((2 * i * nrow_ - i * i + 2 * j - 3 * i - 2) / 2) = dist_->calc_distance(input_.row(i), input_.row(j)); | ~~~ ^ ./parallelFrameworks.h:39:100: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 39 | output_((2 * i * nrow_ - i * i + 2 * j - 3 * i - 2) / 2) = dist_->calc_distance(input_.row(i), input_.row(j)); | ~~~ ^ ./parallelFrameworks.h:65:20: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 65 | output_(i, j) = dist_->calc_distance(inputX_.row(i), inputY_.row(j)); | ~~~~~~~ ^ ./parallelFrameworks.h:65:17: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 65 | output_(i, j) = dist_->calc_distance(inputX_.row(i), inputY_.row(j)); | ~~~~~~~ ^ ./parallelFrameworks.h:65:74: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 65 | output_(i, j) = dist_->calc_distance(inputX_.row(i), inputY_.row(j)); | ~~~ ^ ./parallelFrameworks.h:65:58: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 65 | output_(i, j) = dist_->calc_distance(inputX_.row(i), inputY_.row(j)); | ~~~ ^ ./parallelFrameworks.h:87:15: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 87 | output_(i) = dist_->calc_distance(inputX_.row(i), inputX_.row(i)); | ~~~~~~~ ^ ./parallelFrameworks.h:87:69: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 87 | output_(i) = dist_->calc_distance(inputX_.row(i), inputX_.row(i)); | ~~~ ^ ./parallelFrameworks.h:87:53: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 87 | output_(i) = dist_->calc_distance(inputX_.row(i), inputX_.row(i)); | ~~~ ^ /Users/ripley/R/Library/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:80:38: warning: implicit conversion from 'uword' (aka 'unsigned int') to 'float' may lose precision [-Wimplicit-int-float-conversion] 80 | x_mem[i] = eT(float(start) + i*delta); | ^~ /Users/ripley/R/Library/RcppArmadillo/include/current/armadillo_bits/SpMat_meat.hpp:4431:18: note: in instantiation of function template specialization 'arma::linspace>' requested here 4431 | uvec indices = linspace( 0u, in_rows*in_cols-1, new_n_nonzero ); | ^ /Users/ripley/R/Library/RcppArmadillo/include/current/armadillo_bits/fn_sprandn.hpp:83:7: note: in instantiation of member function 'arma::SpMat::sprandn' requested here 83 | out.sprandn(n_rows, n_cols, density); | ^ In file included from distances.cpp:4: In file included from ./distanceAPI.h:10: ./ranger/rangerForest.h:39:21: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32] 39 | rfDist.setNTree(nTrees); | ~~~~~~~~ ^~~~~~ ./ranger/rangerForest.h:42:25: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'key_type' (aka 'int') [-Wshorten-64-to-32] 42 | hashVec hv = hp_[t+1]; | ~~~ ~^~ ./ranger/rangerForest.h:47:21: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 47 | d = this->terminalNodeDistance(it1->second, it2->second); | ~ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ranger/rangerForest.h:48:51: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32] 48 | rfDist.addValue(it1->first, it2->first, t, d); | ~~~~~~~~ ^ ./ranger/rangerForest.h:60:33: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 60 | arma::uvec trIn file included from order.cpp:3: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo.h:40: /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloSugar.h:45:17: warning: eeIndex(nTrees + 1); | ~~~~~~~~~ ~~~~~~~^~~ ./ranger/rangerForest.h:65:38: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] 45 | 65 | if (tmpTree != nodeIDs_.j[ie] col(0)(i)) { | ~~~~~~~~ ^ = cp; | ~ ^~ ./ranger/rangerForest.h:66:19: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 66 | treeIndex(tmpTree) = i; | ~~~~~~~~~ ^~~~~~~ ./ranger/rangerForest.h:66:30: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 66 | treeIndex(tmpTree) = i; | ~ ^ ./ranger/rangerForest.h:70:15: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 70 | treeIndex(nTrees) = nrow; | ~~~~~~~~~ ^~~~~~ ./ranger/rangerForest.h:70:25: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 70 | treeIndex(nTrees)In file included from order.cpp:4: In file included from /Users/ripley/R/Library/RcppParallel/include/RcppParallel.h:6: In file included from /Users/ripley/R/Library/RcppParallel/include/RcppParallel/TinyThread.h:7: /Users/ripley/R/Library/RcppParallel/include/RcppParallel/Common.h:41:11: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] = nrow; | ~ ^~~~ 41 | return value; | ~~~~~~ ^~~~~ ./ranger/rangerForest.h:79:37: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 79 | for (std::size_t i=treeIndex_(t);i(Rcpp::wrap(ind)); | ~~~~~~~~~~~~~~~~~ ~~^~~ ./ranger/rangerForest.h:94:37: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 94 | for (std::size_t i=treeIndex_(t);ipathToRoot(nodes[t + 1], tn + 1); | ~~~~~ ~~^~~ ./ranger/rangerForest.h:121:13: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'key_type' (aka 'int') [-Wshorten-64-to-32] 121 | hp_[t + 1] = hv; | ~~~ ~~^~~ ./ranger/rangerForest.h:146:19: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 146 | if (path1(i) == path2(j)) { | ~~~~~ ^ ./ranger/rangerForest.h:146:31: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 146 | if (path1(i) == path2(j)) { | ~~~~~ ^ In file included from distances.cpp:2: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo.h:32: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57: In file included from /Users/ripley/R/Library/RcppArmadillo/include/current/armadillo:518: /Users/ripley/R/Library/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:80:38: warning: implicit conversion from 'uword' (aka 'unsigned int') to 'float' may lose precision [-Wimplicit-int-float-conversion] 80 | x_mem[i] = eT(float(start) + i*delta); | ^~ /Users/ripley/R/Library/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:109:10: note: in instantiation of function template specialization 'arma::linspace>' requested here 109 | return linspace(start, end, num); | ^ order.cpp:26:39: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 26 | order = arma::sort_index(x_.col(i), "ascend"); | ~~~ ^ order.cpp:28:20: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 28 | output_(l, i) = order(l) + 1; | ~~~~~~~ ^ order.cpp:28:17: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 28 | output_(l, i) = order(l) + 1; | ~~~~~~~ ^ order.cpp:28:31: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 28 | output_(l, i) = order(l) + 1; | ~~~~~ ^ In file included from weightedKNN.cpp:2: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo.h:35: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:79: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:31: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/functions.h:63: /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:38:14: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 38 | s /= n; | ~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:44:20: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 44 | s += t/n; | ~^ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:68:14: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 68 | s /= n; | ~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:69:15: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 69 | si /= n; | ~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:77:20: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 77 | s += t/n; | ~^ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:78:22: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 78 | si += ti/n; | ~^ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:104:14: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 104 | s /= n; // no overflow correction needed for logical vectors | ~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:122:14: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 122 | s /= n; | ~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/mean.h:128:16: warning: implicit conversion from 'R_xlen_t' (aka 'long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 128 | s += t/n; | ~^ In file included from order.cpp:3: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo.h:32: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57: In file included from /Users/ripley/R/Library/RcppArmadillo/include/current/armadillo:518: /Users/ripley/R/Library/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:80:38: warning: implicit conversion from 'uword' (aka 'unsigned int') to 'float' may lose precision [-Wimplicit-int-float-conversion] 80 | x_mem[i] = eT(float(start) + i*delta); | ^~ /Users/ripley/R/Library/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:109:10: note: in instantiation of function template specialization 'arma::linspace>' requested here 109 | return linspace(start, end, num); | ^ /Users/ripley/R/Library/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:80:38: warning: implicit conversion from 'uword' (aka 'unsigned int') to 'float' may lose precision [-Wimplicit-int-float-conversion] 80 | x_mem[i] = eT(float(start) + i*delta); | ^~ /Users/ripley/R/Library/RcppArmadillo/include/current/armadillo_bits/SpMat_meat.hpp:4431:18: note: in instantiation of function template specialization 'arma::linspace>' requested here 4431 | uvec indices = linspace( 0u, in_rows*in_cols-1, new_n_nonzero ); | ^ /Users/ripley/R/Library/RcppArmadillo/include/current/armadillo_bits/fn_sprandn.hpp:83:7: note: in instantiation of member function 'arma::SpMat::sprandn' requested here 83 | out.sprandn(n_rows, n_cols, density); | ^ In file included from weightedKNN.cpp:2: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo.h:35: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:93: /Users/ripley/R/Library/Rcpp/include/Rcpp/algorithm.h:399:14: warning: implicit conversion from 'std::size_t' (aka 'unsigned long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 399 | s /= n; | ~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/algorithm.h:407:22: warning: implicit conversion from 'std::size_t' (aka 'unsigned long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 407 | s += t / n; | ~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/algorithm.h:426:14: warning: implicit conversion from 'std::size_t' (aka 'unsigned long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 426 | s /= n; | ~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/algorithm.h:435:22: warning: implicit conversion from 'std::size_t' (aka 'unsigned long') to 'long double' may lose precision [-Wimplicit-int-float-conversion] 435 | s += t / n; | ~ ^ In file included from distanceAPI.cpp:1: In file included from ./distanceAPI.h:8: In file included from ./parallelFrameworks.h:6: In file included from /Users/ripley/R/Library/RcppParallel/include/RcppParallel.h:24: In file included from /Users/ripley/R/Library/RcppParallel/include/RcppParallel/TBB.h:11: In file included from /Users/ripley/R/Library/RcppParallel/include/tbb/concurrent_unordered_set.h:23: In file included from /Users/ripley/R/Library/RcppParallel/include/tbb/internal/_concurrent_unordered_impl.h:37: /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile long long' is deprecated [-Wdeprecated-volatile] 226 | converter(value_type a_value) : value(a_value) {} | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl::converter' requested here 255 | static typename converter::bits_type & to_bits_ref(value_t& value){ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile long long] 297 | __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) ) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:434:1: note: in instantiation of member function 'tbb::internal::atomic_impl::operator long long' requested here 434 | __TBB_DECL_ATOMIC(__TBB_LONG_LONG) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC' 422 | atomic& operator=( const atomic& rhs ) {store_with_release(rhs); return *this;} \ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile unsigned long long' is deprecated [-Wdeprecated-volatile] 226 | converter(value_type a_value) : value(a_value) {} | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl::converter' requested here 255 | static typename converter::bits_type & to_bits_ref(value_t& value){ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile unsigned long long] 297 | __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) ) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:435:1: note: in instantiation of member function 'tbb::internal::atomic_impl::operator unsigned long long' requested here 435 | __TBB_DECL_ATOMIC(unsigned __TBB_LONG_LONG) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC' 422 | atomic& operator=( const atomic& rhs ) {store_with_release(rhs); return *this;} \ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile long' is deprecated [-Wdeprecated-volatile] 226 | converter(value_type a_value) : value(a_value) {} | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl::converter' requested here 255 | static typename converter::bits_type & to_bits_ref(value_t& value){ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile long] 297 | __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) ) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:439:1: note: in instantiation of member function 'tbb::internal::atomic_impl::operator long' requested here 439 | __TBB_DECL_ATOMIC(long) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC' 422 | atomic& operator=( const atomic& rhs ) {store_with_release(rhs); return *this;} \ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile unsigned long' is deprecated [-Wdeprecated-volatile] 226 | converter(value_type a_value) : value(a_value) {} | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl::converter' requested here 255 | static typename converter::bits_type & to_bits_ref(value_t& value){ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile unsigned long] 297 | __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) ) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:440:1: note: in instantiation of member function 'tbb::internal::atomic_impl::operator unsigned long' requested here 440 | __TBB_DECL_ATOMIC(unsigned long) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC' 422 | atomic& operator=( const atomic& rhs ) {store_with_release(rhs); return *this;} \ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile unsigned int' is deprecated [-Wdeprecated-volatile] 226 | converter(value_type a_value) : value(a_value) {} | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl::converter' requested here 255 | static typename converter::bits_type & to_bits_ref(value_t& value){ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile unsigned int] 297 | __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) ) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:466:1: note: in instantiation of member function 'tbb::internal::atomic_impl::operator unsigned int' requested here 466 | __TBB_DECL_ATOMIC(unsigned) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC' 422 | atomic& operator=( const atomic& rhs ) {store_with_release(rhs); return *this;} \ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile int' is deprecated [-Wdeprecated-volatile] 226 | converter(value_type a_value) : value(a_value) {} | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl::converter' requested here 255 | static typename converter::bits_type & to_bits_ref(value_t& value){ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile int] 297 | __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) ) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:467:1: note: in instantiation of member function 'tbb::internal::atomic_impl::operator int' requested here 467 | __TBB_DECL_ATOMIC(int) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC' 422 | atomic& operator=( const atomic& rhs ) {store_with_release(rhs); return *this;} \ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile unsigned short' is deprecated [-Wdeprecated-volatile] 226 | converter(value_type a_value) : value(a_value) {} | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl::converter' requested here 255 | static typename converter::bits_type & to_bits_ref(value_t& value){ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile unsigned short] 297 | __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) ) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:470:1: note: in instantiation of member function 'tbb::internal::atomic_impl::operator unsigned short' requested here 470 | __TBB_DECL_ATOMIC(unsigned short) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC' 422 | atomic& operator=( const atomic& rhs ) {store_with_release(rhs); return *this;} \ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile short' is deprecated [-Wdeprecated-volatile] 226 | converter(value_type a_value) : value(a_value) {} | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl::converter' requested here 255 | static typename converter::bits_type & to_bits_ref(value_t& value){ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile short] 297 | __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) ) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:471:1: note: in instantiation of member function 'tbb::internal::atomic_impl::operator short' requested here 471 | __TBB_DECL_ATOMIC(short) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC' 422 | atomic& operator=( const atomic& rhs ) {store_with_release(rhs); return *this;} \ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile char' is deprecated [-Wdeprecated-volatile] 226 | converter(value_type a_value) : value(a_value) {} | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl::converter' requested here 255 | static typename converter::bits_type & to_bits_ref(value_t& value){ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile char] 297 | __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) ) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:472:1: note: in instantiation of member function 'tbb::internal::atomic_impl::operator char' requested here 472 | __TBB_DECL_ATOMIC(char) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC' 422 | atomic& operator=( const atomic& rhs ) {store_with_release(rhs); return *this;} \ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile signed char' is deprecated [-Wdeprecated-volatile] 226 | converter(value_type a_value) : value(a_value) {} | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl::converter' requested here 255 | static typename converter::bits_type & to_bits_ref(value_t& value){ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile signed char] 297 | __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) ) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:473:1: note: in instantiation of member function 'tbb::internal::atomic_impl::operator signed char' requested here 473 | __TBB_DECL_ATOMIC(signed char) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC' 422 | atomic& operator=( const atomic& rhs ) {store_with_release(rhs); return *this;} \ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile unsigned char' is deprecated [-Wdeprecated-volatile] 226 | converter(value_type a_value) : value(a_value) {} | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl::converter' requested here 255 | static typename converter::bits_type & to_bits_ref(value_t& value){ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile unsigned char] 297 | __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) ) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:474:1: note: in instantiation of member function 'tbb::internal::atomic_impl::operator unsigned char' requested here 474 | __TBB_DECL_ATOMIC(unsigned char) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC' 422 | atomic& operator=( const atomic& rhs ) {store_with_release(rhs); return *this;} \ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile wchar_t' is deprecated [-Wdeprecated-volatile] 226 | converter(value_type a_value) : value(a_value) {} | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl::converter' requested here 255 | static typename converter::bits_type & to_bits_ref(value_t& value){ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile wchar_t] 297 | __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) ) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:477:1: note: in instantiation of member function 'tbb::internal::atomic_impl::operator wchar_t' requested here 477 | __TBB_DECL_ATOMIC(wchar_t) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC' 422 | atomic& operator=( const atomic& rhs ) {store_with_release(rhs); return *this;} \ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'void *const volatile' is deprecated [-Wdeprecated-volatile] 226 | converter(value_type a_value) : value(a_value) {} | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl::converter' requested here 255 | static typename converter::bits_type & to_bits_ref(value_t& value){ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = void *const volatile] 297 | __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) ) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:509:34: note: in instantiation of member function 'tbb::internal::atomic_impl::operator void *' requested here 509 | this->store_with_release(rhs); return *this; | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile bool' is deprecated [-Wdeprecated-volatile] 226 | converter(value_type a_value) : value(a_value) {} | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl::converter' requested here 255 | static typename converter::bits_type & to_bits_ref(value_t& value){ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile bool] 297 | __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) ) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/partitioner.h:140:16: note: in instantiation of member function 'tbb::internal::atomic_impl::operator bool' requested here 140 | return static_cast(t.parent())->my_child_stolen; | ^ In file included from distanceAPI.cpp:1: In file included from ./distanceAPI.h:8: In file included from ./parallelFrameworks.h:6: In file included from /Users/ripley/R/Library/RcppParallel/include/RcppParallel.h:6: In file included from /Users/ripley/R/Library/RcppParallel/include/RcppParallel/TinyThread.h:7: /Users/ripley/R/Library/RcppParallel/include/RcppParallel/Common.h:22:14: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 22 | return requestedValue; | ~~~~~~ ^~~~~~~~~~~~~~ /Users/ripley/R/Library/RcppParallel/include/RcppParallel.h:40:16: note: in instantiation of function template specialization 'RcppParallel::resolveValue' requested here 40 | grainSize = resolveValue("RCPP_PARALLEL_GRAIN_SIZE", grainSize, std::size_t(1)); | ^ In file included from distanceAPI.cpp:1: In file included from ./distanceAPI.h:8: In file included from ./parallelFrameworks.h:6: In file included from /Users/ripley/R/Library/RcppParallel/include/RcppParallel.h:6: In file included from /Users/ripley/R/Library/RcppParallel/include/RcppParallel/TinyThread.h:7: /Users/ripley/R/Library/RcppParallel/include/RcppParallel/Common.h:28:14: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 28 | return defaultValue; | ~~~~~~ ^~~~~~~~~~~~ /Users/ripley/R/Library/RcppParallel/include/RcppParallel/Common.h:38:14: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 38 | return defaultValue; | ~~~~~~ ^~~~~~~~~~~~ /Users/ripley/R/Library/RcppParallel/include/RcppParallel/Common.h:41:11: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 41 | return value; | ~~~~~~ ^~~~~ /Users/ripley/R/Library/RcppParallel/include/RcppParallel/Common.h:41:11: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 41 | return value; | ~~~~~~ ^~~~~ /Users/ripley/R/Library/RcppParallel/include/RcppParallel.h:41:17: note: in instantiation of function template specialization 'RcppParallel::resolveValue' requested here 41 | numThreads = resolveValue("RCPP_PARALLEL_NUM_THREADS", numThreads, -1); | ^ In file included from weightedKNN.cpp:2: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo.h:40: /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloSugar.h:45:17: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] 45 | j[ie] = cp; | ~ ^~ weightedKNN.cpp:13:29: warning: implicit conversion loses integer precision: 'const std::size_t' (aka 'const unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 13 | arma::mat retDist(nQuery, k); | ~~~~~~~ ^ weightedKNN.cpp:13:21: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 13 | arma::mat retDist(nQuery, k); | ~~~~~~~ ^~~~~~ weightedKNN.cpp:14:31: warning: implicit conversion loses integer precision: 'const std::size_t' (aka 'const unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 14 | arma::umat retOrder(nQuery, k); | ~~~~~~~~ ^ weightedKNN.cpp:14:23: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 14 | arma::umat retOrder(nQu/Users/ripley/R/Library/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:80:38: warning: implicit conversion from 'uword' (aka 'unsigned int') to 'float' may lose precision [-Wimplicit-int-float-conversion] ery 80 | x_mem[i] = eT(float(start) + i*delta); | ^~ , k); | ~~~~~~~~ ^~~~~~ /Users/ripley/R/Library/RcppArmadillo/include/current/armadillo_bits/SpMat_meat.hpp:4431:18: note: in instantiation of function template specialization 'arma::linspace>' requested here 4431 | weightedKNN.cpp:23:65: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] uvec indices = linspace( 0u, in_rows*in_cols-1 23 | tmpDist = tmpDist + abs(weights(j) * (x.col(j) - query(i, j))); | ~~~~~ ^ , new_n_nonzero ); | ^ weightedKNN.cpp:23:62: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] /Users/ripley/R/Library/RcppArmadillo/include/current/armadillo_bits/fn_sprandn.hpp:83:7 23 | : note: in instantiation of member function 'arma::SpMat::sprandn' requested here tmpDist = tmpDist + abs(weights(j) * (x.col(j) - query(i, j))); | ~~~~~ ^ 83 | out.sprandn(n_rows, n_cols, density); | ^ weightedKNN.cpp:23:51: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 23 | tmpDist = tmpDist + abs(weights(j) * (x.col(j) - query(i, j))); | ~~~ ^ weightedKNN.cpp:23:39: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 23 | tmpDist = tmpDist + abs(weights(j) * (x.col(j) - query(i, j))); | ~~~~~~~ ^ weightedKNN.cpp:29:18: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 29 | retDist(i, l) = tmpDist(order(l)); | ~~~~~~~ ^ weightedKNN.cpp:29:15: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 29 | retDist(i, l) = tmpDist(order(l)); | ~~~~~~~ ^ weightedKNN.cpp:29:37: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 29 | retDist(i, l) = tmpDist(order(l)); | ~~~~~ ^ weightedKNN.cpp:30:19: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 30 | retOrder(i, l) = order(l) + 1; | ~~~~~~~~ ^ weightedKNN.cpp:30:16: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 30 | retOrder(i, l) = order(l) + 1; | ~~~~~~~~ ^ weightedKNN.cpp:30:30: warning: implicit conversion loses integer precision: 'std::size_t' (aka 'unsigned long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 30 | retOrder(i, l) = order(l) + 1; | ~~~~~ ^ In file included from distanceAPI.cpp:1: In file included from ./distanceAPI.h:5: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo.h:32: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:167: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/export.h:124:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 124 | res[i] = caster(start[i]) ; | ~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/export.h:130:4: note: in instantiation of function template specialization 'Rcpp::internal::export_indexing__impl, unsigned int>' requested here 130 | export_indexing__impl( | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/export.h:153:4: note: in instantiation of function template specialization 'Rcpp::internal::export_indexing__dispatch, unsigned int>' requested here 153 | export_indexing__dispatch( | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/Exporter.h:64:35: note: in instantiation of function template specialization 'Rcpp::internal::export_indexing, unsigned int>' requested here 64 | ::Rcpp::internal::export_indexing( object, result ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:88:29: note: in instantiation of member function 'Rcpp::traits::IndexingExporter, unsigned int>::get' requested here 88 | return exporter.get(); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:151:26: note: in instantiation of function template specialization 'Rcpp::internal::as>' requested here 151 | return internal::as(x, typename traits::r_type_traits::r_category()); | ^ ./ranger/rangerForest.h:84:40: note: in instantiation of function template specialization 'Rcpp::as>' requested here 84 | treeTerminalNodes[t + 1] = Rcpp::as(Rcpp::wrap(ind)); | ^ In file included from distanceAPI.cpp:1: In file included from ./distanceAPI.h:5: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo.h:32: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:30: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/r/headers.h:67: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/platform/compiler.h:39: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/unordered_map:595: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__hash_table:24: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/allocator_traits.h:16: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/construct_at.h:61:3: warning: destructor called on non-final 'rangerProximity' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 61 | __loc->~_Tp(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/allocator_traits.h:313:10: note: in instantiation of function template specialization 'std::__destroy_at' requested here 313 | std::__destroy_at(__p); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/shared_ptr.h:181:33: note: in instantiation of function template specialization 'std::allocator_traits>::destroy' requested here 181 | allocator_traits<_TpAlloc>::destroy(__tmp, __get_elem()); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/shared_ptr.h:184:78: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__on_zero_shared_impl, 0>' requested here 184 | _LIBCPP_HIDE_FROM_ABI_VIRTUAL void __on_zero_shared() _NOEXCEPT override { __on_zero_shared_impl(); } | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/shared_ptr.h:159:34: note: in instantiation of member function 'std::__shared_ptr_emplace>::__on_zero_shared' requested here 159 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __storage_(std::move(__a)) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/shared_ptr.h:736:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace>::__shared_ptr_emplace, 0>' requested here 736 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__a, std::forward<_Args>(__args)...); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/shared_ptr.h:744:15: In file included from weightedKNN.cpp:2: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo.h:32: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57: In file included from /Users/ripley/R/Library/RcppArmadillo/include/current/armadillonote: in instantiation of function template specialization 'std::allocate_shared, rangerProximity &, 0>' requested here :518: /Users/ripley/R/Library/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:80 744 | r:38: warning: implicit conversion from 'uword' (aka 'unsigned int') to 'float' may lose precision [-Wimplicit-int-float-conversion] etur 80 | x_n std::allocate_shared<_Tp>(allocator >(), stdstart) + i*delta); ::forward<_ | ^~ Ar/Users/ripley/R/Library/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:109:10: note: in instantiation of function template specialization 'arma::linspace>' requested here 109 | gs>(_ return linspa_args)...); | ^ce(start, e distanceAPI.cpp:73:16: note: in instantiation of function template specialization 'std::make_shared' requested here nd, num); | ^ 73 | dist_ = std::make_shared(dist); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/construct_at.h:61:11: note: qualify call to silence this warning 61 | __loc->~_Tp(); | ^ In file included from distances.cpp:4: In file included from ./distanceAPI.h:8: In file included from ./parallelFrameworks.h:6: In file included from /Users/ripley/R/Library/RcppParallel/include/RcppParallel.h:24: In file included from /Users/ripley/R/Library/RcppParallel/include/RcppParallel/TBB.h:11: In file included from /Users/ripley/R/Library/RcppParallel/include/tbb/concurrent_unordered_set.h:23: In file included from /Users/ripley/R/Library/RcppParallel/include/tbb/internal/_concurrent_unordered_impl.h:37: /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile long long' is deprecated [-Wdeprecated-volatile] 226 | converter(value_type a_value) : value(a_value) {} | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl::converter' requested here 255 | static typename converter::bits_type & to_bits_ref(value_t& value){ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile long long] 297 | __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) ) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:434:1: note: in instantiation of member function 'tbb::internal::atomic_impl::operator long long' requested here 434 | __TBB_DECL_ATOMIC(__TBB_LONG_LONG) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC' 422 | atomic& operator=( const atomic& rhs ) {store_with_release(rhs); return *this;} \ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile unsigned long long' is deprecated [-Wdeprecated-volatile] 226 | converter(value_type a_value) : value(a_value) {} | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl::converter' requested here 255 | static typename converter::bits_type & to_bits_ref(value_t& value){ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile unsigned long long] 297 | __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) ) | ^ /Users/ripley/R/Library/RcppArmadillo/include/current/armadillo_bits/fn_misc.hpp:80:38:/Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:435:1: warning: implicit conversion from 'uword' (aka 'unsigned int') to 'float' may lose precision [-Wimplicit-int-float-conversion] note: in instantiation of member function 'tbb::internal::atomic_impl::operator unsigned long long' requested here 80 | x_mem[i] = eT(float(start) + i*delta); | ^~ 435 | __TBB_DECL_ATOMIC(unsigned __TBB_LONG_LONG) | ^ /Users/ripley/R/Library/RcppArmadillo/include/current/armadillo_bits/SpMat_meat.hpp:4431:18: note: in instantiation of function template specialization 'arma::linspace>' requested here /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC' 4431 | uvec indices = linspace( 0u, in_rows*in_cols-1, new_n_nonzero ); | ^ 422 | atomic& operator=( const atomic& rhs ) {store_with_release(rhs); return *this;} \ | ^ /Users/ripley/R/Library/RcppArmadillo/include/current/armadillo_bits/fn_sprandn.hpp:83:7: note: in instantiation of member function 'arma::SpMat::sprandn' requested here 83 | out.sprandn(n_rows, n_cols, density); | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile long' is deprecated [-Wdeprecated-volatile] 226 | converter(value_type a_value) : value(a_value) {} | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl::converter' requested here 255 | static typename converter::bits_type & to_bits_ref(value_t& value){ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile long] 297 | __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) ) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:439:1: note: in instantiation of member function 'tbb::internal::atomic_impl::operator long' requested here 439 | __TBB_DECL_ATOMIC(long) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC' 422 | atomic& operator=( const atomic& rhs ) {store_with_release(rhs); return *this;} \ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile unsigned long' is deprecated [-Wdeprecated-volatile] 226 | converter(value_type a_value) : value(a_value) {} | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl::converter' requested here 255 | static typename converter::bits_type & to_bits_ref(value_t& value){ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile unsigned long] 297 | __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) ) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:440:1: note: in instantiation of member function 'tbb::internal::atomic_impl::operator unsigned long' requested here 440 | __TBB_DECL_ATOMIC(unsigned long) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC' 422 | atomic& operator=( const atomic& rhs ) {store_with_release(rhs); return *this;} \ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile unsigned int' is deprecated [-Wdeprecated-volatile] 226 | converter(value_type a_value) : value(a_value) {} | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl::converter' requested here 255 | static typename converter::bits_type & to_bits_ref(value_t& value){ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile unsigned int] 297 | __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) ) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:466:1: note: in instantiation of member function 'tbb::internal::atomic_impl::operator unsigned int' requested here 466 | __TBB_DECL_ATOMIC(unsigned) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC' 422 | atomic& operator=( const atomic& rhs ) {store_with_release(rhs); return *this;} \ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile int' is deprecated [-Wdeprecated-volatile] 226 | converter(value_type a_value) : value(a_value) {} | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl::converter' requested here 255 | static typename converter::bits_type & to_bits_ref(value_t& value){ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile int] 297 | __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) ) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:467:1: note: in instantiation of member function 'tbb::internal::atomic_impl::operator int' requested here 467 | __TBB_DECL_ATOMIC(int) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC' 422 | atomic& operator=( const atomic& rhs ) {store_with_release(rhs); return *this;} \ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile unsigned short' is deprecated [-Wdeprecated-volatile] 226 | converter(value_type a_value) : value(a_value) {} | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl::converter' requested here 255 | static typename converter::bits_type & to_bits_ref(value_t& value){ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile unsigned short] 297 | __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) ) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:470:1: note: in instantiation of member function 'tbb::internal::atomic_impl::operator unsigned short' requested here 470 | __TBB_DECL_ATOMIC(unsigned short) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC' 422 | atomic& operator=( const atomic& rhs ) {store_with_release(rhs); return *this;} \ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile short' is deprecated [-Wdeprecated-volatile] 226 | converter(value_type a_value) : value(a_value) {} | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl::converter' requested here 255 | static typename converter::bits_type & to_bits_ref(value_t& value){ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile short] 297 | __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) ) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:471:1: note: in instantiation of member function 'tbb::internal::atomic_impl::operator short' requested here 471 | __TBB_DECL_ATOMIC(short) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC' 422 | atomic& operator=( const atomic& rhs ) {store_with_release(rhs); return *this;} \ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile char' is deprecated [-Wdeprecated-volatile] 226 | converter(value_type a_value) : value(a_value) {} | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl::converter' requested here 255 | static typename converter::bits_type & to_bits_ref(value_t& value){ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile char] 297 | __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) ) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:472:1: note: in instantiation of member function 'tbb::internal::atomic_impl::operator char' requested here 472 | __TBB_DECL_ATOMIC(char) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC' 422 | atomic& operator=( const atomic& rhs ) {store_with_release(rhs); return *this;} \ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile signed char' is deprecated [-Wdeprecated-volatile] 226 | converter(value_type a_value) : value(a_value) {} | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl::converter' requested here 255 | static typename converter::bits_type & to_bits_ref(value_t& value){ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile signed char] 297 | __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) ) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:473:1: note: in instantiation of member function 'tbb::internal::atomic_impl::operator signed char' requested here 473 | __TBB_DECL_ATOMIC(signed char) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC' 422 | atomic& operator=( const atomic& rhs ) {store_with_release(rhs); return *this;} \ | ^ In file included from order.cpp:4: In file included from /Users/ripley/R/Library/RcppParallel/include/RcppParallel.h:24: In file included from /Users/ripley/R/Library/RcppParallel/include/RcppParallel/TBB.h:11: In file included from /Users/ripley/R/Library/RcppParallel/include/tbb/concurrent_unordered_set.h:23: In file included from /Users/ripley/R/Library/RcppParallel/include/tbb/internal/_concurrent_unordered_impl.h:37: /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile long long' is deprecated [-Wdeprecated-volatile] 226 | converter(value_type a_value) : value(a_value) {} | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile unsigned char' is deprecated [-Wdeprecated-volatile] 226 | /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl::converter' requested here 255 | static typename conve convrter::bits_type & to_berterits_r(valuef(vae_typlue_te a_val& value){ | ^ ue) :/Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile long long] valu297 | e(a_value) {} | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:255:21: _ note: in instantiation of template class 'tbb::internal::atomic_impl::converter' requested here _TBB_lo 255 | static typename converter::bits_type & to_bits_ref(value_t& value){ | ^ ad_with_acquire( to_bits_ref(my_storage.my_value) ) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:434:1: note: in instantiation of member function 'tbb::internal::atomic_impl::operator long long' requested here /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:297:42: 434 | __T note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile unsigned char] BB_DE 297 | __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) ) | ^ CL_ATO/Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:474:1MIC(__TBB_LONG_LONG) | ^ : note: in instantiation of member function 'tbb::internal::atomic_impl::operator unsigned char' requested here /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC' 422 474 | __T | aBB_DECL_ATOMIC(unsigned char) | ^ tomic& operator=( const atomic& rhs ) {store_with_release(rhs); return *this;} \ | ^ note: expanded from macro '__TBB_DECL_ATOMIC' 422 | atomic& operator=( const atomic& rhs ) {store_with_release(rhs); return *this;} \ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile unsigned long long' is deprecated [-Wdeprecated-volatile] 226 | converter(value_type a_value) : value(a_value) {} | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:255:/Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile wchar_t' is deprecated [-Wdeprecated-volatile] 226 | converter(value_type a_value) : value(a_value) {} | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl::converter' requested here 255 | static typename converter::bits_type & to_bits_ref(va21: note: in instantiation of template class 'tbb::internal::atomic_impl::converter' requested herelue_t& value){ | ^ 255 | static typename converter::b: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile wchar_t] its_ty 297 | pe & __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) ) | ^ to_bi/Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:477:1: note: in instantiation of member function 'tbb::internal::atomic_impl::operator wchar_t' requested here 477 | __TBB_DECL_ATOMIC(wchar_t) | ^ ts_re/Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:422:78f(value_t& value){ | ^ : note: expanded from macro '__TBB_DECL_ATOMIC' /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:297:42 422 | : note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile unsigned long long] atomic& operator=( const atomic& rhs ) {store_with_release(rhs); return *this;} \ | ^ 297 | __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) ) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:435:1: note: in instantiation of member function 'tbb::internal::atomic_impl::operator unsigned long long' requested here 435 | __TBB_DECL_ATOMIC(unsigned __TBB_LONG_LONG) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'void *const volatile' is deprecated [-Wdeprecated-volatile] /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:422:78: 226 | converter(value_type a_value) : value(a_value) {} | ^ note: expanded from macro '__TBB_DECL_ATOMIC' 422 | atomic& operator=( const atomic& rhs ) {store_with_release(rhs); return *this;} \ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl::converter' requested here 255 | static typename converter::bits_type & to_bits_ref(value_t& value){ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = void *const volatile] 297 | __TBB_load_with_acquire( to_bits_ref(my/Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:226:18_storage.my_value) ) | ^ : warning: volatile-qualified parameter type 'const volatile long' is deprecated [-Wdeprecated-volatile] /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:509:34 226 | converter(value_type a_value): note: in instantiation of member function 'tbb::internal::atomic_impl::operator void *' requested here : va 509 | this->store_with_release(rhlue(a_value) {} | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl::converter' requested here 255 | static typename converter::bits_type & to_bits_res); return *this; | ^ f(value_t& value){ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile long] 297 | __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) ) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:439:1: note: in instantiation of member function 'tbb::internal::atomic_impl::operator long' requested here 439 | __TBB_DECL_ATOMIC(long) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC' 422 | atomic& operator=( const atomic& rhs ) {store_with_release(rhs); return *this;} \ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile bool' is deprecated [-Wdeprecated-volatile] 226 | converter(value_type a_value)/Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile unsigned long' is deprecated [-Wdeprecated-volatile] : value(a_value) {} | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl::converter' requested here 226 | 255 | sta convtic terterypena(value_type a_value) : value(a_value) {} | ^ me converter::bits_type & to_bits_ref(value_t& value){ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile bool] 297 | __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) ) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/partitioner.h:140:16: note: in instantiation of member function 'tbb::internal::atomic_impl::operator bool' requested here /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl::converter' requested here 140 | return static_cast(t.parent())->my_child_stolen; | ^ 255 | static typename converter::bits_type & to_bits_ref(value_t& value){ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile unsigned long] 297 | __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) ) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:440:1: note: in instantiation of member function 'tbb::internal::atomic_impl::operator unsigned long' requested here 440 | __TBB_DECL_ATOMIC(unsigned long) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC' 422 | atomic& operator=( const atomic& rhs ) {store_with_release(rhs); return *this;} \ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile unsigned int' is deprecated [-Wdeprecated-volatile] 226 | converter(value_type a_value) : value(a_value) {} | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl::converter' requested here 255 | static typename converter::bits_type & to_bits_ref(value_t& value){ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile unsigned int] 297 | __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) ) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:466:1: note: in instantiation of member function 'tbb::internal::atomic_impl::operator unsigned int' requested here 466 | __TBB_DECL_ATOMIC(unsigned) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC' 422 | atomic& operator=( const atomic& rhs ) {store_with_release(rhs); return *this;} \ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile int' is deprecated [-Wdeprecated-volatile] 226 | converter(value_type a_value) : value(a_value) {} | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl::converter' requested here 255 | static typename converter::bits_type & to_bits_ref(value_t& value){ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile int] 297 | __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) ) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:467:1: note: in instantiation of member function 'tbb::internal::atomic_impl::operator int' requested here 467 | __TBB_DECL_ATOMIC(int) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC' 422 | atomic& operator=( const atomic& rhs ) {store_with_release(rhs); return *this;} \ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile unsigned short' is deprecated [-Wdeprecated-volatile] 226 | converter(value_type a_value) : value(a_value) {} | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl::converter' requested here 255 | static typename converter:::6: In file included from /Users/ripley/R/Library/RcppParallel/include/RcppParallel.h:bits_6: In file included from /Users/ripley/R/Library/RcppParallel/include/RcppParallel/TinyThread.h:7: /Users/ripley/R/Library/RcppParallel/include/RcppParallel/Common.h:22:14: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] type 22 | & to_bits_ref(value r_t& veturn requealue){stedValue; | ~~~~~~ ^~~~~~~~~~~~~~ | ^ /Users/ripley/R/Library/RcppParallel/include/RcppParallel.h:40:16: note: in instantiation of function template specialization 'RcppParallel::resolveValue' requested here /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:297:42 40 | : note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile unsigned short] grai 297 | nSize = resolveValue("RCPP_PARALLEL_GRAIN_SIZE", grainSize, std::size_t(1)); | ^ In file included from distances.cpp:4: In file included from ./distanceAPI.h:8: In file included from ./parallelFrameworks.h:6: In file included from /Users/ripley/R/Library/RcppParallel/include/RcppParallel.h:6: In file included from /Users/ripley/R/Library/RcppParallel/include/RcppParallel/TinyThread.h:7: /Users/ripley/R/Library/RcppParallel/include/RcppParallel/Common.h:28:14: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] __TBB_load_w 28 | return defaith_aultVacquirlue; e( to | ~~~~~~ ^~~~~~~~~~~~ _bits_ref(my_storage.my_value) ) | ^ /Users/ripley/R/Library/RcppParallel/include/RcppParallel/Common.h:38:14: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 38 | return defaultValue; | ~~~~~~ ^~~~~~~~~~~~ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:470:1: note: in instantiation of member function 'tbb::internal::atomic_impl::operator unsigned short' requested here 470 | __TBB_DECL_ATOMIC(unsigned short) | ^ /Users/ripley/R/Library/RcppParallel/include/RcppParallel/Common.h:41:11/Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:422:78: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] : note: expanded from macro '__TBB_DECL_ATOMIC' 41 | retur 422 | n value; | ~~~~~~ ^~~~~ atomic& operator=( const atomic& rhs ) {store_with_release(rhs); return *this;} \ | ^ /Users/ripley/R/Library/RcppParallel/include/RcppParallel/Common.h:41:11: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 41 | return value; | ~~~~~~ ^~~~~ /Users/ripley/R/Library/RcppParallel/include/RcppParallel.h:41:17: note: in instantiation of function template specialization 'RcppParallel::resolveValue' requested here 41 | numThreads = resolveValue("RCPP_PARALLEL_NUM_THREADS", numThreads, -1); | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile short' is deprecated [-Wdeprecated-volatile] 226 | converter(value_type a_value) : value(a_value) {} | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl::converter' requested here 255 | static typename converter::bits_type & to_bits_ref(value_t& value){ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile short] 297 | __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) ) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:471:1: note: in instantiation of member function 'tbb::internal::atomic_impl::operator short' requested here 471 | __TBB_DECL_ATOMIC(short) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC' 422 | atomic& operator=( const atomic& rhs ) {store_with_release(rhs); return *this;} \ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile char' is deprecated [-Wdeprecated-volatile] 226 | converter(value_type a_value) : value(a_value) {} | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl::converter' requested here 255 | static typename converter::bits_type & to_bits_ref(value_t& value){ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile char] 297 | __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) ) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:472:1: note: in instantiation of member function 'tbb::internal::atomic_impl::operator char' requested here 472 | __TBB_DECL_ATOMIC(char) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC' 422 | atomic& operator=( const atomic& rhs ) {store_with_release(rhs); return *this;} \ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile signed char' is deprecated [-Wdeprecated-volatile] 226 | converter(value_type a_value) : value(a_value) {} | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl::converter' requested here 255 | static typename converter::bits_type & to_bits_ref(value_t& value){ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile signed char] 297 | __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) ) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:473:1: note: in instantiation of member function 'tbb::internal::atomic_impl::operator signed char' requested here 473 | __TBB_DECL_ATOMIC(signed char) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC' 422 | atomic& operator=( const atomic& rhs ) {store_with_release(rhs); return *this;} \ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile unsigned char' is deprecated [-Wdeprecated-volatile] 226 | converter(value_type a_value) : value(a_value) {} | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl::converter' requested here 255 | static typename converter::bits_type & to_bits_ref(value_t& value){ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile unsigned char] 297 | __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) ) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:474:1: note: in instantiation of member function 'tbb::internal::atomic_impl::operator unsigned char' requested here 474 | __TBB_DECL_ATOMIC(unsigned char) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC' 422 | atomic& operator=( const atomic& rhs ) {store_with_release(rhs); return *this;} \ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile wchar_t' is deprecated [-Wdeprecated-volatile] 226 | converter(value_type a_value) : value(a_value) {} | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl::converter' requested here 255 | static typename converter::bits_type & to_bits_ref(value_t& value){ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile wchar_t] 297 | __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) ) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:477:1: note: in instantiation of member function 'tbb::internal::atomic_impl::operator wchar_t' requested here 477 | __TBB_DECL_ATOMIC(wchar_t) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC' 422 | atomic& operator=( const atomic& rhs ) {store_with_release(rhs); return *this;} \ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'void *const volatile' is deprecated [-Wdeprecated-volatile] 226 | converter(value_type a_value) : value(a_value) {} | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl::converter' requested here 255 | static typename converter::bits_type & to_bits_ref(value_t& value){ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = void *const volatile] 297 | __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) ) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:509:34: note: in instantiation of member function 'tbb::internal::atomic_impl::operator void *' requested here 509 | this->store_with_release(rhs); return *this; | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile bool' is deprecated [-Wdeprecated-volatile] 226 | converter(value_type a_value) : value(a_value) {} | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl::converter' requested here 255 | static typename converter::bits_type & to_bits_ref(value_t& value){ | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile bool] 297 | __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) ) | ^ /Users/ripley/R/Library/RcppParallel/include/tbb/partitioner.h:140:16: note: in instantiation of member function 'tbb::internal::atomic_impl::operator bool' requested here 140 | return static_cast(t.parent())->my_child_stolen; | ^ In file included from order.cpp:4: In file included from /Users/ripley/R/Library/RcppParallel/include/RcppParallel.h:6: In file included from /Users/ripley/R/Library/RcppParallel/include/RcppParallel/TinyThread.h:7: /Users/ripley/R/Library/RcppParallel/include/RcppParallel/Common.h:22:14: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 22 | return requestedValue; | ~~~~~~ ^~~~~~~~~~~~~~ /Users/ripley/R/Library/RcppParallel/include/RcppParallel.h:40:16: note: in instantiation of function template specialization 'RcppParallel::resolveValue' requested here 40 | grainSize = resolveValue("RCPP_PARALLEL_GRAIN_SIZE", grainSize, std::size_t(1)); | ^ In file included from order.cpp:4: In file included from /Users/ripley/R/Library/RcppParallel/include/RcppParallel.h:6: In file included from /Users/ripley/R/Library/RcppParallel/include/RcppParallel/TinyThread.h:7: /Users/ripley/R/Library/RcppParallel/include/RcppParallel/Common.h:28:14: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 28 | return defaultValue; | ~~~~~~ ^~~~~~~~~~~~ /Users/ripley/R/Library/RcppParallel/include/RcppParallel/Common.h:38:14: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 38 | return defaultValue; | ~~~~~~ ^~~~~~~~~~~~ /Users/ripley/R/Library/RcppParallel/include/RcppParallel/Common.h:41:11: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 41 | return value; | ~~~~~~ ^~~~~ /Users/ripley/R/Library/RcppParallel/include/RcppParallel/Common.h:41:11: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 41 | return value; | ~~~~~~ ^~~~~ /Users/ripley/R/Library/RcppParallel/include/RcppParallel.h:41:17: note: in instantiation of function template specialization 'RcppParallel::resolveValue' requested here 41 | numThreads = resolveValue("RCPP_PARALLEL_NUM_THREADS", numThreads, -1); | ^ In file included from distances.cpp:2: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo.h:32: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:167: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/export.h:124:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 124 | res[i] = caster(start[i]) ; | ~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/export.h:130:4: note: in instantiation of function template specialization 'Rcpp::internal::export_indexing__impl, unsigned int>' requested here 130 | export_indexing__impl( | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/export.h:153:4: note: in instantiation of function template specialization 'Rcpp::internal::export_indexing__dispatch, unsigned int>' requested here 153 | export_indexing__dispatch( | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/Exporter.h:64:35: note: in instantiation of function template specialization 'Rcpp::internal::export_indexing, unsigned int>' requested here 64 | ::Rcpp::internal::export_indexing( object, result ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:88:29: note: in instantiation of member function 'Rcpp::traits::IndexingExporter, unsigned int>::get' requested here 88 | return exporter.get(); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:151:26: note: in instantiation of function template specialization 'Rcpp::internal::as>' requested here 151 | return internal::as(x, typename traits::r_type_traits::r_category()); | ^ ./ranger/rangerForest.h:84:40: note: in instantiation of function template specialization 'Rcpp::as>' requested here 84 | treeTerminalNodes[t + 1] = Rcpp::as(Rcpp::wrap(ind)); | ^ 95 warnings generated. 20 warnings generated. 40 warnings generated. 30 warnings generated. 99 warnings generated. clang++ -mmacos-version-min=26 -std=gnu++20 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Users/ripley/R/R-devel/lib -L/opt/R/arm64/lib -o CaseBasedReasoning.so RcppExports.o distanceAPI.o distances.o order.o weightedKNN.o -L/Users/ripley/R/Library/RcppParallel/lib -ltbb -ltbbmalloc -L/Users/ripley/R/R-devel/lib -lR installing to /Users/ripley/R/packages/tests-devel/CaseBasedReasoning.Rcheck/00LOCK-CaseBasedReasoning/00new/CaseBasedReasoning/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 (CaseBasedReasoning)