* installing *source* package ‘mapdeck’ ... ** package ‘mapdeck’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘Apple clang version 15.0.0 (clang-1500.3.9.4)’ using C++14 using SDK: ‘MacOSX14.4.sdk’ clang++ -mmacos-version-min=14.3 -std=gnu++14 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -DSTRICT_R_HEADERS -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/BH/include' -I'/Users/ripley/R/Library/colourvalues/include' -I'/Users/ripley/R/Library/geojsonsf/include' -I'/Users/ripley/R/Library/geometries/include' -I'/Users/ripley/R/Library/interleave/include' -I'/Users/ripley/R/Library/jsonify/include' -I'/Users/ripley/R/Library/rapidjsonr/include' -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/sfheaders/include' -I'/Users/ripley/R/Library/spatialwidget/include' -isystem /opt/R/arm64/include -I../inst/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c RcppExports.cpp -o RcppExports.o clang++ -mmacos-version-min=14.3 -std=gnu++14 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -DSTRICT_R_HEADERS -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/BH/include' -I'/Users/ripley/R/Library/colourvalues/include' -I'/Users/ripley/R/Library/geojsonsf/include' -I'/Users/ripley/R/Library/geometries/include' -I'/Users/ripley/R/Library/interleave/include' -I'/Users/ripley/R/Library/jsonify/include' -I'/Users/ripley/R/Library/rapidjsonr/include' -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/sfheaders/include' -I'/Users/ripley/R/Library/spatialwidget/include' -isystem /opt/R/arm64/include -I../inst/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c aggregate.cpp -o aggregate.o In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:5: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours.hpp:4: /Users/ripley/R/Library/colourvalues/include/colourvalues/scale/scale.hpp:43:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = x.size(); ~ ~~^~~~~~ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:5: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours.hpp:5: /Users/ripley/R/Library/colourvalues/include/colourvalues/utils/utils.hpp:10:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = v.size(); ~ ~~^~~~~~ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:5: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours.hpp:7: /Users/ripley/R/Library/colourvalues/include/colourvalues/convert/convert_colours.hpp:50:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = hex_strings.size(); ~ ~~~~~~~~~~~~^~~~~~ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:7: /Users/ripley/R/Library/colourvalues/include/colourvalues/alpha/alpha.hpp:70:27: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_alpha = alpha.size(); ~~~~~~~ ~~~~~~^~~~~~ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:10: /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:73:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] r = round( spline_red( this_x ) * 255 ) ; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:74:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] g = round( spline_green( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:75:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] b = round( spline_blue( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:84:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] a = round( spline_alpha( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:86:17: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] a = alpha[i]; ~ ^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:88:17: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] a = alpha[0]; // should be length 5, but all the same ~ ^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:141:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] r = round( spline_red( this_x ) * 255 ) ; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:142:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] g = round( spline_green( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:143:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] b = round( spline_blue( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:152:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] a = round( spline_alpha( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:154:17: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] a = alpha[i]; ~ ^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:156:17: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] a = alpha[0]; // should be length 5, but all the same ~ ^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:117:33: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix rgb_mat(n, cols); ~~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:138:17: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] rgb_mat(i, _) = na_mat; ~~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:158:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] rgb_mat(i, _) = Rcpp::NumericVector::create(r,g,b,a); ~~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:160:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] rgb_mat(i, _) = Rcpp::NumericVector::create(r,g,b); ~~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:224:42: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] r = roundf( spline_red( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:225:44: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] g = roundf( spline_green( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:226:43: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] b = roundf( spline_blue( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:236:48: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] a = roundf( spline_alpha( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:332:42: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] r = roundf( spline_red( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:333:44: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] g = roundf( spline_green( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:334:43: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] b = roundf( spline_blue( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:80:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:96:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:145:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:146:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:160:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:206:65: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( 0, x.size(), palette.ncol() ); ~~~~~~~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:222:26: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int red_size = red.size(); ~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:243:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:244:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:262:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:289:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:305:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:331:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:332:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:346:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_rgb.hpp:6: /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:76:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:93:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:121:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:122:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:136:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:161:65: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( 0, x.size(), palette.ncol() ); ~~~~~~~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:176:26: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int red_size = red.size(); ~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:196:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:197:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:213:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:240:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:256:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:282:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:283:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:297:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:8: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_rgb_interleaved.hpp:6: /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:86:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:102:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:136:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:137:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:151:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:182:65: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( 0, x.size(), palette.ncol() ); ~~~~~~~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:197:26: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int red_size = red.size(); ~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:223:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:224:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:240:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:273:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:289:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:321:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:322:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:336:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/scalars.hpp:36:18: warning: implicit conversion loses integer precision: 'int' to 'value_type' (aka 'char') [-Wimplicit-int-conversion] str[1] = toupper( str[1] ); ~ ^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/scalars.hpp:38:18: warning: implicit conversion loses integer precision: 'int' to 'value_type' (aka 'char') [-Wimplicit-int-conversion] str[0] = toupper(str[0]); ~ ^~~~~~~~~~~~~~~ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:26:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:102:55: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:230:55: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:360:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:382:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:405:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:503:40: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:538:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:544:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:564:40: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:601:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:607:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:623:39: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:655:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_row = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:661:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:678:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_row = mat( row, Rcpp::_ ); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:712:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:719:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_col = mat( Rcpp::_, i ); ~~~ ^ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:136:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector v = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:150:47: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector v = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:184:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector v = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:198:47: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector v = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:234:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector v = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:248:47: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector v = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:282:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector v = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:296:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector v = mat( Rcpp::_, i ); ~~~ ^ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:469:23: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] int r_type = it.second; ~~~~~~ ~~~^~~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:600:23: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] int r_type = it.second; ~~~~~~ ~~~^~~~~~ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:5: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:6: /Users/ripley/R/Library/geometries/include/geometries/utils/sexp/sexp.hpp:110:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] ians[0] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/sexp/sexp.hpp:130:23: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] ians[ i ] = j; ~ ^ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:5: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:7: /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:20:16: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = iv.size(); ~ ~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:34:16: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = sv.size(); ~ ~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:50:28: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = values_to_find.size(); ~ ~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:65:28: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = values_to_find.size(); ~ ~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:103:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_1 = iv_1.length(); ~~~ ~~~~~^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:104:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_2 = iv_2.length(); ~~~ ~~~~~^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:151:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_1 = nv_1.length(); ~~~ ~~~~~^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:152:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_2 = nv_2.length(); ~~~ ~~~~~^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:189:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_1 = sv_1.length(); ~~~ ~~~~~^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:190:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_2 = sv_2.length(); ~~~ ~~~~~^~~~~~~~ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:5: /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:55:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_col = df.ncol(); ~~~~~ ~~~^~~~~~ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:6: /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:27:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::IntegerMatrix im( unique_n, 2); ~~ ^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:47:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:52:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i - 1; ~ ~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:59:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:64:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i; ~ ^ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:7: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/lists/list.hpp:11: /Users/ripley/R/Library/geometries/include/geometries/utils/lists/unlist.hpp:110:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int end_position = list_position + n_elements[0] - 1; ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/unlist.hpp:140:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int end_position = list_position + n_elements[0] - 1; ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/unlist.hpp:170:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int end_position = list_position + n_elements[0] - 1; ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/unlist.hpp:200:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int end_position = list_position + n_elements[0] - 1; ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:35:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:35:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:39:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:64:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:64:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:68:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:132:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:132:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:139:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:168:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:168:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:174:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:216:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:216:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:222:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:256:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:256:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:262:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:49:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int j = n_id_cols; ~ ^~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:81:33: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] nelems[ res_counter ] = n_elements; ~ ^~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:83:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] sums[ res_counter ] = cumulative_size; ~ ^~~~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:87:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] end = i - 1; ~ ~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:111:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] start = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:117:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] nelems[ res_counter ] = n_elements; ~ ^~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:120:27: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] sums[ res_counter ] = cumulative_size; ~ ^~~~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:125:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] end = i - 1; ~ ~~^~~ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:30:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector nv = geometry_mat( i, Rcpp::_ ); ~~~~~~~~~~~~ ^ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:8: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/sfg.hpp:4: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/point/sfg_point.hpp:5: /Users/ripley/R/Library/sfheaders/include/sfheaders/utils/utils.hpp:122:26: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] int_id_column[0] = col_counter; ~ ^~~~~~~~~~~ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:8: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/sfg.hpp:4: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/point/sfg_point.hpp:10: In file included from /Users/ripley/R/Library/geometries/include/geometries/nest/nest.hpp:6: /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:142:30: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::IntegerMatrix res( n, 5 ); ~~~ ^ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:159:21: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] res( i, 0 ) = cumulative_coords; ~ ^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:161:39: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] res( i, 1 ) = cumulative_coords - 1; ~ ~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:162:21: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] res( i, 2 ) = geom_dimension; ~ ^~~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:163:21: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] res( i, 3 ) = nest; ~ ^~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:199:62: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] im(0, 1) = geometries::utils::sexp_n_row( geometries ) - 1; ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:200:18: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] im(0, 2) = max_dimension; ~ ^~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:201:18: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] im(0, 3) = max_nest; // level of nesting (a matrix is not nested in a list) ~ ^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:222:18: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] im(0, 2) = max_dimension; ~ ^~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:223:18: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] im(0, 3) = max_nest; ~ ^~~~~~~~ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:9: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfc/sfc.hpp:5: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfc/point/sfc_point.hpp:11: /Users/ripley/R/Library/geometries/include/geometries/bbox/bbox.hpp:156:33: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'R_xlen_t' (aka 'long') [-Wfloat-conversion] Rcpp::NumericVector x = df[ geometry_cols[0] ]; ~~ ^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/bbox/bbox.hpp:157:33: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'R_xlen_t' (aka 'long') [-Wfloat-conversion] Rcpp::NumericVector y = df[ geometry_cols[1] ]; ~~ ^~~~~~~~~~~~~~~~ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:10: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/sf.hpp:5: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/point/sf_point.hpp:8: /Users/ripley/R/Library/geometries/include/geometries/utils/rleid/rleid.hpp:21:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int j = n_id_cols; ~ ^~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/rleid/rleid.hpp:72:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] ians[ counter ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/rleid/rleid.hpp:81:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] ians[ counter ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/rleid/rleid.hpp:90:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] ians[ counter ] = i; ~ ^ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:10: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/sf.hpp:5: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/point/sf_point.hpp:10: /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/sf_utils.hpp:152:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] idx[ k ] = k + start_idx; ~ ~~^~~~~~~~~~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/sf_utils.hpp:155:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] idx[ res_size - 1 ] = start_idx; ~ ^~~~~~~~~ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:21: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/colour/colour.hpp:8: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/palette/palette.hpp:7: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/utils.hpp:5: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/factors/factors.hpp:13:23: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_cols = data.length(); ~~~~~~ ~~~~~^~~~~~~~ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:21: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/colour/colour.hpp:8: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/palette/palette.hpp:7: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/utils.hpp:8: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/colour/colour.hpp:15:19: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int len = str.length(); ~~~ ~~~~^~~~~~~~ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:21: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/colour/colour.hpp:8: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/palette/palette.hpp:7: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/utils.hpp:9: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/dates/dates.hpp:12:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = v.size(); ~ ~~^~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/dates/dates.hpp:58:23: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_cols = data.length(); ~~~~~~ ~~~~~^~~~~~~~ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:21: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/colour/colour.hpp:10: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/legend/legend.hpp:67:26: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = legend_types.size(); ~ ~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/legend/legend.hpp:98:23: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n = lege_list.size(); ~ ~~~~~~~~~~^~~~~~ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:22: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/data_construction/data_construction.hpp:43:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = params.size(); ~ ~~~~~~~^~~~~~ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:9: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geometries/sizes.hpp:21:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] return multiline.size(); ~~~~~~ ~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geometries/sizes.hpp:25:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] return multipolygon.size(); ~~~~~~ ~~~~~~~~~~~~~^~~~~~ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:10: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/write_geojson.hpp:6: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:6: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:193:43: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = line(i, Rcpp::_ ); ~~~~ ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:208:43: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = line(i, Rcpp::_ ); ~~~~ ^ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:10: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/write_geojson.hpp:6: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:126:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector pts = mls(geometry_index, Rcpp::_ ); ~~~ ^~~~~~~~~~~~~~ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:11: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:42:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int sfglength = geometries::utils::sexp_length( sfg ); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:83:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int sfglength = geometries::utils::sexp_length( sfg ); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:133:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int sfglength = geometries::utils::sexp_length( sfg ); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:65:26: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] int this_index = polygon_indeces[j]; ~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:123:26: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] int this_index = polygon_indeces[j]; ~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:59:37: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] polygon_indeces = ib(Rcpp::_, i); ~~ ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:102:37: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] polygon_indeces = ib(Rcpp::_, i); ~~ ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:103:45: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix a_polygon( n_row, n_coords ); ~~~~~~~~~ ^~~~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:103:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix a_polygon( n_row, n_coords ); ~~~~~~~~~ ^~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:126:19: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] a_polygon(j, Rcpp::_) = vb(Rcpp::_, this_index); ~~~~~~~~~ ^ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:26: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/parameters/parameters.hpp:36:27: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_params = params.size(); ~~~~~~~~ ~~~~~~~^~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/parameters/parameters.hpp:159:119: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector colours_remove = spatialwidget::utils::map::extract_map( colour_columns, colour_columns.size() * 2 ); ~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from aggregate.cpp:6: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:498:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] expanded_index[ counter + j ] = i; ~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:334:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] inline iterator end() { return cache.get() + size() ; } ~ ^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1116:29: note: in instantiation of member function 'Rcpp::Vector<16>::end' requested here std::fill( begin(), end(), converter_type::get( u ) ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:330:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill__dispatch' requested here fill__dispatch( typename traits::is_trivial::type(), u ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1101:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill' requested here fill(t) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1089:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill_or_generate__impl' requested here fill_or_generate__impl( t, typename traits::is_generator::type() ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:172:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill_or_generate' requested here fill_or_generate( u ) ; ^ ../inst/include/mapdeck_defaults.hpp:106:22: note: in instantiation of function template specialization 'Rcpp::Vector<16>::Vector' requested here Rcpp::StringVector sv(n, "middle"); ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:177: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/Proxy_Iterator.h:110:23: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] return proxy.index - other.proxy.index ; ~~~~~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/fill.h:38:35: note: in instantiation of member function 'Rcpp::internal::Proxy_Iterator>::operator-' requested here _VSTD::fill_n(__first, __last - __first, __value); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/fill.h:46:12: note: in instantiation of function template specialization 'std::__fill>, SEXPREC *>' requested here _VSTD::__fill(__first, __last, __value, typename iterator_traits<_ForwardIterator>::iterator_category()); ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1116:14: note: in instantiation of function template specialization 'std::fill>, SEXPREC *>' requested here std::fill( begin(), end(), converter_type::get( u ) ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:330:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill__dispatch' requested here fill__dispatch( typename traits::is_trivial::type(), u ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1101:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill' requested here fill(t) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1089:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill_or_generate__impl' requested here fill_or_generate__impl( t, typename traits::is_generator::type() ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:172:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill_or_generate' requested here fill_or_generate( u ) ; ^ ../inst/include/mapdeck_defaults.hpp:106:22: note: in instantiation of function template specialization 'Rcpp::Vector<16>::Vector' requested here Rcpp::StringVector sv(n, "middle"); ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] return lookup__impl(vec.begin(), vec.size() ) ; ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<16>::lookup' requested here return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/utils/utils.hpp:70:37: note: in instantiation of function template specialization 'Rcpp::match<16, true, Rcpp::Vector<16>, true, Rcpp::Vector<16>>' requested here Rcpp::IntegerVector out = Rcpp::match( x, lvls ); ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1041:13: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here import_expression(x, n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1053:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::assign_sugar_expression>' requested here assign_sugar_expression( x.get_ref() ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:247:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::assign_object>' requested here assign_object( x, typename traits::is_sugar_expression::type() ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/palette_utils/palette_utils.hpp:50:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::operator=>' requested here red = palette(_, 0); ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/convert/convert_colours.hpp:63:12: note: in instantiation of member function 'Rcpp::Matrix<13>::operator()' requested here mat(i, 0) = hex_to_rgba( hex, 1, 2 ); ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:59: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/SubMatrix.h:38:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nc( col_range_.size() ), ~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:167:14: note: in instantiation of member function 'Rcpp::SubMatrix<13>::SubMatrix' requested here return Sub( const_cast(*this), Range(0,nrow()-1) , col_range ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/convert/convert_colours.hpp:99:16: note: in instantiation of member function 'Rcpp::Matrix<13>::operator()' requested here mat = mat(Rcpp::_, Rcpp::Range(0,2) ); ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:59: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/SubMatrix.h:39:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nr( row_range_.size() ) ~~~~~~~~~~~^~~~~~ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:72:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:138:23: note: in instantiation of function template specialization 'Rcpp::MatrixRow<14>::operator=<13, true, Rcpp::Vector<13>>' requested here rgb_mat(i, _) = na_mat; ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:73:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:74:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:75:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:79:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:81:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:83:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:72:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:158:25: note: in instantiation of function template specialization 'Rcpp::MatrixRow<14>::operator=<14, true, Rcpp::Vector<14>>' requested here rgb_mat(i, _) = Rcpp::NumericVector::create(r,g,b,a); ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:73:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:74:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:75:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:79:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:81:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:83:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:215:47: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here rgb_vec[ position_counter ] = na_mat_d(0, 0); ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_expression' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_sugar_expression' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:219:44: note: in instantiation of function template specialization 'Rcpp::Vector<13>::Vector' requested here Rcpp::IntegerVector summary_values = Rcpp::seq_len( lvls.length() ); ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:59: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/SubMatrix.h:38:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nc( col_range_.size() ), ~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:170:14: note: in instantiation of member function 'Rcpp::SubMatrix<14>::SubMatrix' requested here return Sub( const_cast(*this), row_range, Range(0,ncol()-1) ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/list/list.hpp:115:56: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here Rcpp::NumericMatrix these_colours = colours( elements, Rcpp::_ ); ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:59: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/SubMatrix.h:39:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nr( row_range_.size() ) ~~~~~~~~~~~^~~~~~ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_expression' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_sugar_expression' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/list/list.hpp:153:44: note: in instantiation of function template specialization 'Rcpp::Vector<13>::Vector' requested here Rcpp::IntegerVector elements = Rcpp::seq( vector_position, end_position ); ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:538:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:161:42: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here return jsonify::writers::simple::write_value( writer, im, unbox, by ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:544:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:712:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:166:42: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here return jsonify::writers::simple::write_value( writer, lm, unbox, by ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:719:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:655:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_row = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:171:42: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here return jsonify::writers::simple::write_value( writer, sm, unbox, by ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:661:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:102:55: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:360:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, nv, unbox, digits, numeric_dates ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/scalars.hpp:36:18: warning: implicit conversion loses integer precision: 'int' to 'value_type' (aka 'char') [-Wimplicit-int-conversion] str[1] = toupper( str[1] ); ~ ^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:111:38: note: in instantiation of function template specialization 'jsonify::writers::scalars::write_value>>>' requested here jsonify::writers::scalars::write_value( writer, nv[i], digits ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:360:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, nv, unbox, digits, numeric_dates ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/scalars.hpp:38:18: warning: implicit conversion loses integer precision: 'int' to 'value_type' (aka 'char') [-Wimplicit-int-conversion] str[0] = toupper(str[0]); ~ ^~~~~~~~~~~~~~~ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:230:55: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:365:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, iv, unbox, numeric_dates, factors_as_string ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:564:40: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:87:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, nm, row, unbox ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:80:40: note: in instantiation of function template specialization 'jsonify::writers::complex::switch_vector>>>' requested here jsonify::writers::complex::switch_vector( ^ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:503:40: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:99:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, im, row, unbox ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:80:40: note: in instantiation of function template specialization 'jsonify::writers::complex::switch_vector>>>' requested here jsonify::writers::complex::switch_vector( ^ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:678:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_row = mat( row, Rcpp::_ ); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:110:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, lm, row, unbox ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:80:40: note: in instantiation of function template specialization 'jsonify::writers::complex::switch_vector>>>' requested here jsonify::writers::complex::switch_vector( ^ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:623:39: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:120:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, sm, row, unbox ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:80:40: note: in instantiation of function template specialization 'jsonify::writers::complex::switch_vector>>>' requested here jsonify::writers::complex::switch_vector( ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<10>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<10>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:136:33: note: in instantiation of function template specialization 'Rcpp::Vector<10>::Vector>' requested here Rcpp::LogicalVector v = mat( i, Rcpp::_ ); ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:405:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:140:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, v, unbox ); ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<10>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<10>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:150:33: note: in instantiation of function template specialization 'Rcpp::Vector<10>::Vector>' requested here Rcpp::LogicalVector v = mat( Rcpp::_, i ); ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:184:33: note: in instantiation of function template specialization 'Rcpp::Vector<13>::Vector>' requested here Rcpp::IntegerVector v = mat( i, Rcpp::_ ); ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:382:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:188:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, v, unbox ); ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:198:33: note: in instantiation of function template specialization 'Rcpp::Vector<13>::Vector>' requested here Rcpp::IntegerVector v = mat( Rcpp::_, i ); ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:234:33: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here Rcpp::NumericVector v = mat( i, Rcpp::_ ); ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:360:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:238:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, v, unbox, digits ); ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:282:32: note: in instantiation of function template specialization 'Rcpp::Vector<16>::Vector>' requested here Rcpp::StringVector v = mat( i, Rcpp::_ ); ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:26:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:286:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, v, unbox ); ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:61: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixColumn.h:39:57: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] start(parent.begin() + static_cast(i) * n ), ~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:158:14: note: in instantiation of member function 'Rcpp::MatrixColumn<16>::MatrixColumn' requested here return Column( *this, i ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:296:35: note: in instantiation of member function 'Rcpp::Matrix<16>::operator()' requested here Rcpp::StringVector v = mat( Rcpp::_, i ); ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:61: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixColumn.h:40:90: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] const_start(const_cast(parent).begin() + static_cast(i) * n) ~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:296:32: note: in instantiation of function template specialization 'Rcpp::Vector<16>::Vector>' requested here Rcpp::StringVector v = mat( Rcpp::_, i ); ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:32:64: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] std::copy( this_vec.begin(), this_vec.end(), v.begin() + i ); ~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:53:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_vector<16>' requested here return simplify_vector< STRSXP >( x, n ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:180:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<13>' requested here return simplify_matrix< INTSXP >( out, n_col, n_row ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:183:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<14>' requested here return simplify_matrix< REALSXP >( out, n_col, n_row ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:186:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<10>' requested here return simplify_matrix< LGLSXP >( out, n_col, n_row ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:164:9: note: in instantiation of member function 'Rcpp::Matrix<10>::operator()' requested here mat( i, j ) = this_val; ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:186:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<10>' requested here return simplify_matrix< LGLSXP >( out, n_col, n_row ); ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:192:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<16>' requested here return simplify_matrix< STRSXP >( out, n_col, n_row ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:164:9: note: in instantiation of member function 'Rcpp::Matrix<16>::operator()' requested here mat( i, j ) = this_val; ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:192:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<16>' requested here return simplify_matrix< STRSXP >( out, n_col, n_row ); ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json_utils.hpp:42:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'SizeType' (aka 'unsigned int') [-Wshorten-64-to-32] curr_dtype = doc[i].GetType(); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:207:14: note: in instantiation of function template specialization 'jsonify::from_json::get_dtypes>>' requested here dtypes = get_dtypes(doc); ^ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json_utils.hpp:52:16: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'SizeType' (aka 'unsigned int') [-Wshorten-64-to-32] if(doc[i].IsDouble()) { ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json_utils.hpp:42:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'SizeType' (aka 'unsigned int') [-Wshorten-64-to-32] curr_dtype = doc[i].GetType(); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:136:18: note: in instantiation of function template specialization 'jsonify::from_json::get_dtypes>>' requested here dtypes = get_dtypes( json ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:190:12: note: in instantiation of function template specialization 'jsonify::from_json::parse_json>>' requested here return parse_json( json, simplify, fill_na ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:37:32: note: in instantiation of function template specialization 'jsonify::from_json::from_json>>' requested here return jsonify::from_json::from_json( doc, simplify, fill_na ); ^ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json_utils.hpp:52:16: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'SizeType' (aka 'unsigned int') [-Wshorten-64-to-32] if(doc[i].IsDouble()) { ~~~ ^ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:5: /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:20:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_id_cols = id_cols.size(); ~~~~~~~~~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:48:12: note: in instantiation of function template specialization 'geometries::utils::other_columns<16>' requested here return other_columns( df_names, id_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:21:33: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_other_cols = all_cols.size(); ~~~~~~~~~~~~ ~~~~~~~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:20:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_id_cols = id_cols.size(); ~~~~~~~~~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:57:12: note: in instantiation of function template specialization 'geometries::utils::other_columns<13>' requested here return other_columns( other_cols, id_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:21:33: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_other_cols = all_cols.size(); ~~~~~~~~~~~~ ~~~~~~~~~^~~~~~ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:6: /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:27:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::IntegerMatrix im( unique_n, 2); ~~ ^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:88:16: note: in instantiation of function template specialization 'geometries::utils::id_positions<13>' requested here return id_positions( iv_line_ids, iv_unique_ids ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:47:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:52:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i - 1; ~ ~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:59:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:64:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:27:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::IntegerMatrix im( unique_n, 2); ~~ ^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:93:16: note: in instantiation of function template specialization 'geometries::utils::id_positions<14>' requested here return id_positions( nv_line_ids, nv_unique_ids ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:47:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:52:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i - 1; ~ ~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:59:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:64:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:27:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::IntegerMatrix im( unique_n, 2); ~~ ^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:98:16: note: in instantiation of function template specialization 'geometries::utils::id_positions<16>' requested here return id_positions( sv_line_ids, sv_unique_ids ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:47:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:52:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i - 1; ~ ~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:59:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:64:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i; ~ ^ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:106:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m( n_row, n_col ); ~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:313:18: note: in instantiation of function template specialization 'geometries::matrix::to_geometry_matrix<13>' requested here return to_geometry_matrix( iv, geometry_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:106:30: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m( n_row, n_col ); ~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:89:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m2( n_row, n_col ); ~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:316:18: note: in instantiation of function template specialization 'geometries::matrix::to_geometry_matrix<13>' requested here return to_geometry_matrix( im, geometry_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:89:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m2( n_row, n_col ); ~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:92:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] m2( Rcpp::_, i ) = m( Rcpp::_, this_col ); ~~ ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:106:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m( n_row, n_col ); ~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:322:18: note: in instantiation of function template specialization 'geometries::matrix::to_geometry_matrix<14>' requested here return to_geometry_matrix( nv, geometry_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:106:30: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m( n_row, n_col ); ~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:89:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m2( n_row, n_col ); ~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:325:18: note: in instantiation of function template specialization 'geometries::matrix::to_geometry_matrix<14>' requested here return to_geometry_matrix( nm, geometry_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:89:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m2( n_row, n_col ); ~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:92:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] m2( Rcpp::_, i ) = m( Rcpp::_, this_col ); ~~ ^ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:5: /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:26:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > last_row = mat( n_row - 1, Rcpp::_ ); ~~~ ~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:69:22: note: in instantiation of function template specialization 'geometries::utils::matrix_is_closed<13>' requested here bool is_closed = matrix_is_closed( mat ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:85:20: note: in instantiation of function template specialization 'geometries::utils::close_matrix<13>' requested here lst[i] = close_matrix( im ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:48:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:70:12: note: in instantiation of function template specialization 'geometries::utils::close_matrix<13>' requested here return close_matrix( mat, is_closed ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:85:20: note: in instantiation of function template specialization 'geometries::utils::close_matrix<13>' requested here lst[i] = close_matrix( im ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:48:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:53:35: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nv[ rng ] = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:55:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] mat2( Rcpp::_ , i ) = nv; ~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/RangeIndexer.h:63:6: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] UNROLL_LOOP(=) ^~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/RangeIndexer.h:28:32: note: expanded from macro 'UNROLL_LOOP' int __trip_count = (size_) >> 2; \ ~~~~~~~~~~~~ ~~~~~~~~^~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:53:19: note: in instantiation of function template specialization 'Rcpp::internal::RangeIndexer<13, true, Rcpp::Vector<13>>::operator=>' requested here nv[ rng ] = mat( Rcpp::_, i ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:70:12: note: in instantiation of function template specialization 'geometries::utils::close_matrix<13>' requested here return close_matrix( mat, is_closed ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:85:20: note: in instantiation of function template specialization 'geometries::utils::close_matrix<13>' requested here lst[i] = close_matrix( im ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:48:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:70:12: note: in instantiation of function template specialization 'geometries::utils::close_matrix<14>' requested here return close_matrix( mat, is_closed ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:90:20: note: in instantiation of function template specialization 'geometries::utils::close_matrix<14>' requested here lst[i] = close_matrix( nm ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:48:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:53:35: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nv[ rng ] = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:55:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] mat2( Rcpp::_ , i ) = nv; ~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/RangeIndexer.h:63:6: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] UNROLL_LOOP(=) ^~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/RangeIndexer.h:28:32: note: expanded from macro 'UNROLL_LOOP' int __trip_count = (size_) >> 2; \ ~~~~~~~~~~~~ ~~~~~~~~^~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:53:19: note: in instantiation of function template specialization 'Rcpp::internal::RangeIndexer<14, true, Rcpp::Vector<14>>::operator=>' requested here nv[ rng ] = mat( Rcpp::_, i ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:70:12: note: in instantiation of function template specialization 'geometries::utils::close_matrix<14>' requested here return close_matrix( mat, is_closed ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:90:20: note: in instantiation of function template specialization 'geometries::utils::close_matrix<14>' requested here lst[i] = close_matrix( nm ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:26:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > last_row = mat( n_row - 1, Rcpp::_ ); ~~~ ~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:92:49: note: in instantiation of function template specialization 'geometries::utils::matrix_is_closed<14>' requested here bool is_closed = geometries::utils::matrix_is_closed( res_mat ); ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/RangeIndexer.h:59:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] start(vec_.begin() + range_.get_start() ), size_( range_.size() ) {} ~ ~~~~~~~^~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:547:16: note: in instantiation of member function 'Rcpp::internal::RangeIndexer<19, true, Rcpp::Vector<19>>::RangeIndexer' requested here return Indexer( const_cast(*this), range ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:156:32: note: in instantiation of member function 'Rcpp::Vector<19>::operator[]' requested here Rcpp::_["coords"] = res[ coord_rng ] ^ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:7: /Users/ripley/R/Library/geometries/include/geometries/utils/lists/as_list.hpp:26:45: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > v = x( Rcpp::_, i ); ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/as_list.hpp:46:18: note: in instantiation of function template specialization 'geometries::utils::as_list<13>' requested here return as_list( im ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/as_list.hpp:26:45: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > v = x( Rcpp::_, i ); ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/as_list.hpp:55:18: note: in instantiation of function template specialization 'geometries::utils::as_list<14>' requested here return as_list( nm ); ^ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:8: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/sfg.hpp:8: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/sfg_polygon.hpp:7: /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:27:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > last_row = mat( n_row - 1, Rcpp::_ ); ~~~ ~~~~~~^~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:72:18: note: in instantiation of function template specialization 'sfheaders::polygon_utils::close_polygon<13>' requested here lst[i] = close_polygon( im, close ); // #nocov ^ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:37:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ^~~~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:37:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ~~~~~~^~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:42:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] v[ rng ] = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:44:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] mat2( Rcpp::_ , i ) = v; ~~~~ ^ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:27:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > last_row = mat( n_row - 1, Rcpp::_ ); ~~~ ~~~~~~^~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:77:18: note: in instantiation of function template specialization 'sfheaders::polygon_utils::close_polygon<14>' requested here lst[i] = close_polygon( nm, close ); ^ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:37:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ^~~~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:37:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ~~~~~~^~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:42:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] v[ rng ] = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:44:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] mat2( Rcpp::_ , i ) = v; ~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:334:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] inline iterator end() { return cache.get() + size() ; } ~ ^~~~~~ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:20:57: note: in instantiation of member function 'Rcpp::Vector<19>::end' requested here for (Rcpp::List::iterator it = sfg.begin(); it != sfg.end(); it++) { ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:72:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:126:31: note: in instantiation of function template specialization 'Rcpp::MatrixRow<14>::operator=<14, true, Rcpp::MatrixColumn<14>>' requested here a_polygon(j, Rcpp::_) = vb(Rcpp::_, this_index); ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:72:29: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:73:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:73:29: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:74:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:74:29: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:75:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:75:29: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:79:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:79:31: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:81:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:81:31: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:83:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from aggregate.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:83:31: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:601:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:130:33: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value(writer, a_polygon); ^ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:607:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_col = mat( Rcpp::_, i ); ~~~ ^ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:11: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:83:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int sfglength = geometries::utils::sexp_length( sfg ); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:225:36: note: in instantiation of function template specialization 'geojsonsf::write_geometry::write_geometry>>>' requested here geojsonsf::write_geometry::write_geometry( writer, sfc, i, digits ); ^ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:10: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/write_geojson.hpp:6: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:6: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:193:43: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = line(i, Rcpp::_ ); ~~~~ ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:223:7: note: in instantiation of function template specialization 'geojsonsf::writers::linestring_to_geojson>>>' requested here linestring_to_geojson( writer, iv, digits ); ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:69:24: note: in instantiation of function template specialization 'geojsonsf::writers::linestring_to_geojson>>>' requested here geojsonsf::writers::linestring_to_geojson( writer, sfg, digits ); ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:94:31: note: in instantiation of function template specialization 'geojsonsf::write_geojson::write_geojson>>>' requested here geojsonsf::write_geojson::write_geojson(writer, sfg, geom_type, cls, digits ); ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:225:36: note: in instantiation of function template specialization 'geojsonsf::write_geometry::write_geometry>>>' requested here geojsonsf::write_geometry::write_geometry( writer, sfc, i, digits ); ^ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:10: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/write_geojson.hpp:6: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:6: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:208:43: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = line(i, Rcpp::_ ); ~~~~ ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:228:7: note: in instantiation of function template specialization 'geojsonsf::writers::linestring_to_geojson>>>' requested here linestring_to_geojson( writer, nv, digits ); ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:69:24: note: in instantiation of function template specialization 'geojsonsf::writers::linestring_to_geojson>>>' requested here geojsonsf::writers::linestring_to_geojson( writer, sfg, digits ); ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:94:31: note: in instantiation of function template specialization 'geojsonsf::write_geojson::write_geojson>>>' requested here geojsonsf::write_geojson::write_geojson(writer, sfg, geom_type, cls, digits ); ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:225:36: note: in instantiation of function template specialization 'geojsonsf::write_geometry::write_geometry>>>' requested here geojsonsf::write_geometry::write_geometry( writer, sfc, i, digits ); ^ In file included from aggregate.cpp:6: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:11: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:42:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int sfglength = geometries::utils::sexp_length( sfg ); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:394:36: note: in instantiation of function template specialization 'geojsonsf::write_geometry::write_geometry>>>' requested here geojsonsf::write_geometry::write_geometry( writer, sfg, cls, digits ); ^ 402 warnings generated. clang++ -mmacos-version-min=14.3 -std=gnu++14 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -DSTRICT_R_HEADERS -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/BH/include' -I'/Users/ripley/R/Library/colourvalues/include' -I'/Users/ripley/R/Library/geojsonsf/include' -I'/Users/ripley/R/Library/geometries/include' -I'/Users/ripley/R/Library/interleave/include' -I'/Users/ripley/R/Library/jsonify/include' -I'/Users/ripley/R/Library/rapidjsonr/include' -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/sfheaders/include' -I'/Users/ripley/R/Library/spatialwidget/include' -isystem /opt/R/arm64/include -I../inst/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c geojson.cpp -o geojson.o In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:5: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours.hpp:4: /Users/ripley/R/Library/colourvalues/include/colourvalues/scale/scale.hpp:43:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = x.size(); ~ ~~^~~~~~ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:5: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours.hpp:5: /Users/ripley/R/Library/colourvalues/include/colourvalues/utils/utils.hpp:10:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = v.size(); ~ ~~^~~~~~ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:5: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours.hpp:7: /Users/ripley/R/Library/colourvalues/include/colourvalues/convert/convert_colours.hpp:50:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = hex_strings.size(); ~ ~~~~~~~~~~~~^~~~~~ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:7: /Users/ripley/R/Library/colourvalues/include/colourvalues/alpha/alpha.hpp:70:27: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_alpha = alpha.size(); ~~~~~~~ ~~~~~~^~~~~~ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:10: /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:73:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] r = round( spline_red( this_x ) * 255 ) ; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:74:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] g = round( spline_green( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:75:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] b = round( spline_blue( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:84:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] a = round( spline_alpha( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:86:17: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] a = alpha[i]; ~ ^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:88:17: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] a = alpha[0]; // should be length 5, but all the same ~ ^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:141:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] r = round( spline_red( this_x ) * 255 ) ; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:142:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] g = round( spline_green( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:143:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] b = round( spline_blue( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:152:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] a = round( spline_alpha( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:154:17: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] a = alpha[i]; ~ ^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:156:17: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] a = alpha[0]; // should be length 5, but all the same ~ ^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:117:33: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix rgb_mat(n, cols); ~~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:138:17: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] rgb_mat(i, _) = na_mat; ~~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:158:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] rgb_mat(i, _) = Rcpp::NumericVector::create(r,g,b,a); ~~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:160:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] rgb_mat(i, _) = Rcpp::NumericVector::create(r,g,b); ~~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:224:42: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] r = roundf( spline_red( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:225:44: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] g = roundf( spline_green( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:226:43: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] b = roundf( spline_blue( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:236:48: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] a = roundf( spline_alpha( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:332:42: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] r = roundf( spline_red( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:333:44: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] g = roundf( spline_green( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:334:43: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] b = roundf( spline_blue( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:80:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:96:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:145:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:146:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:160:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:206:65: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( 0, x.size(), palette.ncol() ); ~~~~~~~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:222:26: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int red_size = red.size(); ~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:243:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:244:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:262:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:289:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:305:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:331:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:332:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:346:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_rgb.hpp:6: /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:76:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:93:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:121:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:122:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:136:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:161:65: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( 0, x.size(), palette.ncol() ); ~~~~~~~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:176:26: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int red_size = red.size(); ~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:196:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:197:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:213:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:240:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:256:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:282:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:283:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:297:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:8: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_rgb_interleaved.hpp:6: /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:86:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:102:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:136:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:137:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:151:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:182:65: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( 0, x.size(), palette.ncol() ); ~~~~~~~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:197:26: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int red_size = red.size(); ~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:223:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:224:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:240:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:273:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:289:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:321:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:322:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:336:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/scalars.hpp:36:18: warning: implicit conversion loses integer precision: 'int' to 'value_type' (aka 'char') [-Wimplicit-int-conversion] str[1] = toupper( str[1] ); ~ ^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/scalars.hpp:38:18: warning: implicit conversion loses integer precision: 'int' to 'value_type' (aka 'char') [-Wimplicit-int-conversion] str[0] = toupper(str[0]); ~ ^~~~~~~~~~~~~~~ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:26:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:102:55: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:230:55: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:360:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:382:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:405:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:503:40: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:538:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:544:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:564:40: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:601:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:607:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:623:39: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:655:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_row = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:661:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:678:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_row = mat( row, Rcpp::_ ); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:712:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:719:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_col = mat( Rcpp::_, i ); ~~~ ^ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:136:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector v = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:150:47: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector v = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:184:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector v = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:198:47: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector v = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:234:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector v = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:248:47: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector v = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:282:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector v = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:296:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector v = mat( Rcpp::_, i ); ~~~ ^ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:469:23: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] int r_type = it.second; ~~~~~~ ~~~^~~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:600:23: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] int r_type = it.second; ~~~~~~ ~~~^~~~~~ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:5: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:6: /Users/ripley/R/Library/geometries/include/geometries/utils/sexp/sexp.hpp:110:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] ians[0] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/sexp/sexp.hpp:130:23: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] ians[ i ] = j; ~ ^ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:5: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:7: /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:20:16: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = iv.size(); ~ ~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:34:16: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = sv.size(); ~ ~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:50:28: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = values_to_find.size(); ~ ~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:65:28: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = values_to_find.size(); ~ ~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:103:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_1 = iv_1.length(); ~~~ ~~~~~^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:104:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_2 = iv_2.length(); ~~~ ~~~~~^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:151:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_1 = nv_1.length(); ~~~ ~~~~~^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:152:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_2 = nv_2.length(); ~~~ ~~~~~^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:189:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_1 = sv_1.length(); ~~~ ~~~~~^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:190:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_2 = sv_2.length(); ~~~ ~~~~~^~~~~~~~ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:5: /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:55:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_col = df.ncol(); ~~~~~ ~~~^~~~~~ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:6: /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:27:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::IntegerMatrix im( unique_n, 2); ~~ ^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:47:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:52:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i - 1; ~ ~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:59:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:64:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i; ~ ^ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:7: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/lists/list.hpp:11: /Users/ripley/R/Library/geometries/include/geometries/utils/lists/unlist.hpp:110:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int end_position = list_position + n_elements[0] - 1; ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/unlist.hpp:140:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int end_position = list_position + n_elements[0] - 1; ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/unlist.hpp:170:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int end_position = list_position + n_elements[0] - 1; ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/unlist.hpp:200:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int end_position = list_position + n_elements[0] - 1; ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:35:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:35:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:39:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:64:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:64:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:68:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:132:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:132:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:139:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:168:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:168:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:174:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:216:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:216:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:222:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:256:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:256:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:262:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:49:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int j = n_id_cols; ~ ^~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:81:33: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] nelems[ res_counter ] = n_elements; ~ ^~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:83:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] sums[ res_counter ] = cumulative_size; ~ ^~~~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:87:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] end = i - 1; ~ ~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:111:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] start = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:117:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] nelems[ res_counter ] = n_elements; ~ ^~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:120:27: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] sums[ res_counter ] = cumulative_size; ~ ^~~~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:125:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] end = i - 1; ~ ~~^~~ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:30:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector nv = geometry_mat( i, Rcpp::_ ); ~~~~~~~~~~~~ ^ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:8: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/sfg.hpp:4: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/point/sfg_point.hpp:5: /Users/ripley/R/Library/sfheaders/include/sfheaders/utils/utils.hpp:122:26: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] int_id_column[0] = col_counter; ~ ^~~~~~~~~~~ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:8: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/sfg.hpp:4: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/point/sfg_point.hpp:10: In file included from /Users/ripley/R/Library/geometries/include/geometries/nest/nest.hpp:6: /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:142:30: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::IntegerMatrix res( n, 5 ); ~~~ ^ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:159:21: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] res( i, 0 ) = cumulative_coords; ~ ^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:161:39: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] res( i, 1 ) = cumulative_coords - 1; ~ ~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:162:21: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] res( i, 2 ) = geom_dimension; ~ ^~~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:163:21: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] res( i, 3 ) = nest; ~ ^~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:199:62: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] im(0, 1) = geometries::utils::sexp_n_row( geometries ) - 1; ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:200:18: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] im(0, 2) = max_dimension; ~ ^~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:201:18: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] im(0, 3) = max_nest; // level of nesting (a matrix is not nested in a list) ~ ^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:222:18: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] im(0, 2) = max_dimension; ~ ^~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:223:18: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] im(0, 3) = max_nest; ~ ^~~~~~~~ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:9: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfc/sfc.hpp:5: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfc/point/sfc_point.hpp:11: /Users/ripley/R/Library/geometries/include/geometries/bbox/bbox.hpp:156:33: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'R_xlen_t' (aka 'long') [-Wfloat-conversion] Rcpp::NumericVector x = df[ geometry_cols[0] ]; ~~ ^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/bbox/bbox.hpp:157:33: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'R_xlen_t' (aka 'long') [-Wfloat-conversion] Rcpp::NumericVector y = df[ geometry_cols[1] ]; ~~ ^~~~~~~~~~~~~~~~ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:10: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/sf.hpp:5: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/point/sf_point.hpp:8: /Users/ripley/R/Library/geometries/include/geometries/utils/rleid/rleid.hpp:21:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int j = n_id_cols; ~ ^~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/rleid/rleid.hpp:72:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] ians[ counter ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/rleid/rleid.hpp:81:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] ians[ counter ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/rleid/rleid.hpp:90:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] ians[ counter ] = i; ~ ^ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:10: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/sf.hpp:5: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/point/sf_point.hpp:10: /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/sf_utils.hpp:152:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] idx[ k ] = k + start_idx; ~ ~~^~~~~~~~~~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/sf_utils.hpp:155:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] idx[ res_size - 1 ] = start_idx; ~ ^~~~~~~~~ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:21: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/colour/colour.hpp:8: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/palette/palette.hpp:7: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/utils.hpp:5: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/factors/factors.hpp:13:23: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_cols = data.length(); ~~~~~~ ~~~~~^~~~~~~~ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:21: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/colour/colour.hpp:8: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/palette/palette.hpp:7: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/utils.hpp:8: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/colour/colour.hpp:15:19: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int len = str.length(); ~~~ ~~~~^~~~~~~~ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:21: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/colour/colour.hpp:8: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/palette/palette.hpp:7: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/utils.hpp:9: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/dates/dates.hpp:12:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = v.size(); ~ ~~^~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/dates/dates.hpp:58:23: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_cols = data.length(); ~~~~~~ ~~~~~^~~~~~~~ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:21: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/colour/colour.hpp:10: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/legend/legend.hpp:67:26: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = legend_types.size(); ~ ~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/legend/legend.hpp:98:23: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n = lege_list.size(); ~ ~~~~~~~~~~^~~~~~ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:22: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/data_construction/data_construction.hpp:43:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = params.size(); ~ ~~~~~~~^~~~~~ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:9: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geometries/sizes.hpp:21:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] return multiline.size(); ~~~~~~ ~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geometries/sizes.hpp:25:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] return multipolygon.size(); ~~~~~~ ~~~~~~~~~~~~~^~~~~~ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:10: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/write_geojson.hpp:6: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:6: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:193:43: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = line(i, Rcpp::_ ); ~~~~ ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:208:43: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = line(i, Rcpp::_ ); ~~~~ ^ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:10: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/write_geojson.hpp:6: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:126:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector pts = mls(geometry_index, Rcpp::_ ); ~~~ ^~~~~~~~~~~~~~ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:11: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:42:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int sfglength = geometries::utils::sexp_length( sfg ); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:83:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int sfglength = geometries::utils::sexp_length( sfg ); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:133:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int sfglength = geometries::utils::sexp_length( sfg ); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:65:26: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] int this_index = polygon_indeces[j]; ~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:123:26: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] int this_index = polygon_indeces[j]; ~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:59:37: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] polygon_indeces = ib(Rcpp::_, i); ~~ ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:102:37: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] polygon_indeces = ib(Rcpp::_, i); ~~ ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:103:45: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix a_polygon( n_row, n_coords ); ~~~~~~~~~ ^~~~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:103:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix a_polygon( n_row, n_coords ); ~~~~~~~~~ ^~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:126:19: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] a_polygon(j, Rcpp::_) = vb(Rcpp::_, this_index); ~~~~~~~~~ ^ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:26: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/parameters/parameters.hpp:36:27: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_params = params.size(); ~~~~~~~~ ~~~~~~~^~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/parameters/parameters.hpp:159:119: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector colours_remove = spatialwidget::utils::map::extract_map( colour_columns, colour_columns.size() * 2 ); ~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from geojson.cpp:5: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:498:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] expanded_index[ counter + j ] = i; ~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:334:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] inline iterator end() { return cache.get() + size() ; } ~ ^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1116:29: note: in instantiation of member function 'Rcpp::Vector<16>::end' requested here std::fill( begin(), end(), converter_type::get( u ) ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:330:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill__dispatch' requested here fill__dispatch( typename traits::is_trivial::type(), u ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1101:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill' requested here fill(t) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1089:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill_or_generate__impl' requested here fill_or_generate__impl( t, typename traits::is_generator::type() ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:172:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill_or_generate' requested here fill_or_generate( u ) ; ^ ../inst/include/mapdeck_defaults.hpp:106:22: note: in instantiation of function template specialization 'Rcpp::Vector<16>::Vector' requested here Rcpp::StringVector sv(n, "middle"); ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:177: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/Proxy_Iterator.h:110:23: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] return proxy.index - other.proxy.index ; ~~~~~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/fill.h:38:35: note: in instantiation of member function 'Rcpp::internal::Proxy_Iterator>::operator-' requested here _VSTD::fill_n(__first, __last - __first, __value); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/fill.h:46:12: note: in instantiation of function template specialization 'std::__fill>, SEXPREC *>' requested here _VSTD::__fill(__first, __last, __value, typename iterator_traits<_ForwardIterator>::iterator_category()); ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1116:14: note: in instantiation of function template specialization 'std::fill>, SEXPREC *>' requested here std::fill( begin(), end(), converter_type::get( u ) ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:330:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill__dispatch' requested here fill__dispatch( typename traits::is_trivial::type(), u ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1101:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill' requested here fill(t) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1089:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill_or_generate__impl' requested here fill_or_generate__impl( t, typename traits::is_generator::type() ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:172:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill_or_generate' requested here fill_or_generate( u ) ; ^ ../inst/include/mapdeck_defaults.hpp:106:22: note: in instantiation of function template specialization 'Rcpp::Vector<16>::Vector' requested here Rcpp::StringVector sv(n, "middle"); ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] return lookup__impl(vec.begin(), vec.size() ) ; ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<16>::lookup' requested here return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/utils/utils.hpp:70:37: note: in instantiation of function template specialization 'Rcpp::match<16, true, Rcpp::Vector<16>, true, Rcpp::Vector<16>>' requested here Rcpp::IntegerVector out = Rcpp::match( x, lvls ); ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1041:13: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here import_expression(x, n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1053:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::assign_sugar_expression>' requested here assign_sugar_expression( x.get_ref() ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:247:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::assign_object>' requested here assign_object( x, typename traits::is_sugar_expression::type() ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/palette_utils/palette_utils.hpp:50:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::operator=>' requested here red = palette(_, 0); ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/convert/convert_colours.hpp:63:12: note: in instantiation of member function 'Rcpp::Matrix<13>::operator()' requested here mat(i, 0) = hex_to_rgba( hex, 1, 2 ); ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:59: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/SubMatrix.h:38:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nc( col_range_.size() ), ~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:167:14: note: in instantiation of member function 'Rcpp::SubMatrix<13>::SubMatrix' requested here return Sub( const_cast(*this), Range(0,nrow()-1) , col_range ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/convert/convert_colours.hpp:99:16: note: in instantiation of member function 'Rcpp::Matrix<13>::operator()' requested here mat = mat(Rcpp::_, Rcpp::Range(0,2) ); ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:59: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/SubMatrix.h:39:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nr( row_range_.size() ) ~~~~~~~~~~~^~~~~~ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:72:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:138:23: note: in instantiation of function template specialization 'Rcpp::MatrixRow<14>::operator=<13, true, Rcpp::Vector<13>>' requested here rgb_mat(i, _) = na_mat; ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:73:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:74:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:75:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:79:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:81:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:83:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:72:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:158:25: note: in instantiation of function template specialization 'Rcpp::MatrixRow<14>::operator=<14, true, Rcpp::Vector<14>>' requested here rgb_mat(i, _) = Rcpp::NumericVector::create(r,g,b,a); ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:73:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:74:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:75:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:79:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:81:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:83:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:215:47: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here rgb_vec[ position_counter ] = na_mat_d(0, 0); ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_expression' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_sugar_expression' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:219:44: note: in instantiation of function template specialization 'Rcpp::Vector<13>::Vector' requested here Rcpp::IntegerVector summary_values = Rcpp::seq_len( lvls.length() ); ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:59: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/SubMatrix.h:38:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nc( col_range_.size() ), ~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:170:14: note: in instantiation of member function 'Rcpp::SubMatrix<14>::SubMatrix' requested here return Sub( const_cast(*this), row_range, Range(0,ncol()-1) ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/list/list.hpp:115:56: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here Rcpp::NumericMatrix these_colours = colours( elements, Rcpp::_ ); ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:59: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/SubMatrix.h:39:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nr( row_range_.size() ) ~~~~~~~~~~~^~~~~~ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_expression' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_sugar_expression' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/list/list.hpp:153:44: note: in instantiation of function template specialization 'Rcpp::Vector<13>::Vector' requested here Rcpp::IntegerVector elements = Rcpp::seq( vector_position, end_position ); ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:538:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:161:42: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here return jsonify::writers::simple::write_value( writer, im, unbox, by ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:544:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:712:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:166:42: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here return jsonify::writers::simple::write_value( writer, lm, unbox, by ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:719:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:655:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_row = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:171:42: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here return jsonify::writers::simple::write_value( writer, sm, unbox, by ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:661:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:102:55: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:360:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, nv, unbox, digits, numeric_dates ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/scalars.hpp:36:18: warning: implicit conversion loses integer precision: 'int' to 'value_type' (aka 'char') [-Wimplicit-int-conversion] str[1] = toupper( str[1] ); ~ ^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:111:38: note: in instantiation of function template specialization 'jsonify::writers::scalars::write_value>>>' requested here jsonify::writers::scalars::write_value( writer, nv[i], digits ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:360:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, nv, unbox, digits, numeric_dates ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/scalars.hpp:38:18: warning: implicit conversion loses integer precision: 'int' to 'value_type' (aka 'char') [-Wimplicit-int-conversion] str[0] = toupper(str[0]); ~ ^~~~~~~~~~~~~~~ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:230:55: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:365:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, iv, unbox, numeric_dates, factors_as_string ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:564:40: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:87:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, nm, row, unbox ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:80:40: note: in instantiation of function template specialization 'jsonify::writers::complex::switch_vector>>>' requested here jsonify::writers::complex::switch_vector( ^ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:503:40: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:99:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, im, row, unbox ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:80:40: note: in instantiation of function template specialization 'jsonify::writers::complex::switch_vector>>>' requested here jsonify::writers::complex::switch_vector( ^ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:678:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_row = mat( row, Rcpp::_ ); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:110:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, lm, row, unbox ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:80:40: note: in instantiation of function template specialization 'jsonify::writers::complex::switch_vector>>>' requested here jsonify::writers::complex::switch_vector( ^ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:623:39: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:120:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, sm, row, unbox ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:80:40: note: in instantiation of function template specialization 'jsonify::writers::complex::switch_vector>>>' requested here jsonify::writers::complex::switch_vector( ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<10>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<10>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:136:33: note: in instantiation of function template specialization 'Rcpp::Vector<10>::Vector>' requested here Rcpp::LogicalVector v = mat( i, Rcpp::_ ); ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:405:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:140:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, v, unbox ); ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<10>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<10>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:150:33: note: in instantiation of function template specialization 'Rcpp::Vector<10>::Vector>' requested here Rcpp::LogicalVector v = mat( Rcpp::_, i ); ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:184:33: note: in instantiation of function template specialization 'Rcpp::Vector<13>::Vector>' requested here Rcpp::IntegerVector v = mat( i, Rcpp::_ ); ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:382:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:188:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, v, unbox ); ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:198:33: note: in instantiation of function template specialization 'Rcpp::Vector<13>::Vector>' requested here Rcpp::IntegerVector v = mat( Rcpp::_, i ); ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:234:33: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here Rcpp::NumericVector v = mat( i, Rcpp::_ ); ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:360:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:238:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, v, unbox, digits ); ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:282:32: note: in instantiation of function template specialization 'Rcpp::Vector<16>::Vector>' requested here Rcpp::StringVector v = mat( i, Rcpp::_ ); ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:26:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:286:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, v, unbox ); ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:61: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixColumn.h:39:57: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] start(parent.begin() + static_cast(i) * n ), ~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:158:14: note: in instantiation of member function 'Rcpp::MatrixColumn<16>::MatrixColumn' requested here return Column( *this, i ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:296:35: note: in instantiation of member function 'Rcpp::Matrix<16>::operator()' requested here Rcpp::StringVector v = mat( Rcpp::_, i ); ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:61: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixColumn.h:40:90: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] const_start(const_cast(parent).begin() + static_cast(i) * n) ~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:296:32: note: in instantiation of function template specialization 'Rcpp::Vector<16>::Vector>' requested here Rcpp::StringVector v = mat( Rcpp::_, i ); ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:32:64: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] std::copy( this_vec.begin(), this_vec.end(), v.begin() + i ); ~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:53:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_vector<16>' requested here return simplify_vector< STRSXP >( x, n ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:180:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<13>' requested here return simplify_matrix< INTSXP >( out, n_col, n_row ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:183:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<14>' requested here return simplify_matrix< REALSXP >( out, n_col, n_row ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:186:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<10>' requested here return simplify_matrix< LGLSXP >( out, n_col, n_row ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:164:9: note: in instantiation of member function 'Rcpp::Matrix<10>::operator()' requested here mat( i, j ) = this_val; ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:186:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<10>' requested here return simplify_matrix< LGLSXP >( out, n_col, n_row ); ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:192:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<16>' requested here return simplify_matrix< STRSXP >( out, n_col, n_row ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:164:9: note: in instantiation of member function 'Rcpp::Matrix<16>::operator()' requested here mat( i, j ) = this_val; ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:192:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<16>' requested here return simplify_matrix< STRSXP >( out, n_col, n_row ); ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json_utils.hpp:42:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'SizeType' (aka 'unsigned int') [-Wshorten-64-to-32] curr_dtype = doc[i].GetType(); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:207:14: note: in instantiation of function template specialization 'jsonify::from_json::get_dtypes>>' requested here dtypes = get_dtypes(doc); ^ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json_utils.hpp:52:16: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'SizeType' (aka 'unsigned int') [-Wshorten-64-to-32] if(doc[i].IsDouble()) { ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json_utils.hpp:42:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'SizeType' (aka 'unsigned int') [-Wshorten-64-to-32] curr_dtype = doc[i].GetType(); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:136:18: note: in instantiation of function template specialization 'jsonify::from_json::get_dtypes>>' requested here dtypes = get_dtypes( json ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:190:12: note: in instantiation of function template specialization 'jsonify::from_json::parse_json>>' requested here return parse_json( json, simplify, fill_na ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:37:32: note: in instantiation of function template specialization 'jsonify::from_json::from_json>>' requested here return jsonify::from_json::from_json( doc, simplify, fill_na ); ^ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json_utils.hpp:52:16: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'SizeType' (aka 'unsigned int') [-Wshorten-64-to-32] if(doc[i].IsDouble()) { ~~~ ^ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:5: /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:20:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_id_cols = id_cols.size(); ~~~~~~~~~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:48:12: note: in instantiation of function template specialization 'geometries::utils::other_columns<16>' requested here return other_columns( df_names, id_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:21:33: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_other_cols = all_cols.size(); ~~~~~~~~~~~~ ~~~~~~~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:20:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_id_cols = id_cols.size(); ~~~~~~~~~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:57:12: note: in instantiation of function template specialization 'geometries::utils::other_columns<13>' requested here return other_columns( other_cols, id_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:21:33: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_other_cols = all_cols.size(); ~~~~~~~~~~~~ ~~~~~~~~~^~~~~~ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:6: /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:27:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::IntegerMatrix im( unique_n, 2); ~~ ^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:88:16: note: in instantiation of function template specialization 'geometries::utils::id_positions<13>' requested here return id_positions( iv_line_ids, iv_unique_ids ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:47:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:52:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i - 1; ~ ~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:59:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:64:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:27:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::IntegerMatrix im( unique_n, 2); ~~ ^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:93:16: note: in instantiation of function template specialization 'geometries::utils::id_positions<14>' requested here return id_positions( nv_line_ids, nv_unique_ids ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:47:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:52:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i - 1; ~ ~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:59:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:64:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:27:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::IntegerMatrix im( unique_n, 2); ~~ ^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:98:16: note: in instantiation of function template specialization 'geometries::utils::id_positions<16>' requested here return id_positions( sv_line_ids, sv_unique_ids ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:47:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:52:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i - 1; ~ ~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:59:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:64:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i; ~ ^ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:106:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m( n_row, n_col ); ~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:313:18: note: in instantiation of function template specialization 'geometries::matrix::to_geometry_matrix<13>' requested here return to_geometry_matrix( iv, geometry_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:106:30: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m( n_row, n_col ); ~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:89:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m2( n_row, n_col ); ~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:316:18: note: in instantiation of function template specialization 'geometries::matrix::to_geometry_matrix<13>' requested here return to_geometry_matrix( im, geometry_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:89:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m2( n_row, n_col ); ~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:92:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] m2( Rcpp::_, i ) = m( Rcpp::_, this_col ); ~~ ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:106:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m( n_row, n_col ); ~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:322:18: note: in instantiation of function template specialization 'geometries::matrix::to_geometry_matrix<14>' requested here return to_geometry_matrix( nv, geometry_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:106:30: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m( n_row, n_col ); ~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:89:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m2( n_row, n_col ); ~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:325:18: note: in instantiation of function template specialization 'geometries::matrix::to_geometry_matrix<14>' requested here return to_geometry_matrix( nm, geometry_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:89:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m2( n_row, n_col ); ~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:92:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] m2( Rcpp::_, i ) = m( Rcpp::_, this_col ); ~~ ^ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:5: /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:26:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > last_row = mat( n_row - 1, Rcpp::_ ); ~~~ ~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:69:22: note: in instantiation of function template specialization 'geometries::utils::matrix_is_closed<13>' requested here bool is_closed = matrix_is_closed( mat ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:85:20: note: in instantiation of function template specialization 'geometries::utils::close_matrix<13>' requested here lst[i] = close_matrix( im ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:48:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:70:12: note: in instantiation of function template specialization 'geometries::utils::close_matrix<13>' requested here return close_matrix( mat, is_closed ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:85:20: note: in instantiation of function template specialization 'geometries::utils::close_matrix<13>' requested here lst[i] = close_matrix( im ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:48:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:53:35: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nv[ rng ] = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:55:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] mat2( Rcpp::_ , i ) = nv; ~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/RangeIndexer.h:63:6: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] UNROLL_LOOP(=) ^~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/RangeIndexer.h:28:32: note: expanded from macro 'UNROLL_LOOP' int __trip_count = (size_) >> 2; \ ~~~~~~~~~~~~ ~~~~~~~~^~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:53:19: note: in instantiation of function template specialization 'Rcpp::internal::RangeIndexer<13, true, Rcpp::Vector<13>>::operator=>' requested here nv[ rng ] = mat( Rcpp::_, i ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:70:12: note: in instantiation of function template specialization 'geometries::utils::close_matrix<13>' requested here return close_matrix( mat, is_closed ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:85:20: note: in instantiation of function template specialization 'geometries::utils::close_matrix<13>' requested here lst[i] = close_matrix( im ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:48:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:70:12: note: in instantiation of function template specialization 'geometries::utils::close_matrix<14>' requested here return close_matrix( mat, is_closed ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:90:20: note: in instantiation of function template specialization 'geometries::utils::close_matrix<14>' requested here lst[i] = close_matrix( nm ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:48:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:53:35: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nv[ rng ] = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:55:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] mat2( Rcpp::_ , i ) = nv; ~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/RangeIndexer.h:63:6: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] UNROLL_LOOP(=) ^~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/RangeIndexer.h:28:32: note: expanded from macro 'UNROLL_LOOP' int __trip_count = (size_) >> 2; \ ~~~~~~~~~~~~ ~~~~~~~~^~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:53:19: note: in instantiation of function template specialization 'Rcpp::internal::RangeIndexer<14, true, Rcpp::Vector<14>>::operator=>' requested here nv[ rng ] = mat( Rcpp::_, i ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:70:12: note: in instantiation of function template specialization 'geometries::utils::close_matrix<14>' requested here return close_matrix( mat, is_closed ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:90:20: note: in instantiation of function template specialization 'geometries::utils::close_matrix<14>' requested here lst[i] = close_matrix( nm ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:26:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > last_row = mat( n_row - 1, Rcpp::_ ); ~~~ ~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:92:49: note: in instantiation of function template specialization 'geometries::utils::matrix_is_closed<14>' requested here bool is_closed = geometries::utils::matrix_is_closed( res_mat ); ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/RangeIndexer.h:59:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] start(vec_.begin() + range_.get_start() ), size_( range_.size() ) {} ~ ~~~~~~~^~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:547:16: note: in instantiation of member function 'Rcpp::internal::RangeIndexer<19, true, Rcpp::Vector<19>>::RangeIndexer' requested here return Indexer( const_cast(*this), range ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:156:32: note: in instantiation of member function 'Rcpp::Vector<19>::operator[]' requested here Rcpp::_["coords"] = res[ coord_rng ] ^ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:7: /Users/ripley/R/Library/geometries/include/geometries/utils/lists/as_list.hpp:26:45: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > v = x( Rcpp::_, i ); ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/as_list.hpp:46:18: note: in instantiation of function template specialization 'geometries::utils::as_list<13>' requested here return as_list( im ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/as_list.hpp:26:45: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > v = x( Rcpp::_, i ); ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/as_list.hpp:55:18: note: in instantiation of function template specialization 'geometries::utils::as_list<14>' requested here return as_list( nm ); ^ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:8: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/sfg.hpp:8: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/sfg_polygon.hpp:7: /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:27:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > last_row = mat( n_row - 1, Rcpp::_ ); ~~~ ~~~~~~^~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:72:18: note: in instantiation of function template specialization 'sfheaders::polygon_utils::close_polygon<13>' requested here lst[i] = close_polygon( im, close ); // #nocov ^ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:37:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ^~~~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:37:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ~~~~~~^~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:42:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] v[ rng ] = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:44:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] mat2( Rcpp::_ , i ) = v; ~~~~ ^ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:27:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > last_row = mat( n_row - 1, Rcpp::_ ); ~~~ ~~~~~~^~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:77:18: note: in instantiation of function template specialization 'sfheaders::polygon_utils::close_polygon<14>' requested here lst[i] = close_polygon( nm, close ); ^ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:37:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ^~~~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:37:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ~~~~~~^~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:42:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] v[ rng ] = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:44:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] mat2( Rcpp::_ , i ) = v; ~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:334:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] inline iterator end() { return cache.get() + size() ; } ~ ^~~~~~ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:20:57: note: in instantiation of member function 'Rcpp::Vector<19>::end' requested here for (Rcpp::List::iterator it = sfg.begin(); it != sfg.end(); it++) { ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:72:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:126:31: note: in instantiation of function template specialization 'Rcpp::MatrixRow<14>::operator=<14, true, Rcpp::MatrixColumn<14>>' requested here a_polygon(j, Rcpp::_) = vb(Rcpp::_, this_index); ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:72:29: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:73:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:73:29: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:74:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:74:29: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:75:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:75:29: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:79:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:79:31: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:81:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:81:31: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:83:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from geojson.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:83:31: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:601:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:130:33: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value(writer, a_polygon); ^ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:607:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_col = mat( Rcpp::_, i ); ~~~ ^ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:11: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:83:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int sfglength = geometries::utils::sexp_length( sfg ); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:225:36: note: in instantiation of function template specialization 'geojsonsf::write_geometry::write_geometry>>>' requested here geojsonsf::write_geometry::write_geometry( writer, sfc, i, digits ); ^ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:10: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/write_geojson.hpp:6: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:6: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:193:43: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = line(i, Rcpp::_ ); ~~~~ ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:223:7: note: in instantiation of function template specialization 'geojsonsf::writers::linestring_to_geojson>>>' requested here linestring_to_geojson( writer, iv, digits ); ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:69:24: note: in instantiation of function template specialization 'geojsonsf::writers::linestring_to_geojson>>>' requested here geojsonsf::writers::linestring_to_geojson( writer, sfg, digits ); ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:94:31: note: in instantiation of function template specialization 'geojsonsf::write_geojson::write_geojson>>>' requested here geojsonsf::write_geojson::write_geojson(writer, sfg, geom_type, cls, digits ); ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:225:36: note: in instantiation of function template specialization 'geojsonsf::write_geometry::write_geometry>>>' requested here geojsonsf::write_geometry::write_geometry( writer, sfc, i, digits ); ^ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:10: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/write_geojson.hpp:6: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:6: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:208:43: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = line(i, Rcpp::_ ); ~~~~ ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:228:7: note: in instantiation of function template specialization 'geojsonsf::writers::linestring_to_geojson>>>' requested here linestring_to_geojson( writer, nv, digits ); ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:69:24: note: in instantiation of function template specialization 'geojsonsf::writers::linestring_to_geojson>>>' requested here geojsonsf::writers::linestring_to_geojson( writer, sfg, digits ); ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:94:31: note: in instantiation of function template specialization 'geojsonsf::write_geojson::write_geojson>>>' requested here geojsonsf::write_geojson::write_geojson(writer, sfg, geom_type, cls, digits ); ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:225:36: note: in instantiation of function template specialization 'geojsonsf::write_geometry::write_geometry>>>' requested here geojsonsf::write_geometry::write_geometry( writer, sfc, i, digits ); ^ In file included from geojson.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:11: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:42:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int sfglength = geometries::utils::sexp_length( sfg ); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:394:36: note: in instantiation of function template specialization 'geojsonsf::write_geometry::write_geometry>>>' requested here geojsonsf::write_geometry::write_geometry( writer, sfg, cls, digits ); ^ 402 warnings generated. clang++ -mmacos-version-min=14.3 -std=gnu++14 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -DSTRICT_R_HEADERS -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/BH/include' -I'/Users/ripley/R/Library/colourvalues/include' -I'/Users/ripley/R/Library/geojsonsf/include' -I'/Users/ripley/R/Library/geometries/include' -I'/Users/ripley/R/Library/interleave/include' -I'/Users/ripley/R/Library/jsonify/include' -I'/Users/ripley/R/Library/rapidjsonr/include' -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/sfheaders/include' -I'/Users/ripley/R/Library/spatialwidget/include' -isystem /opt/R/arm64/include -I../inst/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c mesh.cpp -o mesh.o In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:5: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours.hpp:4: /Users/ripley/R/Library/colourvalues/include/colourvalues/scale/scale.hpp:43:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = x.size(); ~ ~~^~~~~~ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:5: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours.hpp:5: /Users/ripley/R/Library/colourvalues/include/colourvalues/utils/utils.hpp:10:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = v.size(); ~ ~~^~~~~~ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:5: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours.hpp:7: /Users/ripley/R/Library/colourvalues/include/colourvalues/convert/convert_colours.hpp:50:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = hex_strings.size(); ~ ~~~~~~~~~~~~^~~~~~ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:7: /Users/ripley/R/Library/colourvalues/include/colourvalues/alpha/alpha.hpp:70:27: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_alpha = alpha.size(); ~~~~~~~ ~~~~~~^~~~~~ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:10: /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:73:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] r = round( spline_red( this_x ) * 255 ) ; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:74:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] g = round( spline_green( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:75:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] b = round( spline_blue( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:84:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] a = round( spline_alpha( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:86:17: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] a = alpha[i]; ~ ^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:88:17: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] a = alpha[0]; // should be length 5, but all the same ~ ^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:141:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] r = round( spline_red( this_x ) * 255 ) ; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:142:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] g = round( spline_green( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:143:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] b = round( spline_blue( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:152:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] a = round( spline_alpha( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:154:17: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] a = alpha[i]; ~ ^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:156:17: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] a = alpha[0]; // should be length 5, but all the same ~ ^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:117:33: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix rgb_mat(n, cols); ~~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:138:17: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] rgb_mat(i, _) = na_mat; ~~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:158:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] rgb_mat(i, _) = Rcpp::NumericVector::create(r,g,b,a); ~~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:160:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] rgb_mat(i, _) = Rcpp::NumericVector::create(r,g,b); ~~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:224:42: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] r = roundf( spline_red( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:225:44: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] g = roundf( spline_green( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:226:43: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] b = roundf( spline_blue( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:236:48: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] a = roundf( spline_alpha( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:332:42: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] r = roundf( spline_red( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:333:44: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] g = roundf( spline_green( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:334:43: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] b = roundf( spline_blue( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:80:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:96:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:145:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:146:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:160:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:206:65: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( 0, x.size(), palette.ncol() ); ~~~~~~~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:222:26: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int red_size = red.size(); ~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:243:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:244:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:262:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:289:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:305:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:331:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:332:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:346:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_rgb.hpp:6: /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:76:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:93:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:121:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:122:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:136:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:161:65: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( 0, x.size(), palette.ncol() ); ~~~~~~~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:176:26: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int red_size = red.size(); ~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:196:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:197:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:213:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:240:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:256:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:282:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:283:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:297:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:8: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_rgb_interleaved.hpp:6: /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:86:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:102:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:136:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:137:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:151:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:182:65: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( 0, x.size(), palette.ncol() ); ~~~~~~~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:197:26: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int red_size = red.size(); ~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:223:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:224:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:240:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:273:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:289:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:321:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:322:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:336:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/scalars.hpp:36:18: warning: implicit conversion loses integer precision: 'int' to 'value_type' (aka 'char') [-Wimplicit-int-conversion] str[1] = toupper( str[1] ); ~ ^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/scalars.hpp:38:18: warning: implicit conversion loses integer precision: 'int' to 'value_type' (aka 'char') [-Wimplicit-int-conversion] str[0] = toupper(str[0]); ~ ^~~~~~~~~~~~~~~ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:26:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:102:55: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:230:55: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:360:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:382:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:405:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:503:40: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:538:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:544:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:564:40: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:601:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:607:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:623:39: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:655:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_row = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:661:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:678:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_row = mat( row, Rcpp::_ ); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:712:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:719:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_col = mat( Rcpp::_, i ); ~~~ ^ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:136:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector v = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:150:47: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector v = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:184:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector v = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:198:47: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector v = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:234:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector v = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:248:47: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector v = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:282:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector v = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:296:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector v = mat( Rcpp::_, i ); ~~~ ^ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:469:23: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] int r_type = it.second; ~~~~~~ ~~~^~~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:600:23: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] int r_type = it.second; ~~~~~~ ~~~^~~~~~ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:5: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:6: /Users/ripley/R/Library/geometries/include/geometries/utils/sexp/sexp.hpp:110:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] ians[0] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/sexp/sexp.hpp:130:23: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] ians[ i ] = j; ~ ^ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:5: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:7: /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:20:16: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = iv.size(); ~ ~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:34:16: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = sv.size(); ~ ~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:50:28: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = values_to_find.size(); ~ ~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:65:28: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = values_to_find.size(); ~ ~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:103:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_1 = iv_1.length(); ~~~ ~~~~~^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:104:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_2 = iv_2.length(); ~~~ ~~~~~^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:151:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_1 = nv_1.length(); ~~~ ~~~~~^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:152:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_2 = nv_2.length(); ~~~ ~~~~~^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:189:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_1 = sv_1.length(); ~~~ ~~~~~^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:190:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_2 = sv_2.length(); ~~~ ~~~~~^~~~~~~~ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:5: /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:55:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_col = df.ncol(); ~~~~~ ~~~^~~~~~ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:6: /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:27:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::IntegerMatrix im( unique_n, 2); ~~ ^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:47:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:52:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i - 1; ~ ~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:59:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:64:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i; ~ ^ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:7: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/lists/list.hpp:11: /Users/ripley/R/Library/geometries/include/geometries/utils/lists/unlist.hpp:110:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int end_position = list_position + n_elements[0] - 1; ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/unlist.hpp:140:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int end_position = list_position + n_elements[0] - 1; ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/unlist.hpp:170:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int end_position = list_position + n_elements[0] - 1; ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/unlist.hpp:200:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int end_position = list_position + n_elements[0] - 1; ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:35:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:35:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:39:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:64:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:64:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:68:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:132:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:132:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:139:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:168:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:168:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:174:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:216:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:216:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:222:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:256:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:256:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:262:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:49:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int j = n_id_cols; ~ ^~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:81:33: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] nelems[ res_counter ] = n_elements; ~ ^~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:83:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] sums[ res_counter ] = cumulative_size; ~ ^~~~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:87:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] end = i - 1; ~ ~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:111:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] start = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:117:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] nelems[ res_counter ] = n_elements; ~ ^~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:120:27: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] sums[ res_counter ] = cumulative_size; ~ ^~~~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:125:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] end = i - 1; ~ ~~^~~ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:30:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector nv = geometry_mat( i, Rcpp::_ ); ~~~~~~~~~~~~ ^ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:8: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/sfg.hpp:4: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/point/sfg_point.hpp:5: /Users/ripley/R/Library/sfheaders/include/sfheaders/utils/utils.hpp:122:26: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] int_id_column[0] = col_counter; ~ ^~~~~~~~~~~ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:8: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/sfg.hpp:4: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/point/sfg_point.hpp:10: In file included from /Users/ripley/R/Library/geometries/include/geometries/nest/nest.hpp:6: /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:142:30: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::IntegerMatrix res( n, 5 ); ~~~ ^ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:159:21: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] res( i, 0 ) = cumulative_coords; ~ ^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:161:39: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] res( i, 1 ) = cumulative_coords - 1; ~ ~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:162:21: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] res( i, 2 ) = geom_dimension; ~ ^~~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:163:21: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] res( i, 3 ) = nest; ~ ^~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:199:62: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] im(0, 1) = geometries::utils::sexp_n_row( geometries ) - 1; ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:200:18: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] im(0, 2) = max_dimension; ~ ^~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:201:18: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] im(0, 3) = max_nest; // level of nesting (a matrix is not nested in a list) ~ ^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:222:18: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] im(0, 2) = max_dimension; ~ ^~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:223:18: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] im(0, 3) = max_nest; ~ ^~~~~~~~ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:9: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfc/sfc.hpp:5: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfc/point/sfc_point.hpp:11: /Users/ripley/R/Library/geometries/include/geometries/bbox/bbox.hpp:156:33: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'R_xlen_t' (aka 'long') [-Wfloat-conversion] Rcpp::NumericVector x = df[ geometry_cols[0] ]; ~~ ^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/bbox/bbox.hpp:157:33: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'R_xlen_t' (aka 'long') [-Wfloat-conversion] Rcpp::NumericVector y = df[ geometry_cols[1] ]; ~~ ^~~~~~~~~~~~~~~~ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:10: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/sf.hpp:5: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/point/sf_point.hpp:8: /Users/ripley/R/Library/geometries/include/geometries/utils/rleid/rleid.hpp:21:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int j = n_id_cols; ~ ^~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/rleid/rleid.hpp:72:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] ians[ counter ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/rleid/rleid.hpp:81:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] ians[ counter ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/rleid/rleid.hpp:90:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] ians[ counter ] = i; ~ ^ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:10: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/sf.hpp:5: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/point/sf_point.hpp:10: /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/sf_utils.hpp:152:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] idx[ k ] = k + start_idx; ~ ~~^~~~~~~~~~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/sf_utils.hpp:155:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] idx[ res_size - 1 ] = start_idx; ~ ^~~~~~~~~ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:21: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/colour/colour.hpp:8: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/palette/palette.hpp:7: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/utils.hpp:5: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/factors/factors.hpp:13:23: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_cols = data.length(); ~~~~~~ ~~~~~^~~~~~~~ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:21: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/colour/colour.hpp:8: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/palette/palette.hpp:7: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/utils.hpp:8: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/colour/colour.hpp:15:19: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int len = str.length(); ~~~ ~~~~^~~~~~~~ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:21: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/colour/colour.hpp:8: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/palette/palette.hpp:7: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/utils.hpp:9: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/dates/dates.hpp:12:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = v.size(); ~ ~~^~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/dates/dates.hpp:58:23: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_cols = data.length(); ~~~~~~ ~~~~~^~~~~~~~ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:21: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/colour/colour.hpp:10: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/legend/legend.hpp:67:26: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = legend_types.size(); ~ ~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/legend/legend.hpp:98:23: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n = lege_list.size(); ~ ~~~~~~~~~~^~~~~~ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:22: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/data_construction/data_construction.hpp:43:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = params.size(); ~ ~~~~~~~^~~~~~ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:9: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geometries/sizes.hpp:21:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] return multiline.size(); ~~~~~~ ~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geometries/sizes.hpp:25:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] return multipolygon.size(); ~~~~~~ ~~~~~~~~~~~~~^~~~~~ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:10: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/write_geojson.hpp:6: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:6: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:193:43: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = line(i, Rcpp::_ ); ~~~~ ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:208:43: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = line(i, Rcpp::_ ); ~~~~ ^ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:10: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/write_geojson.hpp:6: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:126:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector pts = mls(geometry_index, Rcpp::_ ); ~~~ ^~~~~~~~~~~~~~ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:11: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:42:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int sfglength = geometries::utils::sexp_length( sfg ); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:83:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int sfglength = geometries::utils::sexp_length( sfg ); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:133:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int sfglength = geometries::utils::sexp_length( sfg ); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:65:26: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] int this_index = polygon_indeces[j]; ~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:123:26: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] int this_index = polygon_indeces[j]; ~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:59:37: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] polygon_indeces = ib(Rcpp::_, i); ~~ ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:102:37: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] polygon_indeces = ib(Rcpp::_, i); ~~ ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:103:45: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix a_polygon( n_row, n_coords ); ~~~~~~~~~ ^~~~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:103:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix a_polygon( n_row, n_coords ); ~~~~~~~~~ ^~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:126:19: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] a_polygon(j, Rcpp::_) = vb(Rcpp::_, this_index); ~~~~~~~~~ ^ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:26: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/parameters/parameters.hpp:36:27: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_params = params.size(); ~~~~~~~~ ~~~~~~~^~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/parameters/parameters.hpp:159:119: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector colours_remove = spatialwidget::utils::map::extract_map( colour_columns, colour_columns.size() * 2 ); ~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from mesh.cpp:5: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:498:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] expanded_index[ counter + j ] = i; ~ ^ mesh.cpp:48:21: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] int this_index = polygon_indeces[j]; ~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ mesh.cpp:42:27: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] polygon_indeces = ib(_, i); ~~ ^ mesh.cpp:43:41: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix a_polygon( n_row, n_coords ); ~~~~~~~~~ ^~~~~~~~ mesh.cpp:43:34: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix a_polygon( n_row, n_coords ); ~~~~~~~~~ ^~~~~ mesh.cpp:50:14: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] a_polygon(j, _) = vb(_, this_index); ~~~~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:334:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] inline iterator end() { return cache.get() + size() ; } ~ ^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1116:29: note: in instantiation of member function 'Rcpp::Vector<16>::end' requested here std::fill( begin(), end(), converter_type::get( u ) ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:330:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill__dispatch' requested here fill__dispatch( typename traits::is_trivial::type(), u ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1101:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill' requested here fill(t) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1089:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill_or_generate__impl' requested here fill_or_generate__impl( t, typename traits::is_generator::type() ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:172:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill_or_generate' requested here fill_or_generate( u ) ; ^ ../inst/include/mapdeck_defaults.hpp:106:22: note: in instantiation of function template specialization 'Rcpp::Vector<16>::Vector' requested here Rcpp::StringVector sv(n, "middle"); ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:177: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/Proxy_Iterator.h:110:23: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] return proxy.index - other.proxy.index ; ~~~~~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/fill.h:38:35: note: in instantiation of member function 'Rcpp::internal::Proxy_Iterator>::operator-' requested here _VSTD::fill_n(__first, __last - __first, __value); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/fill.h:46:12: note: in instantiation of function template specialization 'std::__fill>, SEXPREC *>' requested here _VSTD::__fill(__first, __last, __value, typename iterator_traits<_ForwardIterator>::iterator_category()); ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1116:14: note: in instantiation of function template specialization 'std::fill>, SEXPREC *>' requested here std::fill( begin(), end(), converter_type::get( u ) ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:330:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill__dispatch' requested here fill__dispatch( typename traits::is_trivial::type(), u ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1101:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill' requested here fill(t) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1089:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill_or_generate__impl' requested here fill_or_generate__impl( t, typename traits::is_generator::type() ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:172:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill_or_generate' requested here fill_or_generate( u ) ; ^ ../inst/include/mapdeck_defaults.hpp:106:22: note: in instantiation of function template specialization 'Rcpp::Vector<16>::Vector' requested here Rcpp::StringVector sv(n, "middle"); ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] return lookup__impl(vec.begin(), vec.size() ) ; ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<16>::lookup' requested here return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/utils/utils.hpp:70:37: note: in instantiation of function template specialization 'Rcpp::match<16, true, Rcpp::Vector<16>, true, Rcpp::Vector<16>>' requested here Rcpp::IntegerVector out = Rcpp::match( x, lvls ); ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1041:13: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here import_expression(x, n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1053:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::assign_sugar_expression>' requested here assign_sugar_expression( x.get_ref() ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:247:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::assign_object>' requested here assign_object( x, typename traits::is_sugar_expression::type() ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/palette_utils/palette_utils.hpp:50:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::operator=>' requested here red = palette(_, 0); ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/convert/convert_colours.hpp:63:12: note: in instantiation of member function 'Rcpp::Matrix<13>::operator()' requested here mat(i, 0) = hex_to_rgba( hex, 1, 2 ); ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:59: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/SubMatrix.h:38:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nc( col_range_.size() ), ~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:167:14: note: in instantiation of member function 'Rcpp::SubMatrix<13>::SubMatrix' requested here return Sub( const_cast(*this), Range(0,nrow()-1) , col_range ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/convert/convert_colours.hpp:99:16: note: in instantiation of member function 'Rcpp::Matrix<13>::operator()' requested here mat = mat(Rcpp::_, Rcpp::Range(0,2) ); ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:59: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/SubMatrix.h:39:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nr( row_range_.size() ) ~~~~~~~~~~~^~~~~~ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:72:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:138:23: note: in instantiation of function template specialization 'Rcpp::MatrixRow<14>::operator=<13, true, Rcpp::Vector<13>>' requested here rgb_mat(i, _) = na_mat; ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:73:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:74:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:75:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:79:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:81:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:83:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:72:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:158:25: note: in instantiation of function template specialization 'Rcpp::MatrixRow<14>::operator=<14, true, Rcpp::Vector<14>>' requested here rgb_mat(i, _) = Rcpp::NumericVector::create(r,g,b,a); ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:73:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:74:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:75:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:79:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:81:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:83:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:215:47: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here rgb_vec[ position_counter ] = na_mat_d(0, 0); ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_expression' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_sugar_expression' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:219:44: note: in instantiation of function template specialization 'Rcpp::Vector<13>::Vector' requested here Rcpp::IntegerVector summary_values = Rcpp::seq_len( lvls.length() ); ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:59: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/SubMatrix.h:38:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nc( col_range_.size() ), ~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:170:14: note: in instantiation of member function 'Rcpp::SubMatrix<14>::SubMatrix' requested here return Sub( const_cast(*this), row_range, Range(0,ncol()-1) ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/list/list.hpp:115:56: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here Rcpp::NumericMatrix these_colours = colours( elements, Rcpp::_ ); ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:59: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/SubMatrix.h:39:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nr( row_range_.size() ) ~~~~~~~~~~~^~~~~~ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_expression' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_sugar_expression' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/list/list.hpp:153:44: note: in instantiation of function template specialization 'Rcpp::Vector<13>::Vector' requested here Rcpp::IntegerVector elements = Rcpp::seq( vector_position, end_position ); ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:538:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:161:42: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here return jsonify::writers::simple::write_value( writer, im, unbox, by ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:544:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:712:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:166:42: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here return jsonify::writers::simple::write_value( writer, lm, unbox, by ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:719:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:655:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_row = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:171:42: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here return jsonify::writers::simple::write_value( writer, sm, unbox, by ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:661:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:102:55: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:360:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, nv, unbox, digits, numeric_dates ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/scalars.hpp:36:18: warning: implicit conversion loses integer precision: 'int' to 'value_type' (aka 'char') [-Wimplicit-int-conversion] str[1] = toupper( str[1] ); ~ ^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:111:38: note: in instantiation of function template specialization 'jsonify::writers::scalars::write_value>>>' requested here jsonify::writers::scalars::write_value( writer, nv[i], digits ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:360:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, nv, unbox, digits, numeric_dates ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/scalars.hpp:38:18: warning: implicit conversion loses integer precision: 'int' to 'value_type' (aka 'char') [-Wimplicit-int-conversion] str[0] = toupper(str[0]); ~ ^~~~~~~~~~~~~~~ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:230:55: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:365:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, iv, unbox, numeric_dates, factors_as_string ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:564:40: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:87:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, nm, row, unbox ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:80:40: note: in instantiation of function template specialization 'jsonify::writers::complex::switch_vector>>>' requested here jsonify::writers::complex::switch_vector( ^ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:503:40: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:99:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, im, row, unbox ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:80:40: note: in instantiation of function template specialization 'jsonify::writers::complex::switch_vector>>>' requested here jsonify::writers::complex::switch_vector( ^ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:678:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_row = mat( row, Rcpp::_ ); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:110:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, lm, row, unbox ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:80:40: note: in instantiation of function template specialization 'jsonify::writers::complex::switch_vector>>>' requested here jsonify::writers::complex::switch_vector( ^ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:623:39: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:120:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, sm, row, unbox ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:80:40: note: in instantiation of function template specialization 'jsonify::writers::complex::switch_vector>>>' requested here jsonify::writers::complex::switch_vector( ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<10>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<10>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:136:33: note: in instantiation of function template specialization 'Rcpp::Vector<10>::Vector>' requested here Rcpp::LogicalVector v = mat( i, Rcpp::_ ); ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:405:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:140:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, v, unbox ); ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<10>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<10>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:150:33: note: in instantiation of function template specialization 'Rcpp::Vector<10>::Vector>' requested here Rcpp::LogicalVector v = mat( Rcpp::_, i ); ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:184:33: note: in instantiation of function template specialization 'Rcpp::Vector<13>::Vector>' requested here Rcpp::IntegerVector v = mat( i, Rcpp::_ ); ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:382:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:188:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, v, unbox ); ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:198:33: note: in instantiation of function template specialization 'Rcpp::Vector<13>::Vector>' requested here Rcpp::IntegerVector v = mat( Rcpp::_, i ); ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:234:33: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here Rcpp::NumericVector v = mat( i, Rcpp::_ ); ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:360:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:238:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, v, unbox, digits ); ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:282:32: note: in instantiation of function template specialization 'Rcpp::Vector<16>::Vector>' requested here Rcpp::StringVector v = mat( i, Rcpp::_ ); ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:26:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:286:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, v, unbox ); ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:61: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixColumn.h:39:57: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] start(parent.begin() + static_cast(i) * n ), ~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:158:14: note: in instantiation of member function 'Rcpp::MatrixColumn<16>::MatrixColumn' requested here return Column( *this, i ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:296:35: note: in instantiation of member function 'Rcpp::Matrix<16>::operator()' requested here Rcpp::StringVector v = mat( Rcpp::_, i ); ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:61: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixColumn.h:40:90: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] const_start(const_cast(parent).begin() + static_cast(i) * n) ~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:296:32: note: in instantiation of function template specialization 'Rcpp::Vector<16>::Vector>' requested here Rcpp::StringVector v = mat( Rcpp::_, i ); ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:32:64: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] std::copy( this_vec.begin(), this_vec.end(), v.begin() + i ); ~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:53:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_vector<16>' requested here return simplify_vector< STRSXP >( x, n ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:180:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<13>' requested here return simplify_matrix< INTSXP >( out, n_col, n_row ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:183:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<14>' requested here return simplify_matrix< REALSXP >( out, n_col, n_row ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:186:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<10>' requested here return simplify_matrix< LGLSXP >( out, n_col, n_row ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:164:9: note: in instantiation of member function 'Rcpp::Matrix<10>::operator()' requested here mat( i, j ) = this_val; ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:186:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<10>' requested here return simplify_matrix< LGLSXP >( out, n_col, n_row ); ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:192:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<16>' requested here return simplify_matrix< STRSXP >( out, n_col, n_row ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:164:9: note: in instantiation of member function 'Rcpp::Matrix<16>::operator()' requested here mat( i, j ) = this_val; ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:192:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<16>' requested here return simplify_matrix< STRSXP >( out, n_col, n_row ); ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json_utils.hpp:42:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'SizeType' (aka 'unsigned int') [-Wshorten-64-to-32] curr_dtype = doc[i].GetType(); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:207:14: note: in instantiation of function template specialization 'jsonify::from_json::get_dtypes>>' requested here dtypes = get_dtypes(doc); ^ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json_utils.hpp:52:16: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'SizeType' (aka 'unsigned int') [-Wshorten-64-to-32] if(doc[i].IsDouble()) { ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json_utils.hpp:42:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'SizeType' (aka 'unsigned int') [-Wshorten-64-to-32] curr_dtype = doc[i].GetType(); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:136:18: note: in instantiation of function template specialization 'jsonify::from_json::get_dtypes>>' requested here dtypes = get_dtypes( json ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:190:12: note: in instantiation of function template specialization 'jsonify::from_json::parse_json>>' requested here return parse_json( json, simplify, fill_na ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:37:32: note: in instantiation of function template specialization 'jsonify::from_json::from_json>>' requested here return jsonify::from_json::from_json( doc, simplify, fill_na ); ^ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json_utils.hpp:52:16: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'SizeType' (aka 'unsigned int') [-Wshorten-64-to-32] if(doc[i].IsDouble()) { ~~~ ^ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:5: /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:20:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_id_cols = id_cols.size(); ~~~~~~~~~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:48:12: note: in instantiation of function template specialization 'geometries::utils::other_columns<16>' requested here return other_columns( df_names, id_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:21:33: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_other_cols = all_cols.size(); ~~~~~~~~~~~~ ~~~~~~~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:20:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_id_cols = id_cols.size(); ~~~~~~~~~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:57:12: note: in instantiation of function template specialization 'geometries::utils::other_columns<13>' requested here return other_columns( other_cols, id_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:21:33: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_other_cols = all_cols.size(); ~~~~~~~~~~~~ ~~~~~~~~~^~~~~~ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:6: /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:27:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::IntegerMatrix im( unique_n, 2); ~~ ^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:88:16: note: in instantiation of function template specialization 'geometries::utils::id_positions<13>' requested here return id_positions( iv_line_ids, iv_unique_ids ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:47:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:52:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i - 1; ~ ~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:59:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:64:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:27:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::IntegerMatrix im( unique_n, 2); ~~ ^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:93:16: note: in instantiation of function template specialization 'geometries::utils::id_positions<14>' requested here return id_positions( nv_line_ids, nv_unique_ids ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:47:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:52:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i - 1; ~ ~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:59:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:64:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:27:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::IntegerMatrix im( unique_n, 2); ~~ ^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:98:16: note: in instantiation of function template specialization 'geometries::utils::id_positions<16>' requested here return id_positions( sv_line_ids, sv_unique_ids ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:47:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:52:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i - 1; ~ ~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:59:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:64:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i; ~ ^ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:106:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m( n_row, n_col ); ~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:313:18: note: in instantiation of function template specialization 'geometries::matrix::to_geometry_matrix<13>' requested here return to_geometry_matrix( iv, geometry_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:106:30: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m( n_row, n_col ); ~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:89:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m2( n_row, n_col ); ~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:316:18: note: in instantiation of function template specialization 'geometries::matrix::to_geometry_matrix<13>' requested here return to_geometry_matrix( im, geometry_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:89:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m2( n_row, n_col ); ~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:92:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] m2( Rcpp::_, i ) = m( Rcpp::_, this_col ); ~~ ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:106:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m( n_row, n_col ); ~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:322:18: note: in instantiation of function template specialization 'geometries::matrix::to_geometry_matrix<14>' requested here return to_geometry_matrix( nv, geometry_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:106:30: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m( n_row, n_col ); ~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:89:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m2( n_row, n_col ); ~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:325:18: note: in instantiation of function template specialization 'geometries::matrix::to_geometry_matrix<14>' requested here return to_geometry_matrix( nm, geometry_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:89:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m2( n_row, n_col ); ~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:92:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] m2( Rcpp::_, i ) = m( Rcpp::_, this_col ); ~~ ^ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:5: /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:26:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > last_row = mat( n_row - 1, Rcpp::_ ); ~~~ ~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:69:22: note: in instantiation of function template specialization 'geometries::utils::matrix_is_closed<13>' requested here bool is_closed = matrix_is_closed( mat ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:85:20: note: in instantiation of function template specialization 'geometries::utils::close_matrix<13>' requested here lst[i] = close_matrix( im ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:48:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:70:12: note: in instantiation of function template specialization 'geometries::utils::close_matrix<13>' requested here return close_matrix( mat, is_closed ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:85:20: note: in instantiation of function template specialization 'geometries::utils::close_matrix<13>' requested here lst[i] = close_matrix( im ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:48:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:53:35: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nv[ rng ] = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:55:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] mat2( Rcpp::_ , i ) = nv; ~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/RangeIndexer.h:63:6: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] UNROLL_LOOP(=) ^~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/RangeIndexer.h:28:32: note: expanded from macro 'UNROLL_LOOP' int __trip_count = (size_) >> 2; \ ~~~~~~~~~~~~ ~~~~~~~~^~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:53:19: note: in instantiation of function template specialization 'Rcpp::internal::RangeIndexer<13, true, Rcpp::Vector<13>>::operator=>' requested here nv[ rng ] = mat( Rcpp::_, i ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:70:12: note: in instantiation of function template specialization 'geometries::utils::close_matrix<13>' requested here return close_matrix( mat, is_closed ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:85:20: note: in instantiation of function template specialization 'geometries::utils::close_matrix<13>' requested here lst[i] = close_matrix( im ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:48:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:70:12: note: in instantiation of function template specialization 'geometries::utils::close_matrix<14>' requested here return close_matrix( mat, is_closed ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:90:20: note: in instantiation of function template specialization 'geometries::utils::close_matrix<14>' requested here lst[i] = close_matrix( nm ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:48:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:53:35: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nv[ rng ] = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:55:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] mat2( Rcpp::_ , i ) = nv; ~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/RangeIndexer.h:63:6: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] UNROLL_LOOP(=) ^~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/RangeIndexer.h:28:32: note: expanded from macro 'UNROLL_LOOP' int __trip_count = (size_) >> 2; \ ~~~~~~~~~~~~ ~~~~~~~~^~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:53:19: note: in instantiation of function template specialization 'Rcpp::internal::RangeIndexer<14, true, Rcpp::Vector<14>>::operator=>' requested here nv[ rng ] = mat( Rcpp::_, i ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:70:12: note: in instantiation of function template specialization 'geometries::utils::close_matrix<14>' requested here return close_matrix( mat, is_closed ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:90:20: note: in instantiation of function template specialization 'geometries::utils::close_matrix<14>' requested here lst[i] = close_matrix( nm ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:26:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > last_row = mat( n_row - 1, Rcpp::_ ); ~~~ ~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:92:49: note: in instantiation of function template specialization 'geometries::utils::matrix_is_closed<14>' requested here bool is_closed = geometries::utils::matrix_is_closed( res_mat ); ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/RangeIndexer.h:59:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] start(vec_.begin() + range_.get_start() ), size_( range_.size() ) {} ~ ~~~~~~~^~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:547:16: note: in instantiation of member function 'Rcpp::internal::RangeIndexer<19, true, Rcpp::Vector<19>>::RangeIndexer' requested here return Indexer( const_cast(*this), range ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:156:32: note: in instantiation of member function 'Rcpp::Vector<19>::operator[]' requested here Rcpp::_["coords"] = res[ coord_rng ] ^ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:7: /Users/ripley/R/Library/geometries/include/geometries/utils/lists/as_list.hpp:26:45: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > v = x( Rcpp::_, i ); ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/as_list.hpp:46:18: note: in instantiation of function template specialization 'geometries::utils::as_list<13>' requested here return as_list( im ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/as_list.hpp:26:45: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > v = x( Rcpp::_, i ); ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/as_list.hpp:55:18: note: in instantiation of function template specialization 'geometries::utils::as_list<14>' requested here return as_list( nm ); ^ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:8: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/sfg.hpp:8: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/sfg_polygon.hpp:7: /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:27:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > last_row = mat( n_row - 1, Rcpp::_ ); ~~~ ~~~~~~^~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:72:18: note: in instantiation of function template specialization 'sfheaders::polygon_utils::close_polygon<13>' requested here lst[i] = close_polygon( im, close ); // #nocov ^ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:37:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ^~~~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:37:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ~~~~~~^~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:42:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] v[ rng ] = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:44:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] mat2( Rcpp::_ , i ) = v; ~~~~ ^ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:27:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > last_row = mat( n_row - 1, Rcpp::_ ); ~~~ ~~~~~~^~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:77:18: note: in instantiation of function template specialization 'sfheaders::polygon_utils::close_polygon<14>' requested here lst[i] = close_polygon( nm, close ); ^ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:37:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ^~~~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:37:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ~~~~~~^~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:42:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] v[ rng ] = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:44:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] mat2( Rcpp::_ , i ) = v; ~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:334:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] inline iterator end() { return cache.get() + size() ; } ~ ^~~~~~ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:20:57: note: in instantiation of member function 'Rcpp::Vector<19>::end' requested here for (Rcpp::List::iterator it = sfg.begin(); it != sfg.end(); it++) { ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:72:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:126:31: note: in instantiation of function template specialization 'Rcpp::MatrixRow<14>::operator=<14, true, Rcpp::MatrixColumn<14>>' requested here a_polygon(j, Rcpp::_) = vb(Rcpp::_, this_index); ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:72:29: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:73:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:73:29: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:74:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:74:29: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:75:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:75:29: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:79:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:79:31: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:81:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:81:31: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:83:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from mesh.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:83:31: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:601:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:130:33: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value(writer, a_polygon); ^ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:607:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_col = mat( Rcpp::_, i ); ~~~ ^ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:11: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:83:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int sfglength = geometries::utils::sexp_length( sfg ); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:225:36: note: in instantiation of function template specialization 'geojsonsf::write_geometry::write_geometry>>>' requested here geojsonsf::write_geometry::write_geometry( writer, sfc, i, digits ); ^ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:10: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/write_geojson.hpp:6: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:6: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:193:43: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = line(i, Rcpp::_ ); ~~~~ ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:223:7: note: in instantiation of function template specialization 'geojsonsf::writers::linestring_to_geojson>>>' requested here linestring_to_geojson( writer, iv, digits ); ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:69:24: note: in instantiation of function template specialization 'geojsonsf::writers::linestring_to_geojson>>>' requested here geojsonsf::writers::linestring_to_geojson( writer, sfg, digits ); ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:94:31: note: in instantiation of function template specialization 'geojsonsf::write_geojson::write_geojson>>>' requested here geojsonsf::write_geojson::write_geojson(writer, sfg, geom_type, cls, digits ); ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:225:36: note: in instantiation of function template specialization 'geojsonsf::write_geometry::write_geometry>>>' requested here geojsonsf::write_geometry::write_geometry( writer, sfc, i, digits ); ^ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:10: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/write_geojson.hpp:6: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:6: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:208:43: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = line(i, Rcpp::_ ); ~~~~ ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:228:7: note: in instantiation of function template specialization 'geojsonsf::writers::linestring_to_geojson>>>' requested here linestring_to_geojson( writer, nv, digits ); ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:69:24: note: in instantiation of function template specialization 'geojsonsf::writers::linestring_to_geojson>>>' requested here geojsonsf::writers::linestring_to_geojson( writer, sfg, digits ); ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:94:31: note: in instantiation of function template specialization 'geojsonsf::write_geojson::write_geojson>>>' requested here geojsonsf::write_geojson::write_geojson(writer, sfg, geom_type, cls, digits ); ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:225:36: note: in instantiation of function template specialization 'geojsonsf::write_geometry::write_geometry>>>' requested here geojsonsf::write_geometry::write_geometry( writer, sfc, i, digits ); ^ In file included from mesh.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:11: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:42:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int sfglength = geometries::utils::sexp_length( sfg ); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:394:36: note: in instantiation of function template specialization 'geojsonsf::write_geometry::write_geometry>>>' requested here geojsonsf::write_geometry::write_geometry( writer, sfg, cls, digits ); ^ 407 warnings generated. clang++ -mmacos-version-min=14.3 -std=gnu++14 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -DSTRICT_R_HEADERS -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/BH/include' -I'/Users/ripley/R/Library/colourvalues/include' -I'/Users/ripley/R/Library/geojsonsf/include' -I'/Users/ripley/R/Library/geometries/include' -I'/Users/ripley/R/Library/interleave/include' -I'/Users/ripley/R/Library/jsonify/include' -I'/Users/ripley/R/Library/rapidjsonr/include' -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/sfheaders/include' -I'/Users/ripley/R/Library/spatialwidget/include' -isystem /opt/R/arm64/include -I../inst/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c od.cpp -o od.o In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:5: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours.hpp:4: /Users/ripley/R/Library/colourvalues/include/colourvalues/scale/scale.hpp:43:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = x.size(); ~ ~~^~~~~~ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:5: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours.hpp:5: /Users/ripley/R/Library/colourvalues/include/colourvalues/utils/utils.hpp:10:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = v.size(); ~ ~~^~~~~~ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:5: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours.hpp:7: /Users/ripley/R/Library/colourvalues/include/colourvalues/convert/convert_colours.hpp:50:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = hex_strings.size(); ~ ~~~~~~~~~~~~^~~~~~ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:7: /Users/ripley/R/Library/colourvalues/include/colourvalues/alpha/alpha.hpp:70:27: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_alpha = alpha.size(); ~~~~~~~ ~~~~~~^~~~~~ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:10: /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:73:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] r = round( spline_red( this_x ) * 255 ) ; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:74:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] g = round( spline_green( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:75:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] b = round( spline_blue( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:84:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] a = round( spline_alpha( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:86:17: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] a = alpha[i]; ~ ^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:88:17: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] a = alpha[0]; // should be length 5, but all the same ~ ^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:141:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] r = round( spline_red( this_x ) * 255 ) ; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:142:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] g = round( spline_green( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:143:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] b = round( spline_blue( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:152:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] a = round( spline_alpha( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:154:17: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] a = alpha[i]; ~ ^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:156:17: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] a = alpha[0]; // should be length 5, but all the same ~ ^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:117:33: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix rgb_mat(n, cols); ~~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:138:17: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] rgb_mat(i, _) = na_mat; ~~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:158:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] rgb_mat(i, _) = Rcpp::NumericVector::create(r,g,b,a); ~~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:160:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] rgb_mat(i, _) = Rcpp::NumericVector::create(r,g,b); ~~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:224:42: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] r = roundf( spline_red( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:225:44: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] g = roundf( spline_green( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:226:43: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] b = roundf( spline_blue( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:236:48: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] a = roundf( spline_alpha( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:332:42: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] r = roundf( spline_red( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:333:44: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] g = roundf( spline_green( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:334:43: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] b = roundf( spline_blue( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:80:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:96:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:145:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:146:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:160:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:206:65: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( 0, x.size(), palette.ncol() ); ~~~~~~~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:222:26: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int red_size = red.size(); ~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:243:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:244:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:262:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:289:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:305:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:331:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:332:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:346:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_rgb.hpp:6: /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:76:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:93:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:121:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:122:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:136:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:161:65: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( 0, x.size(), palette.ncol() ); ~~~~~~~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:176:26: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int red_size = red.size(); ~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:196:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:197:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:213:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:240:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:256:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:282:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:283:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:297:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:8: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_rgb_interleaved.hpp:6: /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:86:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:102:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:136:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:137:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:151:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:182:65: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( 0, x.size(), palette.ncol() ); ~~~~~~~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:197:26: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int red_size = red.size(); ~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:223:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:224:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:240:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:273:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:289:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:321:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:322:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:336:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/scalars.hpp:36:18: warning: implicit conversion loses integer precision: 'int' to 'value_type' (aka 'char') [-Wimplicit-int-conversion] str[1] = toupper( str[1] ); ~ ^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/scalars.hpp:38:18: warning: implicit conversion loses integer precision: 'int' to 'value_type' (aka 'char') [-Wimplicit-int-conversion] str[0] = toupper(str[0]); ~ ^~~~~~~~~~~~~~~ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:26:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:102:55: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:230:55: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:360:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:382:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:405:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:503:40: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:538:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:544:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:564:40: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:601:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:607:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:623:39: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:655:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_row = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:661:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:678:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_row = mat( row, Rcpp::_ ); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:712:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:719:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_col = mat( Rcpp::_, i ); ~~~ ^ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:136:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector v = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:150:47: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector v = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:184:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector v = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:198:47: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector v = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:234:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector v = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:248:47: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector v = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:282:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector v = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:296:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector v = mat( Rcpp::_, i ); ~~~ ^ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:469:23: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] int r_type = it.second; ~~~~~~ ~~~^~~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:600:23: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] int r_type = it.second; ~~~~~~ ~~~^~~~~~ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:5: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:6: /Users/ripley/R/Library/geometries/include/geometries/utils/sexp/sexp.hpp:110:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] ians[0] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/sexp/sexp.hpp:130:23: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] ians[ i ] = j; ~ ^ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:5: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:7: /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:20:16: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = iv.size(); ~ ~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:34:16: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = sv.size(); ~ ~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:50:28: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = values_to_find.size(); ~ ~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:65:28: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = values_to_find.size(); ~ ~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:103:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_1 = iv_1.length(); ~~~ ~~~~~^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:104:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_2 = iv_2.length(); ~~~ ~~~~~^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:151:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_1 = nv_1.length(); ~~~ ~~~~~^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:152:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_2 = nv_2.length(); ~~~ ~~~~~^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:189:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_1 = sv_1.length(); ~~~ ~~~~~^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:190:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_2 = sv_2.length(); ~~~ ~~~~~^~~~~~~~ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:5: /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:55:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_col = df.ncol(); ~~~~~ ~~~^~~~~~ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:6: /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:27:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::IntegerMatrix im( unique_n, 2); ~~ ^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:47:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:52:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i - 1; ~ ~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:59:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:64:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i; ~ ^ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:7: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/lists/list.hpp:11: /Users/ripley/R/Library/geometries/include/geometries/utils/lists/unlist.hpp:110:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int end_position = list_position + n_elements[0] - 1; ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/unlist.hpp:140:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int end_position = list_position + n_elements[0] - 1; ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/unlist.hpp:170:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int end_position = list_position + n_elements[0] - 1; ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/unlist.hpp:200:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int end_position = list_position + n_elements[0] - 1; ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:35:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:35:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:39:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:64:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:64:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:68:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:132:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:132:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:139:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:168:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:168:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:174:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:216:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:216:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:222:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:256:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:256:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:262:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:49:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int j = n_id_cols; ~ ^~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:81:33: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] nelems[ res_counter ] = n_elements; ~ ^~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:83:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] sums[ res_counter ] = cumulative_size; ~ ^~~~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:87:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] end = i - 1; ~ ~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:111:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] start = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:117:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] nelems[ res_counter ] = n_elements; ~ ^~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:120:27: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] sums[ res_counter ] = cumulative_size; ~ ^~~~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:125:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] end = i - 1; ~ ~~^~~ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:30:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector nv = geometry_mat( i, Rcpp::_ ); ~~~~~~~~~~~~ ^ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:8: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/sfg.hpp:4: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/point/sfg_point.hpp:5: /Users/ripley/R/Library/sfheaders/include/sfheaders/utils/utils.hpp:122:26: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] int_id_column[0] = col_counter; ~ ^~~~~~~~~~~ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:8: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/sfg.hpp:4: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/point/sfg_point.hpp:10: In file included from /Users/ripley/R/Library/geometries/include/geometries/nest/nest.hpp:6: /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:142:30: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::IntegerMatrix res( n, 5 ); ~~~ ^ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:159:21: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] res( i, 0 ) = cumulative_coords; ~ ^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:161:39: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] res( i, 1 ) = cumulative_coords - 1; ~ ~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:162:21: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] res( i, 2 ) = geom_dimension; ~ ^~~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:163:21: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] res( i, 3 ) = nest; ~ ^~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:199:62: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] im(0, 1) = geometries::utils::sexp_n_row( geometries ) - 1; ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:200:18: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] im(0, 2) = max_dimension; ~ ^~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:201:18: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] im(0, 3) = max_nest; // level of nesting (a matrix is not nested in a list) ~ ^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:222:18: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] im(0, 2) = max_dimension; ~ ^~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:223:18: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] im(0, 3) = max_nest; ~ ^~~~~~~~ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:9: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfc/sfc.hpp:5: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfc/point/sfc_point.hpp:11: /Users/ripley/R/Library/geometries/include/geometries/bbox/bbox.hpp:156:33: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'R_xlen_t' (aka 'long') [-Wfloat-conversion] Rcpp::NumericVector x = df[ geometry_cols[0] ]; ~~ ^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/bbox/bbox.hpp:157:33: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'R_xlen_t' (aka 'long') [-Wfloat-conversion] Rcpp::NumericVector y = df[ geometry_cols[1] ]; ~~ ^~~~~~~~~~~~~~~~ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:10: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/sf.hpp:5: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/point/sf_point.hpp:8: /Users/ripley/R/Library/geometries/include/geometries/utils/rleid/rleid.hpp:21:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int j = n_id_cols; ~ ^~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/rleid/rleid.hpp:72:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] ians[ counter ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/rleid/rleid.hpp:81:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] ians[ counter ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/rleid/rleid.hpp:90:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] ians[ counter ] = i; ~ ^ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:10: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/sf.hpp:5: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/point/sf_point.hpp:10: /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/sf_utils.hpp:152:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] idx[ k ] = k + start_idx; ~ ~~^~~~~~~~~~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/sf_utils.hpp:155:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] idx[ res_size - 1 ] = start_idx; ~ ^~~~~~~~~ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:21: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/colour/colour.hpp:8: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/palette/palette.hpp:7: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/utils.hpp:5: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/factors/factors.hpp:13:23: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_cols = data.length(); ~~~~~~ ~~~~~^~~~~~~~ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:21: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/colour/colour.hpp:8: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/palette/palette.hpp:7: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/utils.hpp:8: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/colour/colour.hpp:15:19: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int len = str.length(); ~~~ ~~~~^~~~~~~~ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:21: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/colour/colour.hpp:8: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/palette/palette.hpp:7: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/utils.hpp:9: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/dates/dates.hpp:12:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = v.size(); ~ ~~^~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/dates/dates.hpp:58:23: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_cols = data.length(); ~~~~~~ ~~~~~^~~~~~~~ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:21: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/colour/colour.hpp:10: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/legend/legend.hpp:67:26: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = legend_types.size(); ~ ~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/legend/legend.hpp:98:23: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n = lege_list.size(); ~ ~~~~~~~~~~^~~~~~ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:22: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/data_construction/data_construction.hpp:43:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = params.size(); ~ ~~~~~~~^~~~~~ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:9: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geometries/sizes.hpp:21:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] return multiline.size(); ~~~~~~ ~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geometries/sizes.hpp:25:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] return multipolygon.size(); ~~~~~~ ~~~~~~~~~~~~~^~~~~~ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:10: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/write_geojson.hpp:6: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:6: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:193:43: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = line(i, Rcpp::_ ); ~~~~ ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:208:43: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = line(i, Rcpp::_ ); ~~~~ ^ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:10: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/write_geojson.hpp:6: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:126:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector pts = mls(geometry_index, Rcpp::_ ); ~~~ ^~~~~~~~~~~~~~ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:11: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:42:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int sfglength = geometries::utils::sexp_length( sfg ); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:83:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int sfglength = geometries::utils::sexp_length( sfg ); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:133:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int sfglength = geometries::utils::sexp_length( sfg ); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:65:26: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] int this_index = polygon_indeces[j]; ~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:123:26: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] int this_index = polygon_indeces[j]; ~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:59:37: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] polygon_indeces = ib(Rcpp::_, i); ~~ ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:102:37: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] polygon_indeces = ib(Rcpp::_, i); ~~ ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:103:45: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix a_polygon( n_row, n_coords ); ~~~~~~~~~ ^~~~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:103:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix a_polygon( n_row, n_coords ); ~~~~~~~~~ ^~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:126:19: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] a_polygon(j, Rcpp::_) = vb(Rcpp::_, this_index); ~~~~~~~~~ ^ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:26: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/parameters/parameters.hpp:36:27: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_params = params.size(); ~~~~~~~~ ~~~~~~~^~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/parameters/parameters.hpp:159:119: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector colours_remove = spatialwidget::utils::map::extract_map( colour_columns, colour_columns.size() * 2 ); ~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from od.cpp:5: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:498:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] expanded_index[ counter + j ] = i; ~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:334:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] inline iterator end() { return cache.get() + size() ; } ~ ^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1116:29: note: in instantiation of member function 'Rcpp::Vector<16>::end' requested here std::fill( begin(), end(), converter_type::get( u ) ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:330:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill__dispatch' requested here fill__dispatch( typename traits::is_trivial::type(), u ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1101:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill' requested here fill(t) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1089:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill_or_generate__impl' requested here fill_or_generate__impl( t, typename traits::is_generator::type() ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:172:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill_or_generate' requested here fill_or_generate( u ) ; ^ ../inst/include/mapdeck_defaults.hpp:106:22: note: in instantiation of function template specialization 'Rcpp::Vector<16>::Vector' requested here Rcpp::StringVector sv(n, "middle"); ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:177: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/Proxy_Iterator.h:110:23: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] return proxy.index - other.proxy.index ; ~~~~~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/fill.h:38:35: note: in instantiation of member function 'Rcpp::internal::Proxy_Iterator>::operator-' requested here _VSTD::fill_n(__first, __last - __first, __value); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/fill.h:46:12: note: in instantiation of function template specialization 'std::__fill>, SEXPREC *>' requested here _VSTD::__fill(__first, __last, __value, typename iterator_traits<_ForwardIterator>::iterator_category()); ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1116:14: note: in instantiation of function template specialization 'std::fill>, SEXPREC *>' requested here std::fill( begin(), end(), converter_type::get( u ) ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:330:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill__dispatch' requested here fill__dispatch( typename traits::is_trivial::type(), u ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1101:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill' requested here fill(t) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1089:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill_or_generate__impl' requested here fill_or_generate__impl( t, typename traits::is_generator::type() ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:172:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill_or_generate' requested here fill_or_generate( u ) ; ^ ../inst/include/mapdeck_defaults.hpp:106:22: note: in instantiation of function template specialization 'Rcpp::Vector<16>::Vector' requested here Rcpp::StringVector sv(n, "middle"); ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] return lookup__impl(vec.begin(), vec.size() ) ; ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<16>::lookup' requested here return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/utils/utils.hpp:70:37: note: in instantiation of function template specialization 'Rcpp::match<16, true, Rcpp::Vector<16>, true, Rcpp::Vector<16>>' requested here Rcpp::IntegerVector out = Rcpp::match( x, lvls ); ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1041:13: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here import_expression(x, n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1053:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::assign_sugar_expression>' requested here assign_sugar_expression( x.get_ref() ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:247:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::assign_object>' requested here assign_object( x, typename traits::is_sugar_expression::type() ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/palette_utils/palette_utils.hpp:50:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::operator=>' requested here red = palette(_, 0); ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/convert/convert_colours.hpp:63:12: note: in instantiation of member function 'Rcpp::Matrix<13>::operator()' requested here mat(i, 0) = hex_to_rgba( hex, 1, 2 ); ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:59: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/SubMatrix.h:38:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nc( col_range_.size() ), ~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:167:14: note: in instantiation of member function 'Rcpp::SubMatrix<13>::SubMatrix' requested here return Sub( const_cast(*this), Range(0,nrow()-1) , col_range ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/convert/convert_colours.hpp:99:16: note: in instantiation of member function 'Rcpp::Matrix<13>::operator()' requested here mat = mat(Rcpp::_, Rcpp::Range(0,2) ); ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:59: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/SubMatrix.h:39:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nr( row_range_.size() ) ~~~~~~~~~~~^~~~~~ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:72:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:138:23: note: in instantiation of function template specialization 'Rcpp::MatrixRow<14>::operator=<13, true, Rcpp::Vector<13>>' requested here rgb_mat(i, _) = na_mat; ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:73:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:74:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:75:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:79:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:81:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:83:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:72:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:158:25: note: in instantiation of function template specialization 'Rcpp::MatrixRow<14>::operator=<14, true, Rcpp::Vector<14>>' requested here rgb_mat(i, _) = Rcpp::NumericVector::create(r,g,b,a); ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:73:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:74:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:75:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:79:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:81:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:83:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:215:47: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here rgb_vec[ position_counter ] = na_mat_d(0, 0); ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_expression' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_sugar_expression' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:219:44: note: in instantiation of function template specialization 'Rcpp::Vector<13>::Vector' requested here Rcpp::IntegerVector summary_values = Rcpp::seq_len( lvls.length() ); ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:59: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/SubMatrix.h:38:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nc( col_range_.size() ), ~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:170:14: note: in instantiation of member function 'Rcpp::SubMatrix<14>::SubMatrix' requested here return Sub( const_cast(*this), row_range, Range(0,ncol()-1) ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/list/list.hpp:115:56: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here Rcpp::NumericMatrix these_colours = colours( elements, Rcpp::_ ); ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:59: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/SubMatrix.h:39:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nr( row_range_.size() ) ~~~~~~~~~~~^~~~~~ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_expression' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_sugar_expression' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/list/list.hpp:153:44: note: in instantiation of function template specialization 'Rcpp::Vector<13>::Vector' requested here Rcpp::IntegerVector elements = Rcpp::seq( vector_position, end_position ); ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:538:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:161:42: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here return jsonify::writers::simple::write_value( writer, im, unbox, by ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:544:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:712:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:166:42: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here return jsonify::writers::simple::write_value( writer, lm, unbox, by ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:719:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:655:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_row = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:171:42: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here return jsonify::writers::simple::write_value( writer, sm, unbox, by ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:661:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:102:55: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:360:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, nv, unbox, digits, numeric_dates ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/scalars.hpp:36:18: warning: implicit conversion loses integer precision: 'int' to 'value_type' (aka 'char') [-Wimplicit-int-conversion] str[1] = toupper( str[1] ); ~ ^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:111:38: note: in instantiation of function template specialization 'jsonify::writers::scalars::write_value>>>' requested here jsonify::writers::scalars::write_value( writer, nv[i], digits ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:360:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, nv, unbox, digits, numeric_dates ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/scalars.hpp:38:18: warning: implicit conversion loses integer precision: 'int' to 'value_type' (aka 'char') [-Wimplicit-int-conversion] str[0] = toupper(str[0]); ~ ^~~~~~~~~~~~~~~ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:230:55: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:365:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, iv, unbox, numeric_dates, factors_as_string ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:564:40: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:87:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, nm, row, unbox ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:80:40: note: in instantiation of function template specialization 'jsonify::writers::complex::switch_vector>>>' requested here jsonify::writers::complex::switch_vector( ^ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:503:40: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:99:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, im, row, unbox ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:80:40: note: in instantiation of function template specialization 'jsonify::writers::complex::switch_vector>>>' requested here jsonify::writers::complex::switch_vector( ^ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:678:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_row = mat( row, Rcpp::_ ); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:110:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, lm, row, unbox ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:80:40: note: in instantiation of function template specialization 'jsonify::writers::complex::switch_vector>>>' requested here jsonify::writers::complex::switch_vector( ^ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:623:39: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:120:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, sm, row, unbox ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:80:40: note: in instantiation of function template specialization 'jsonify::writers::complex::switch_vector>>>' requested here jsonify::writers::complex::switch_vector( ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<10>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<10>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:136:33: note: in instantiation of function template specialization 'Rcpp::Vector<10>::Vector>' requested here Rcpp::LogicalVector v = mat( i, Rcpp::_ ); ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:405:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:140:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, v, unbox ); ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<10>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<10>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:150:33: note: in instantiation of function template specialization 'Rcpp::Vector<10>::Vector>' requested here Rcpp::LogicalVector v = mat( Rcpp::_, i ); ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:184:33: note: in instantiation of function template specialization 'Rcpp::Vector<13>::Vector>' requested here Rcpp::IntegerVector v = mat( i, Rcpp::_ ); ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:382:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:188:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, v, unbox ); ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:198:33: note: in instantiation of function template specialization 'Rcpp::Vector<13>::Vector>' requested here Rcpp::IntegerVector v = mat( Rcpp::_, i ); ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:234:33: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here Rcpp::NumericVector v = mat( i, Rcpp::_ ); ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:360:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:238:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, v, unbox, digits ); ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:282:32: note: in instantiation of function template specialization 'Rcpp::Vector<16>::Vector>' requested here Rcpp::StringVector v = mat( i, Rcpp::_ ); ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:26:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:286:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, v, unbox ); ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:61: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixColumn.h:39:57: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] start(parent.begin() + static_cast(i) * n ), ~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:158:14: note: in instantiation of member function 'Rcpp::MatrixColumn<16>::MatrixColumn' requested here return Column( *this, i ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:296:35: note: in instantiation of member function 'Rcpp::Matrix<16>::operator()' requested here Rcpp::StringVector v = mat( Rcpp::_, i ); ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:61: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixColumn.h:40:90: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] const_start(const_cast(parent).begin() + static_cast(i) * n) ~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:296:32: note: in instantiation of function template specialization 'Rcpp::Vector<16>::Vector>' requested here Rcpp::StringVector v = mat( Rcpp::_, i ); ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:32:64: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] std::copy( this_vec.begin(), this_vec.end(), v.begin() + i ); ~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:53:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_vector<16>' requested here return simplify_vector< STRSXP >( x, n ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:180:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<13>' requested here return simplify_matrix< INTSXP >( out, n_col, n_row ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:183:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<14>' requested here return simplify_matrix< REALSXP >( out, n_col, n_row ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:186:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<10>' requested here return simplify_matrix< LGLSXP >( out, n_col, n_row ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:164:9: note: in instantiation of member function 'Rcpp::Matrix<10>::operator()' requested here mat( i, j ) = this_val; ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:186:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<10>' requested here return simplify_matrix< LGLSXP >( out, n_col, n_row ); ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:192:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<16>' requested here return simplify_matrix< STRSXP >( out, n_col, n_row ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:164:9: note: in instantiation of member function 'Rcpp::Matrix<16>::operator()' requested here mat( i, j ) = this_val; ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:192:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<16>' requested here return simplify_matrix< STRSXP >( out, n_col, n_row ); ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json_utils.hpp:42:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'SizeType' (aka 'unsigned int') [-Wshorten-64-to-32] curr_dtype = doc[i].GetType(); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:207:14: note: in instantiation of function template specialization 'jsonify::from_json::get_dtypes>>' requested here dtypes = get_dtypes(doc); ^ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json_utils.hpp:52:16: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'SizeType' (aka 'unsigned int') [-Wshorten-64-to-32] if(doc[i].IsDouble()) { ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json_utils.hpp:42:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'SizeType' (aka 'unsigned int') [-Wshorten-64-to-32] curr_dtype = doc[i].GetType(); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:136:18: note: in instantiation of function template specialization 'jsonify::from_json::get_dtypes>>' requested here dtypes = get_dtypes( json ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:190:12: note: in instantiation of function template specialization 'jsonify::from_json::parse_json>>' requested here return parse_json( json, simplify, fill_na ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:37:32: note: in instantiation of function template specialization 'jsonify::from_json::from_json>>' requested here return jsonify::from_json::from_json( doc, simplify, fill_na ); ^ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json_utils.hpp:52:16: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'SizeType' (aka 'unsigned int') [-Wshorten-64-to-32] if(doc[i].IsDouble()) { ~~~ ^ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:5: /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:20:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_id_cols = id_cols.size(); ~~~~~~~~~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:48:12: note: in instantiation of function template specialization 'geometries::utils::other_columns<16>' requested here return other_columns( df_names, id_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:21:33: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_other_cols = all_cols.size(); ~~~~~~~~~~~~ ~~~~~~~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:20:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_id_cols = id_cols.size(); ~~~~~~~~~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:57:12: note: in instantiation of function template specialization 'geometries::utils::other_columns<13>' requested here return other_columns( other_cols, id_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:21:33: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_other_cols = all_cols.size(); ~~~~~~~~~~~~ ~~~~~~~~~^~~~~~ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:6: /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:27:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::IntegerMatrix im( unique_n, 2); ~~ ^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:88:16: note: in instantiation of function template specialization 'geometries::utils::id_positions<13>' requested here return id_positions( iv_line_ids, iv_unique_ids ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:47:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:52:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i - 1; ~ ~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:59:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:64:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:27:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::IntegerMatrix im( unique_n, 2); ~~ ^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:93:16: note: in instantiation of function template specialization 'geometries::utils::id_positions<14>' requested here return id_positions( nv_line_ids, nv_unique_ids ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:47:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:52:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i - 1; ~ ~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:59:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:64:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:27:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::IntegerMatrix im( unique_n, 2); ~~ ^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:98:16: note: in instantiation of function template specialization 'geometries::utils::id_positions<16>' requested here return id_positions( sv_line_ids, sv_unique_ids ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:47:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:52:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i - 1; ~ ~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:59:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:64:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i; ~ ^ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:106:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m( n_row, n_col ); ~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:313:18: note: in instantiation of function template specialization 'geometries::matrix::to_geometry_matrix<13>' requested here return to_geometry_matrix( iv, geometry_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:106:30: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m( n_row, n_col ); ~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:89:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m2( n_row, n_col ); ~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:316:18: note: in instantiation of function template specialization 'geometries::matrix::to_geometry_matrix<13>' requested here return to_geometry_matrix( im, geometry_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:89:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m2( n_row, n_col ); ~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:92:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] m2( Rcpp::_, i ) = m( Rcpp::_, this_col ); ~~ ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:106:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m( n_row, n_col ); ~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:322:18: note: in instantiation of function template specialization 'geometries::matrix::to_geometry_matrix<14>' requested here return to_geometry_matrix( nv, geometry_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:106:30: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m( n_row, n_col ); ~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:89:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m2( n_row, n_col ); ~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:325:18: note: in instantiation of function template specialization 'geometries::matrix::to_geometry_matrix<14>' requested here return to_geometry_matrix( nm, geometry_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:89:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m2( n_row, n_col ); ~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:92:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] m2( Rcpp::_, i ) = m( Rcpp::_, this_col ); ~~ ^ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:5: /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:26:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > last_row = mat( n_row - 1, Rcpp::_ ); ~~~ ~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:69:22: note: in instantiation of function template specialization 'geometries::utils::matrix_is_closed<13>' requested here bool is_closed = matrix_is_closed( mat ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:85:20: note: in instantiation of function template specialization 'geometries::utils::close_matrix<13>' requested here lst[i] = close_matrix( im ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:48:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:70:12: note: in instantiation of function template specialization 'geometries::utils::close_matrix<13>' requested here return close_matrix( mat, is_closed ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:85:20: note: in instantiation of function template specialization 'geometries::utils::close_matrix<13>' requested here lst[i] = close_matrix( im ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:48:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:53:35: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nv[ rng ] = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:55:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] mat2( Rcpp::_ , i ) = nv; ~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/RangeIndexer.h:63:6: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] UNROLL_LOOP(=) ^~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/RangeIndexer.h:28:32: note: expanded from macro 'UNROLL_LOOP' int __trip_count = (size_) >> 2; \ ~~~~~~~~~~~~ ~~~~~~~~^~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:53:19: note: in instantiation of function template specialization 'Rcpp::internal::RangeIndexer<13, true, Rcpp::Vector<13>>::operator=>' requested here nv[ rng ] = mat( Rcpp::_, i ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:70:12: note: in instantiation of function template specialization 'geometries::utils::close_matrix<13>' requested here return close_matrix( mat, is_closed ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:85:20: note: in instantiation of function template specialization 'geometries::utils::close_matrix<13>' requested here lst[i] = close_matrix( im ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:48:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:70:12: note: in instantiation of function template specialization 'geometries::utils::close_matrix<14>' requested here return close_matrix( mat, is_closed ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:90:20: note: in instantiation of function template specialization 'geometries::utils::close_matrix<14>' requested here lst[i] = close_matrix( nm ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:48:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:53:35: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nv[ rng ] = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:55:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] mat2( Rcpp::_ , i ) = nv; ~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/RangeIndexer.h:63:6: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] UNROLL_LOOP(=) ^~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/RangeIndexer.h:28:32: note: expanded from macro 'UNROLL_LOOP' int __trip_count = (size_) >> 2; \ ~~~~~~~~~~~~ ~~~~~~~~^~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:53:19: note: in instantiation of function template specialization 'Rcpp::internal::RangeIndexer<14, true, Rcpp::Vector<14>>::operator=>' requested here nv[ rng ] = mat( Rcpp::_, i ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:70:12: note: in instantiation of function template specialization 'geometries::utils::close_matrix<14>' requested here return close_matrix( mat, is_closed ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:90:20: note: in instantiation of function template specialization 'geometries::utils::close_matrix<14>' requested here lst[i] = close_matrix( nm ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:26:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > last_row = mat( n_row - 1, Rcpp::_ ); ~~~ ~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:92:49: note: in instantiation of function template specialization 'geometries::utils::matrix_is_closed<14>' requested here bool is_closed = geometries::utils::matrix_is_closed( res_mat ); ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/RangeIndexer.h:59:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] start(vec_.begin() + range_.get_start() ), size_( range_.size() ) {} ~ ~~~~~~~^~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:547:16: note: in instantiation of member function 'Rcpp::internal::RangeIndexer<19, true, Rcpp::Vector<19>>::RangeIndexer' requested here return Indexer( const_cast(*this), range ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:156:32: note: in instantiation of member function 'Rcpp::Vector<19>::operator[]' requested here Rcpp::_["coords"] = res[ coord_rng ] ^ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:7: /Users/ripley/R/Library/geometries/include/geometries/utils/lists/as_list.hpp:26:45: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > v = x( Rcpp::_, i ); ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/as_list.hpp:46:18: note: in instantiation of function template specialization 'geometries::utils::as_list<13>' requested here return as_list( im ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/as_list.hpp:26:45: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > v = x( Rcpp::_, i ); ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/as_list.hpp:55:18: note: in instantiation of function template specialization 'geometries::utils::as_list<14>' requested here return as_list( nm ); ^ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:8: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/sfg.hpp:8: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/sfg_polygon.hpp:7: /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:27:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > last_row = mat( n_row - 1, Rcpp::_ ); ~~~ ~~~~~~^~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:72:18: note: in instantiation of function template specialization 'sfheaders::polygon_utils::close_polygon<13>' requested here lst[i] = close_polygon( im, close ); // #nocov ^ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:37:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ^~~~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:37:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ~~~~~~^~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:42:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] v[ rng ] = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:44:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] mat2( Rcpp::_ , i ) = v; ~~~~ ^ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:27:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > last_row = mat( n_row - 1, Rcpp::_ ); ~~~ ~~~~~~^~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:77:18: note: in instantiation of function template specialization 'sfheaders::polygon_utils::close_polygon<14>' requested here lst[i] = close_polygon( nm, close ); ^ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:37:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ^~~~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:37:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ~~~~~~^~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:42:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] v[ rng ] = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:44:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] mat2( Rcpp::_ , i ) = v; ~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:334:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] inline iterator end() { return cache.get() + size() ; } ~ ^~~~~~ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:20:57: note: in instantiation of member function 'Rcpp::Vector<19>::end' requested here for (Rcpp::List::iterator it = sfg.begin(); it != sfg.end(); it++) { ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:72:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:126:31: note: in instantiation of function template specialization 'Rcpp::MatrixRow<14>::operator=<14, true, Rcpp::MatrixColumn<14>>' requested here a_polygon(j, Rcpp::_) = vb(Rcpp::_, this_index); ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:72:29: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:73:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:73:29: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:74:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:74:29: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:75:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:75:29: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:79:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:79:31: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:81:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:81:31: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:83:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from od.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:83:31: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:601:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:130:33: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value(writer, a_polygon); ^ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:607:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_col = mat( Rcpp::_, i ); ~~~ ^ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:11: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:83:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int sfglength = geometries::utils::sexp_length( sfg ); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:225:36: note: in instantiation of function template specialization 'geojsonsf::write_geometry::write_geometry>>>' requested here geojsonsf::write_geometry::write_geometry( writer, sfc, i, digits ); ^ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:10: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/write_geojson.hpp:6: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:6: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:193:43: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = line(i, Rcpp::_ ); ~~~~ ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:223:7: note: in instantiation of function template specialization 'geojsonsf::writers::linestring_to_geojson>>>' requested here linestring_to_geojson( writer, iv, digits ); ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:69:24: note: in instantiation of function template specialization 'geojsonsf::writers::linestring_to_geojson>>>' requested here geojsonsf::writers::linestring_to_geojson( writer, sfg, digits ); ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:94:31: note: in instantiation of function template specialization 'geojsonsf::write_geojson::write_geojson>>>' requested here geojsonsf::write_geojson::write_geojson(writer, sfg, geom_type, cls, digits ); ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:225:36: note: in instantiation of function template specialization 'geojsonsf::write_geometry::write_geometry>>>' requested here geojsonsf::write_geometry::write_geometry( writer, sfc, i, digits ); ^ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:10: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/write_geojson.hpp:6: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:6: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:208:43: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = line(i, Rcpp::_ ); ~~~~ ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:228:7: note: in instantiation of function template specialization 'geojsonsf::writers::linestring_to_geojson>>>' requested here linestring_to_geojson( writer, nv, digits ); ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:69:24: note: in instantiation of function template specialization 'geojsonsf::writers::linestring_to_geojson>>>' requested here geojsonsf::writers::linestring_to_geojson( writer, sfg, digits ); ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:94:31: note: in instantiation of function template specialization 'geojsonsf::write_geojson::write_geojson>>>' requested here geojsonsf::write_geojson::write_geojson(writer, sfg, geom_type, cls, digits ); ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:225:36: note: in instantiation of function template specialization 'geojsonsf::write_geometry::write_geometry>>>' requested here geojsonsf::write_geometry::write_geometry( writer, sfc, i, digits ); ^ In file included from od.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:11: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:42:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int sfglength = geometries::utils::sexp_length( sfg ); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:394:36: note: in instantiation of function template specialization 'geojsonsf::write_geometry::write_geometry>>>' requested here geojsonsf::write_geometry::write_geometry( writer, sfg, cls, digits ); ^ 402 warnings generated. clang++ -mmacos-version-min=14.3 -std=gnu++14 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -DSTRICT_R_HEADERS -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/BH/include' -I'/Users/ripley/R/Library/colourvalues/include' -I'/Users/ripley/R/Library/geojsonsf/include' -I'/Users/ripley/R/Library/geometries/include' -I'/Users/ripley/R/Library/interleave/include' -I'/Users/ripley/R/Library/jsonify/include' -I'/Users/ripley/R/Library/rapidjsonr/include' -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/sfheaders/include' -I'/Users/ripley/R/Library/spatialwidget/include' -isystem /opt/R/arm64/include -I../inst/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c path.cpp -o path.o In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:5: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours.hpp:4: /Users/ripley/R/Library/colourvalues/include/colourvalues/scale/scale.hpp:43:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = x.size(); ~ ~~^~~~~~ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:5: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours.hpp:5: /Users/ripley/R/Library/colourvalues/include/colourvalues/utils/utils.hpp:10:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = v.size(); ~ ~~^~~~~~ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:5: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours.hpp:7: /Users/ripley/R/Library/colourvalues/include/colourvalues/convert/convert_colours.hpp:50:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = hex_strings.size(); ~ ~~~~~~~~~~~~^~~~~~ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:7: /Users/ripley/R/Library/colourvalues/include/colourvalues/alpha/alpha.hpp:70:27: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_alpha = alpha.size(); ~~~~~~~ ~~~~~~^~~~~~ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:10: /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:73:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] r = round( spline_red( this_x ) * 255 ) ; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:74:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] g = round( spline_green( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:75:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] b = round( spline_blue( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:84:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] a = round( spline_alpha( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:86:17: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] a = alpha[i]; ~ ^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:88:17: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] a = alpha[0]; // should be length 5, but all the same ~ ^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:141:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] r = round( spline_red( this_x ) * 255 ) ; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:142:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] g = round( spline_green( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:143:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] b = round( spline_blue( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:152:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] a = round( spline_alpha( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:154:17: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] a = alpha[i]; ~ ^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:156:17: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] a = alpha[0]; // should be length 5, but all the same ~ ^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:117:33: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix rgb_mat(n, cols); ~~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:138:17: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] rgb_mat(i, _) = na_mat; ~~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:158:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] rgb_mat(i, _) = Rcpp::NumericVector::create(r,g,b,a); ~~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:160:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] rgb_mat(i, _) = Rcpp::NumericVector::create(r,g,b); ~~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:224:42: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] r = roundf( spline_red( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:225:44: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] g = roundf( spline_green( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:226:43: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] b = roundf( spline_blue( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:236:48: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] a = roundf( spline_alpha( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:332:42: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] r = roundf( spline_red( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:333:44: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] g = roundf( spline_green( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:334:43: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] b = roundf( spline_blue( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:80:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:96:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:145:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:146:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:160:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:206:65: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( 0, x.size(), palette.ncol() ); ~~~~~~~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:222:26: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int red_size = red.size(); ~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:243:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:244:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:262:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:289:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:305:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:331:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:332:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:346:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_rgb.hpp:6: /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:76:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:93:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:121:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:122:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:136:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:161:65: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( 0, x.size(), palette.ncol() ); ~~~~~~~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:176:26: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int red_size = red.size(); ~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:196:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:197:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:213:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:240:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:256:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:282:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:283:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:297:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:8: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_rgb_interleaved.hpp:6: /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:86:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:102:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:136:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:137:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:151:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:182:65: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( 0, x.size(), palette.ncol() ); ~~~~~~~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:197:26: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int red_size = red.size(); ~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:223:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:224:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:240:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:273:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:289:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:321:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:322:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:336:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/scalars.hpp:36:18: warning: implicit conversion loses integer precision: 'int' to 'value_type' (aka 'char') [-Wimplicit-int-conversion] str[1] = toupper( str[1] ); ~ ^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/scalars.hpp:38:18: warning: implicit conversion loses integer precision: 'int' to 'value_type' (aka 'char') [-Wimplicit-int-conversion] str[0] = toupper(str[0]); ~ ^~~~~~~~~~~~~~~ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:26:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:102:55: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:230:55: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:360:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:382:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:405:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:503:40: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:538:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:544:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:564:40: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:601:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:607:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:623:39: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:655:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_row = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:661:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:678:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_row = mat( row, Rcpp::_ ); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:712:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:719:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_col = mat( Rcpp::_, i ); ~~~ ^ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:136:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector v = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:150:47: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector v = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:184:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector v = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:198:47: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector v = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:234:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector v = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:248:47: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector v = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:282:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector v = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:296:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector v = mat( Rcpp::_, i ); ~~~ ^ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:469:23: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] int r_type = it.second; ~~~~~~ ~~~^~~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:600:23: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] int r_type = it.second; ~~~~~~ ~~~^~~~~~ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:5: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:6: /Users/ripley/R/Library/geometries/include/geometries/utils/sexp/sexp.hpp:110:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] ians[0] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/sexp/sexp.hpp:130:23: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] ians[ i ] = j; ~ ^ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:5: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:7: /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:20:16: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = iv.size(); ~ ~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:34:16: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = sv.size(); ~ ~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:50:28: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = values_to_find.size(); ~ ~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:65:28: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = values_to_find.size(); ~ ~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:103:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_1 = iv_1.length(); ~~~ ~~~~~^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:104:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_2 = iv_2.length(); ~~~ ~~~~~^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:151:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_1 = nv_1.length(); ~~~ ~~~~~^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:152:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_2 = nv_2.length(); ~~~ ~~~~~^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:189:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_1 = sv_1.length(); ~~~ ~~~~~^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:190:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_2 = sv_2.length(); ~~~ ~~~~~^~~~~~~~ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:5: /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:55:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_col = df.ncol(); ~~~~~ ~~~^~~~~~ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:6: /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:27:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::IntegerMatrix im( unique_n, 2); ~~ ^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:47:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:52:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i - 1; ~ ~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:59:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:64:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i; ~ ^ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:7: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/lists/list.hpp:11: /Users/ripley/R/Library/geometries/include/geometries/utils/lists/unlist.hpp:110:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int end_position = list_position + n_elements[0] - 1; ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/unlist.hpp:140:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int end_position = list_position + n_elements[0] - 1; ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/unlist.hpp:170:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int end_position = list_position + n_elements[0] - 1; ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/unlist.hpp:200:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int end_position = list_position + n_elements[0] - 1; ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:35:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:35:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:39:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:64:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:64:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:68:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:132:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:132:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:139:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:168:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:168:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:174:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:216:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:216:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:222:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:256:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:256:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:262:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:49:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int j = n_id_cols; ~ ^~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:81:33: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] nelems[ res_counter ] = n_elements; ~ ^~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:83:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] sums[ res_counter ] = cumulative_size; ~ ^~~~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:87:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] end = i - 1; ~ ~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:111:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] start = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:117:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] nelems[ res_counter ] = n_elements; ~ ^~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:120:27: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] sums[ res_counter ] = cumulative_size; ~ ^~~~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:125:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] end = i - 1; ~ ~~^~~ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:30:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector nv = geometry_mat( i, Rcpp::_ ); ~~~~~~~~~~~~ ^ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:8: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/sfg.hpp:4: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/point/sfg_point.hpp:5: /Users/ripley/R/Library/sfheaders/include/sfheaders/utils/utils.hpp:122:26: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] int_id_column[0] = col_counter; ~ ^~~~~~~~~~~ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:8: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/sfg.hpp:4: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/point/sfg_point.hpp:10: In file included from /Users/ripley/R/Library/geometries/include/geometries/nest/nest.hpp:6: /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:142:30: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::IntegerMatrix res( n, 5 ); ~~~ ^ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:159:21: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] res( i, 0 ) = cumulative_coords; ~ ^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:161:39: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] res( i, 1 ) = cumulative_coords - 1; ~ ~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:162:21: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] res( i, 2 ) = geom_dimension; ~ ^~~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:163:21: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] res( i, 3 ) = nest; ~ ^~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:199:62: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] im(0, 1) = geometries::utils::sexp_n_row( geometries ) - 1; ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:200:18: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] im(0, 2) = max_dimension; ~ ^~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:201:18: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] im(0, 3) = max_nest; // level of nesting (a matrix is not nested in a list) ~ ^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:222:18: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] im(0, 2) = max_dimension; ~ ^~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:223:18: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] im(0, 3) = max_nest; ~ ^~~~~~~~ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:9: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfc/sfc.hpp:5: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfc/point/sfc_point.hpp:11: /Users/ripley/R/Library/geometries/include/geometries/bbox/bbox.hpp:156:33: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'R_xlen_t' (aka 'long') [-Wfloat-conversion] Rcpp::NumericVector x = df[ geometry_cols[0] ]; ~~ ^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/bbox/bbox.hpp:157:33: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'R_xlen_t' (aka 'long') [-Wfloat-conversion] Rcpp::NumericVector y = df[ geometry_cols[1] ]; ~~ ^~~~~~~~~~~~~~~~ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:10: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/sf.hpp:5: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/point/sf_point.hpp:8: /Users/ripley/R/Library/geometries/include/geometries/utils/rleid/rleid.hpp:21:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int j = n_id_cols; ~ ^~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/rleid/rleid.hpp:72:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] ians[ counter ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/rleid/rleid.hpp:81:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] ians[ counter ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/rleid/rleid.hpp:90:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] ians[ counter ] = i; ~ ^ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:10: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/sf.hpp:5: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/point/sf_point.hpp:10: /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/sf_utils.hpp:152:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] idx[ k ] = k + start_idx; ~ ~~^~~~~~~~~~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/sf_utils.hpp:155:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] idx[ res_size - 1 ] = start_idx; ~ ^~~~~~~~~ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:21: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/colour/colour.hpp:8: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/palette/palette.hpp:7: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/utils.hpp:5: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/factors/factors.hpp:13:23: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_cols = data.length(); ~~~~~~ ~~~~~^~~~~~~~ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:21: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/colour/colour.hpp:8: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/palette/palette.hpp:7: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/utils.hpp:8: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/colour/colour.hpp:15:19: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int len = str.length(); ~~~ ~~~~^~~~~~~~ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:21: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/colour/colour.hpp:8: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/palette/palette.hpp:7: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/utils.hpp:9: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/dates/dates.hpp:12:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = v.size(); ~ ~~^~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/dates/dates.hpp:58:23: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_cols = data.length(); ~~~~~~ ~~~~~^~~~~~~~ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:21: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/colour/colour.hpp:10: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/legend/legend.hpp:67:26: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = legend_types.size(); ~ ~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/legend/legend.hpp:98:23: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n = lege_list.size(); ~ ~~~~~~~~~~^~~~~~ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:22: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/data_construction/data_construction.hpp:43:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = params.size(); ~ ~~~~~~~^~~~~~ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:9: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geometries/sizes.hpp:21:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] return multiline.size(); ~~~~~~ ~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geometries/sizes.hpp:25:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] return multipolygon.size(); ~~~~~~ ~~~~~~~~~~~~~^~~~~~ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:10: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/write_geojson.hpp:6: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:6: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:193:43: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = line(i, Rcpp::_ ); ~~~~ ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:208:43: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = line(i, Rcpp::_ ); ~~~~ ^ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:10: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/write_geojson.hpp:6: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:126:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector pts = mls(geometry_index, Rcpp::_ ); ~~~ ^~~~~~~~~~~~~~ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:11: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:42:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int sfglength = geometries::utils::sexp_length( sfg ); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:83:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int sfglength = geometries::utils::sexp_length( sfg ); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:133:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int sfglength = geometries::utils::sexp_length( sfg ); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:65:26: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] int this_index = polygon_indeces[j]; ~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:123:26: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] int this_index = polygon_indeces[j]; ~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:59:37: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] polygon_indeces = ib(Rcpp::_, i); ~~ ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:102:37: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] polygon_indeces = ib(Rcpp::_, i); ~~ ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:103:45: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix a_polygon( n_row, n_coords ); ~~~~~~~~~ ^~~~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:103:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix a_polygon( n_row, n_coords ); ~~~~~~~~~ ^~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:126:19: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] a_polygon(j, Rcpp::_) = vb(Rcpp::_, this_index); ~~~~~~~~~ ^ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:26: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/parameters/parameters.hpp:36:27: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_params = params.size(); ~~~~~~~~ ~~~~~~~^~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/parameters/parameters.hpp:159:119: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector colours_remove = spatialwidget::utils::map::extract_map( colour_columns, colour_columns.size() * 2 ); ~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from path.cpp:5: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:498:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] expanded_index[ counter + j ] = i; ~ ^ In file included from path.cpp:7: In file included from /Users/ripley/R/Library/interleave/include/interleave/primitives/primitives.hpp:4: /Users/ripley/R/Library/interleave/include/interleave/earcut/interleave.hpp:28:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix mat( n, col ); ~~~ ^~~ /Users/ripley/R/Library/interleave/include/interleave/earcut/interleave.hpp:28:28: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix mat( n, col ); ~~~ ^ /Users/ripley/R/Library/interleave/include/interleave/earcut/interleave.hpp:33:10: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] mat( i, Rcpp::_ ) = nv; ~~~ ^ In file included from path.cpp:7: In file included from /Users/ripley/R/Library/interleave/include/interleave/primitives/primitives.hpp:4: In file included from /Users/ripley/R/Library/interleave/include/interleave/earcut/interleave.hpp:105: /Users/ripley/R/Library/interleave/include/interleave/earcut/earcut.hpp:276:7: warning: variable 'iterations' set but not used [-Wunused-but-set-variable] int iterations = 0; ^ In file included from path.cpp:7: /Users/ripley/R/Library/interleave/include/interleave/primitives/primitives.hpp:208:35: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] geometry_coordinates[ i ] = n_coords; ~ ^~~~~~~~ path.cpp:102:6: warning: unused variable 'n_coordinates' [-Wunused-variable] int n_coordinates = coordinates.length(); ^ path.cpp:102:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_coordinates = coordinates.length(); ~~~~~~~~~~~~~ ~~~~~~~~~~~~^~~~~~~~ path.cpp:175:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_coordinates = coordinates.length(); ~~~~~~~~~~~~~ ~~~~~~~~~~~~^~~~~~~~ path.cpp:241:21: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = lst.size() + 1; ~ ~~~~~~~~~~~^~~ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:334:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] inline iterator end() { return cache.get() + size() ; } ~ ^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1116:29: note: in instantiation of member function 'Rcpp::Vector<16>::end' requested here std::fill( begin(), end(), converter_type::get( u ) ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:330:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill__dispatch' requested here fill__dispatch( typename traits::is_trivial::type(), u ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1101:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill' requested here fill(t) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1089:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill_or_generate__impl' requested here fill_or_generate__impl( t, typename traits::is_generator::type() ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:172:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill_or_generate' requested here fill_or_generate( u ) ; ^ ../inst/include/mapdeck_defaults.hpp:106:22: note: in instantiation of function template specialization 'Rcpp::Vector<16>::Vector' requested here Rcpp::StringVector sv(n, "middle"); ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:177: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/Proxy_Iterator.h:110:23: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] return proxy.index - other.proxy.index ; ~~~~~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/fill.h:38:35: note: in instantiation of member function 'Rcpp::internal::Proxy_Iterator>::operator-' requested here _VSTD::fill_n(__first, __last - __first, __value); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/fill.h:46:12: note: in instantiation of function template specialization 'std::__fill>, SEXPREC *>' requested here _VSTD::__fill(__first, __last, __value, typename iterator_traits<_ForwardIterator>::iterator_category()); ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1116:14: note: in instantiation of function template specialization 'std::fill>, SEXPREC *>' requested here std::fill( begin(), end(), converter_type::get( u ) ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:330:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill__dispatch' requested here fill__dispatch( typename traits::is_trivial::type(), u ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1101:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill' requested here fill(t) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1089:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill_or_generate__impl' requested here fill_or_generate__impl( t, typename traits::is_generator::type() ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:172:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill_or_generate' requested here fill_or_generate( u ) ; ^ ../inst/include/mapdeck_defaults.hpp:106:22: note: in instantiation of function template specialization 'Rcpp::Vector<16>::Vector' requested here Rcpp::StringVector sv(n, "middle"); ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] return lookup__impl(vec.begin(), vec.size() ) ; ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<16>::lookup' requested here return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/utils/utils.hpp:70:37: note: in instantiation of function template specialization 'Rcpp::match<16, true, Rcpp::Vector<16>, true, Rcpp::Vector<16>>' requested here Rcpp::IntegerVector out = Rcpp::match( x, lvls ); ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1041:13: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here import_expression(x, n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1053:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::assign_sugar_expression>' requested here assign_sugar_expression( x.get_ref() ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:247:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::assign_object>' requested here assign_object( x, typename traits::is_sugar_expression::type() ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/palette_utils/palette_utils.hpp:50:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::operator=>' requested here red = palette(_, 0); ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/convert/convert_colours.hpp:63:12: note: in instantiation of member function 'Rcpp::Matrix<13>::operator()' requested here mat(i, 0) = hex_to_rgba( hex, 1, 2 ); ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:59: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/SubMatrix.h:38:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nc( col_range_.size() ), ~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:167:14: note: in instantiation of member function 'Rcpp::SubMatrix<13>::SubMatrix' requested here return Sub( const_cast(*this), Range(0,nrow()-1) , col_range ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/convert/convert_colours.hpp:99:16: note: in instantiation of member function 'Rcpp::Matrix<13>::operator()' requested here mat = mat(Rcpp::_, Rcpp::Range(0,2) ); ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:59: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/SubMatrix.h:39:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nr( row_range_.size() ) ~~~~~~~~~~~^~~~~~ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:72:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:138:23: note: in instantiation of function template specialization 'Rcpp::MatrixRow<14>::operator=<13, true, Rcpp::Vector<13>>' requested here rgb_mat(i, _) = na_mat; ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:73:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:74:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:75:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:79:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:81:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:83:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:72:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:158:25: note: in instantiation of function template specialization 'Rcpp::MatrixRow<14>::operator=<14, true, Rcpp::Vector<14>>' requested here rgb_mat(i, _) = Rcpp::NumericVector::create(r,g,b,a); ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:73:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:74:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:75:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:79:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:81:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:83:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:215:47: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here rgb_vec[ position_counter ] = na_mat_d(0, 0); ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_expression' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_sugar_expression' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:219:44: note: in instantiation of function template specialization 'Rcpp::Vector<13>::Vector' requested here Rcpp::IntegerVector summary_values = Rcpp::seq_len( lvls.length() ); ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:59: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/SubMatrix.h:38:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nc( col_range_.size() ), ~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:170:14: note: in instantiation of member function 'Rcpp::SubMatrix<14>::SubMatrix' requested here return Sub( const_cast(*this), row_range, Range(0,ncol()-1) ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/list/list.hpp:115:56: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here Rcpp::NumericMatrix these_colours = colours( elements, Rcpp::_ ); ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:59: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/SubMatrix.h:39:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nr( row_range_.size() ) ~~~~~~~~~~~^~~~~~ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_expression' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_sugar_expression' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/list/list.hpp:153:44: note: in instantiation of function template specialization 'Rcpp::Vector<13>::Vector' requested here Rcpp::IntegerVector elements = Rcpp::seq( vector_position, end_position ); ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:538:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:161:42: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here return jsonify::writers::simple::write_value( writer, im, unbox, by ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:544:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:712:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:166:42: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here return jsonify::writers::simple::write_value( writer, lm, unbox, by ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:719:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:655:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_row = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:171:42: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here return jsonify::writers::simple::write_value( writer, sm, unbox, by ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:661:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:102:55: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:360:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, nv, unbox, digits, numeric_dates ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/scalars.hpp:36:18: warning: implicit conversion loses integer precision: 'int' to 'value_type' (aka 'char') [-Wimplicit-int-conversion] str[1] = toupper( str[1] ); ~ ^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:111:38: note: in instantiation of function template specialization 'jsonify::writers::scalars::write_value>>>' requested here jsonify::writers::scalars::write_value( writer, nv[i], digits ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:360:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, nv, unbox, digits, numeric_dates ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/scalars.hpp:38:18: warning: implicit conversion loses integer precision: 'int' to 'value_type' (aka 'char') [-Wimplicit-int-conversion] str[0] = toupper(str[0]); ~ ^~~~~~~~~~~~~~~ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:230:55: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:365:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, iv, unbox, numeric_dates, factors_as_string ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:564:40: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:87:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, nm, row, unbox ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:80:40: note: in instantiation of function template specialization 'jsonify::writers::complex::switch_vector>>>' requested here jsonify::writers::complex::switch_vector( ^ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:503:40: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:99:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, im, row, unbox ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:80:40: note: in instantiation of function template specialization 'jsonify::writers::complex::switch_vector>>>' requested here jsonify::writers::complex::switch_vector( ^ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:678:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_row = mat( row, Rcpp::_ ); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:110:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, lm, row, unbox ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:80:40: note: in instantiation of function template specialization 'jsonify::writers::complex::switch_vector>>>' requested here jsonify::writers::complex::switch_vector( ^ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:623:39: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:120:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, sm, row, unbox ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:80:40: note: in instantiation of function template specialization 'jsonify::writers::complex::switch_vector>>>' requested here jsonify::writers::complex::switch_vector( ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<10>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<10>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:136:33: note: in instantiation of function template specialization 'Rcpp::Vector<10>::Vector>' requested here Rcpp::LogicalVector v = mat( i, Rcpp::_ ); ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:405:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:140:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, v, unbox ); ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<10>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<10>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:150:33: note: in instantiation of function template specialization 'Rcpp::Vector<10>::Vector>' requested here Rcpp::LogicalVector v = mat( Rcpp::_, i ); ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:184:33: note: in instantiation of function template specialization 'Rcpp::Vector<13>::Vector>' requested here Rcpp::IntegerVector v = mat( i, Rcpp::_ ); ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:382:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:188:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, v, unbox ); ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:198:33: note: in instantiation of function template specialization 'Rcpp::Vector<13>::Vector>' requested here Rcpp::IntegerVector v = mat( Rcpp::_, i ); ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:234:33: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here Rcpp::NumericVector v = mat( i, Rcpp::_ ); ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:360:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:238:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, v, unbox, digits ); ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:282:32: note: in instantiation of function template specialization 'Rcpp::Vector<16>::Vector>' requested here Rcpp::StringVector v = mat( i, Rcpp::_ ); ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:26:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:286:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, v, unbox ); ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:61: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixColumn.h:39:57: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] start(parent.begin() + static_cast(i) * n ), ~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:158:14: note: in instantiation of member function 'Rcpp::MatrixColumn<16>::MatrixColumn' requested here return Column( *this, i ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:296:35: note: in instantiation of member function 'Rcpp::Matrix<16>::operator()' requested here Rcpp::StringVector v = mat( Rcpp::_, i ); ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:61: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixColumn.h:40:90: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] const_start(const_cast(parent).begin() + static_cast(i) * n) ~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:296:32: note: in instantiation of function template specialization 'Rcpp::Vector<16>::Vector>' requested here Rcpp::StringVector v = mat( Rcpp::_, i ); ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:32:64: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] std::copy( this_vec.begin(), this_vec.end(), v.begin() + i ); ~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:53:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_vector<16>' requested here return simplify_vector< STRSXP >( x, n ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:180:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<13>' requested here return simplify_matrix< INTSXP >( out, n_col, n_row ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:183:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<14>' requested here return simplify_matrix< REALSXP >( out, n_col, n_row ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:186:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<10>' requested here return simplify_matrix< LGLSXP >( out, n_col, n_row ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:164:9: note: in instantiation of member function 'Rcpp::Matrix<10>::operator()' requested here mat( i, j ) = this_val; ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:186:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<10>' requested here return simplify_matrix< LGLSXP >( out, n_col, n_row ); ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:192:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<16>' requested here return simplify_matrix< STRSXP >( out, n_col, n_row ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:164:9: note: in instantiation of member function 'Rcpp::Matrix<16>::operator()' requested here mat( i, j ) = this_val; ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:192:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<16>' requested here return simplify_matrix< STRSXP >( out, n_col, n_row ); ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json_utils.hpp:42:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'SizeType' (aka 'unsigned int') [-Wshorten-64-to-32] curr_dtype = doc[i].GetType(); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:207:14: note: in instantiation of function template specialization 'jsonify::from_json::get_dtypes>>' requested here dtypes = get_dtypes(doc); ^ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json_utils.hpp:52:16: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'SizeType' (aka 'unsigned int') [-Wshorten-64-to-32] if(doc[i].IsDouble()) { ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json_utils.hpp:42:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'SizeType' (aka 'unsigned int') [-Wshorten-64-to-32] curr_dtype = doc[i].GetType(); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:136:18: note: in instantiation of function template specialization 'jsonify::from_json::get_dtypes>>' requested here dtypes = get_dtypes( json ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:190:12: note: in instantiation of function template specialization 'jsonify::from_json::parse_json>>' requested here return parse_json( json, simplify, fill_na ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:37:32: note: in instantiation of function template specialization 'jsonify::from_json::from_json>>' requested here return jsonify::from_json::from_json( doc, simplify, fill_na ); ^ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json_utils.hpp:52:16: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'SizeType' (aka 'unsigned int') [-Wshorten-64-to-32] if(doc[i].IsDouble()) { ~~~ ^ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:5: /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:20:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_id_cols = id_cols.size(); ~~~~~~~~~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:48:12: note: in instantiation of function template specialization 'geometries::utils::other_columns<16>' requested here return other_columns( df_names, id_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:21:33: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_other_cols = all_cols.size(); ~~~~~~~~~~~~ ~~~~~~~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:20:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_id_cols = id_cols.size(); ~~~~~~~~~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:57:12: note: in instantiation of function template specialization 'geometries::utils::other_columns<13>' requested here return other_columns( other_cols, id_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:21:33: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_other_cols = all_cols.size(); ~~~~~~~~~~~~ ~~~~~~~~~^~~~~~ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:6: /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:27:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::IntegerMatrix im( unique_n, 2); ~~ ^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:88:16: note: in instantiation of function template specialization 'geometries::utils::id_positions<13>' requested here return id_positions( iv_line_ids, iv_unique_ids ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:47:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:52:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i - 1; ~ ~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:59:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:64:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:27:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::IntegerMatrix im( unique_n, 2); ~~ ^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:93:16: note: in instantiation of function template specialization 'geometries::utils::id_positions<14>' requested here return id_positions( nv_line_ids, nv_unique_ids ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:47:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:52:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i - 1; ~ ~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:59:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:64:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:27:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::IntegerMatrix im( unique_n, 2); ~~ ^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:98:16: note: in instantiation of function template specialization 'geometries::utils::id_positions<16>' requested here return id_positions( sv_line_ids, sv_unique_ids ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:47:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:52:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i - 1; ~ ~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:59:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:64:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i; ~ ^ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:106:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m( n_row, n_col ); ~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:313:18: note: in instantiation of function template specialization 'geometries::matrix::to_geometry_matrix<13>' requested here return to_geometry_matrix( iv, geometry_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:106:30: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m( n_row, n_col ); ~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:89:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m2( n_row, n_col ); ~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:316:18: note: in instantiation of function template specialization 'geometries::matrix::to_geometry_matrix<13>' requested here return to_geometry_matrix( im, geometry_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:89:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m2( n_row, n_col ); ~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:92:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] m2( Rcpp::_, i ) = m( Rcpp::_, this_col ); ~~ ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:106:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m( n_row, n_col ); ~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:322:18: note: in instantiation of function template specialization 'geometries::matrix::to_geometry_matrix<14>' requested here return to_geometry_matrix( nv, geometry_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:106:30: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m( n_row, n_col ); ~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:89:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m2( n_row, n_col ); ~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:325:18: note: in instantiation of function template specialization 'geometries::matrix::to_geometry_matrix<14>' requested here return to_geometry_matrix( nm, geometry_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:89:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m2( n_row, n_col ); ~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:92:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] m2( Rcpp::_, i ) = m( Rcpp::_, this_col ); ~~ ^ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:5: /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:26:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > last_row = mat( n_row - 1, Rcpp::_ ); ~~~ ~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:69:22: note: in instantiation of function template specialization 'geometries::utils::matrix_is_closed<13>' requested here bool is_closed = matrix_is_closed( mat ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:85:20: note: in instantiation of function template specialization 'geometries::utils::close_matrix<13>' requested here lst[i] = close_matrix( im ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:48:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:70:12: note: in instantiation of function template specialization 'geometries::utils::close_matrix<13>' requested here return close_matrix( mat, is_closed ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:85:20: note: in instantiation of function template specialization 'geometries::utils::close_matrix<13>' requested here lst[i] = close_matrix( im ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:48:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:53:35: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nv[ rng ] = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:55:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] mat2( Rcpp::_ , i ) = nv; ~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/RangeIndexer.h:63:6: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] UNROLL_LOOP(=) ^~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/RangeIndexer.h:28:32: note: expanded from macro 'UNROLL_LOOP' int __trip_count = (size_) >> 2; \ ~~~~~~~~~~~~ ~~~~~~~~^~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:53:19: note: in instantiation of function template specialization 'Rcpp::internal::RangeIndexer<13, true, Rcpp::Vector<13>>::operator=>' requested here nv[ rng ] = mat( Rcpp::_, i ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:70:12: note: in instantiation of function template specialization 'geometries::utils::close_matrix<13>' requested here return close_matrix( mat, is_closed ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:85:20: note: in instantiation of function template specialization 'geometries::utils::close_matrix<13>' requested here lst[i] = close_matrix( im ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:48:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:70:12: note: in instantiation of function template specialization 'geometries::utils::close_matrix<14>' requested here return close_matrix( mat, is_closed ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:90:20: note: in instantiation of function template specialization 'geometries::utils::close_matrix<14>' requested here lst[i] = close_matrix( nm ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:48:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:53:35: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nv[ rng ] = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:55:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] mat2( Rcpp::_ , i ) = nv; ~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/RangeIndexer.h:63:6: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] UNROLL_LOOP(=) ^~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/RangeIndexer.h:28:32: note: expanded from macro 'UNROLL_LOOP' int __trip_count = (size_) >> 2; \ ~~~~~~~~~~~~ ~~~~~~~~^~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:53:19: note: in instantiation of function template specialization 'Rcpp::internal::RangeIndexer<14, true, Rcpp::Vector<14>>::operator=>' requested here nv[ rng ] = mat( Rcpp::_, i ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:70:12: note: in instantiation of function template specialization 'geometries::utils::close_matrix<14>' requested here return close_matrix( mat, is_closed ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:90:20: note: in instantiation of function template specialization 'geometries::utils::close_matrix<14>' requested here lst[i] = close_matrix( nm ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:26:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > last_row = mat( n_row - 1, Rcpp::_ ); ~~~ ~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:92:49: note: in instantiation of function template specialization 'geometries::utils::matrix_is_closed<14>' requested here bool is_closed = geometries::utils::matrix_is_closed( res_mat ); ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/RangeIndexer.h:59:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] start(vec_.begin() + range_.get_start() ), size_( range_.size() ) {} ~ ~~~~~~~^~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:547:16: note: in instantiation of member function 'Rcpp::internal::RangeIndexer<19, true, Rcpp::Vector<19>>::RangeIndexer' requested here return Indexer( const_cast(*this), range ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:156:32: note: in instantiation of member function 'Rcpp::Vector<19>::operator[]' requested here Rcpp::_["coords"] = res[ coord_rng ] ^ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:7: /Users/ripley/R/Library/geometries/include/geometries/utils/lists/as_list.hpp:26:45: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > v = x( Rcpp::_, i ); ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/as_list.hpp:46:18: note: in instantiation of function template specialization 'geometries::utils::as_list<13>' requested here return as_list( im ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/as_list.hpp:26:45: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > v = x( Rcpp::_, i ); ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/as_list.hpp:55:18: note: in instantiation of function template specialization 'geometries::utils::as_list<14>' requested here return as_list( nm ); ^ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:8: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/sfg.hpp:8: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/sfg_polygon.hpp:7: /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:27:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > last_row = mat( n_row - 1, Rcpp::_ ); ~~~ ~~~~~~^~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:72:18: note: in instantiation of function template specialization 'sfheaders::polygon_utils::close_polygon<13>' requested here lst[i] = close_polygon( im, close ); // #nocov ^ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:37:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ^~~~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:37:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ~~~~~~^~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:42:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] v[ rng ] = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:44:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] mat2( Rcpp::_ , i ) = v; ~~~~ ^ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:27:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > last_row = mat( n_row - 1, Rcpp::_ ); ~~~ ~~~~~~^~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:77:18: note: in instantiation of function template specialization 'sfheaders::polygon_utils::close_polygon<14>' requested here lst[i] = close_polygon( nm, close ); ^ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:37:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ^~~~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:37:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ~~~~~~^~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:42:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] v[ rng ] = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:44:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] mat2( Rcpp::_ , i ) = v; ~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:334:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] inline iterator end() { return cache.get() + size() ; } ~ ^~~~~~ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:20:57: note: in instantiation of member function 'Rcpp::Vector<19>::end' requested here for (Rcpp::List::iterator it = sfg.begin(); it != sfg.end(); it++) { ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:72:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:126:31: note: in instantiation of function template specialization 'Rcpp::MatrixRow<14>::operator=<14, true, Rcpp::MatrixColumn<14>>' requested here a_polygon(j, Rcpp::_) = vb(Rcpp::_, this_index); ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:72:29: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:73:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:73:29: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:74:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:74:29: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:75:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:75:29: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:79:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:79:31: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:81:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:81:31: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:83:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:83:31: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:601:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:130:33: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value(writer, a_polygon); ^ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:607:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_col = mat( Rcpp::_, i ); ~~~ ^ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:11: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:83:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int sfglength = geometries::utils::sexp_length( sfg ); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:225:36: note: in instantiation of function template specialization 'geojsonsf::write_geometry::write_geometry>>>' requested here geojsonsf::write_geometry::write_geometry( writer, sfc, i, digits ); ^ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:10: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/write_geojson.hpp:6: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:6: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:193:43: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = line(i, Rcpp::_ ); ~~~~ ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:223:7: note: in instantiation of function template specialization 'geojsonsf::writers::linestring_to_geojson>>>' requested here linestring_to_geojson( writer, iv, digits ); ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:69:24: note: in instantiation of function template specialization 'geojsonsf::writers::linestring_to_geojson>>>' requested here geojsonsf::writers::linestring_to_geojson( writer, sfg, digits ); ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:94:31: note: in instantiation of function template specialization 'geojsonsf::write_geojson::write_geojson>>>' requested here geojsonsf::write_geojson::write_geojson(writer, sfg, geom_type, cls, digits ); ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:225:36: note: in instantiation of function template specialization 'geojsonsf::write_geometry::write_geometry>>>' requested here geojsonsf::write_geometry::write_geometry( writer, sfc, i, digits ); ^ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:10: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/write_geojson.hpp:6: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:6: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:208:43: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = line(i, Rcpp::_ ); ~~~~ ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:228:7: note: in instantiation of function template specialization 'geojsonsf::writers::linestring_to_geojson>>>' requested here linestring_to_geojson( writer, nv, digits ); ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:69:24: note: in instantiation of function template specialization 'geojsonsf::writers::linestring_to_geojson>>>' requested here geojsonsf::writers::linestring_to_geojson( writer, sfg, digits ); ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:94:31: note: in instantiation of function template specialization 'geojsonsf::write_geojson::write_geojson>>>' requested here geojsonsf::write_geojson::write_geojson(writer, sfg, geom_type, cls, digits ); ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:225:36: note: in instantiation of function template specialization 'geojsonsf::write_geometry::write_geometry>>>' requested here geojsonsf::write_geometry::write_geometry( writer, sfc, i, digits ); ^ In file included from path.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:11: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:42:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int sfglength = geometries::utils::sexp_length( sfg ); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:394:36: note: in instantiation of function template specialization 'geojsonsf::write_geometry::write_geometry>>>' requested here geojsonsf::write_geometry::write_geometry( writer, sfg, cls, digits ); ^ In file included from path.cpp:7: In file included from /Users/ripley/R/Library/interleave/include/interleave/primitives/primitives.hpp:4: /Users/ripley/R/Library/interleave/include/interleave/earcut/interleave.hpp:71:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > v = mat( i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:89:29: note: in instantiation of member function 'Rcpp::traits::Exporter>>::get' requested here return exporter.get(); ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:152:26: note: in instantiation of function template specialization 'Rcpp::internal::as>>' requested here return internal::as(x, typename traits::r_type_traits::r_category()); ^ /Users/ripley/R/Library/interleave/include/interleave/earcut/interleave.hpp:96:20: note: in instantiation of function template specialization 'Rcpp::as>>' requested here x[i] = Rcpp::as< std::vector< std::vector< T > > >( mat ); ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:89:29: note: in instantiation of member function 'Rcpp::traits::Exporter>>>::get' requested here return exporter.get(); ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:152:26: note: in instantiation of function template specialization 'Rcpp::internal::as>>>' requested here return internal::as(x, typename traits::r_type_traits::r_category()); ^ /Users/ripley/R/Library/interleave/include/interleave/earcut/interleave.hpp:118:32: note: in instantiation of function template specialization 'Rcpp::as>>>' requested here Polygons polyrings = Rcpp::as< Polygons >( polygon ); ^ In file included from path.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:30: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/operators/operators.h:31: /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/operators/plus.h:452:56: warning: implicit conversion loses integer precision: 'const long' to 'STORAGE' (aka 'int') [-Wshorten-64-to-32] return sugar::Plus_Vector_Primitive( lhs, rhs ) ; ~~~~~ ^~~ /Users/ripley/R/Library/interleave/include/interleave/primitives/primitives.hpp:223:45: note: in instantiation of function template specialization 'Rcpp::operator+<13, true, Rcpp::Vector<13>, long>' requested here Rcpp::IntegerVector origin_index = iv + total_rows; // Need to add the number of coordinates in the original matrix/geometry ^ 413 warnings generated. clang++ -mmacos-version-min=14.3 -std=gnu++14 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -DSTRICT_R_HEADERS -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/BH/include' -I'/Users/ripley/R/Library/colourvalues/include' -I'/Users/ripley/R/Library/geojsonsf/include' -I'/Users/ripley/R/Library/geometries/include' -I'/Users/ripley/R/Library/interleave/include' -I'/Users/ripley/R/Library/jsonify/include' -I'/Users/ripley/R/Library/rapidjsonr/include' -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/sfheaders/include' -I'/Users/ripley/R/Library/spatialwidget/include' -isystem /opt/R/arm64/include -I../inst/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c point.cpp -o point.o clang++ -mmacos-version-min=14.3 -std=gnu++14 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -DSTRICT_R_HEADERS -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/BH/include' -I'/Users/ripley/R/Library/colourvalues/include' -I'/Users/ripley/R/Library/geojsonsf/include' -I'/Users/ripley/R/Library/geometries/include' -I'/Users/ripley/R/Library/interleave/include' -I'/Users/ripley/R/Library/jsonify/include' -I'/Users/ripley/R/Library/rapidjsonr/include' -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/sfheaders/include' -I'/Users/ripley/R/Library/spatialwidget/include' -isystem /opt/R/arm64/include -I../inst/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c polygon.cpp -o polygon.o In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:5: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours.hpp:4: /Users/ripley/R/Library/colourvalues/include/colourvalues/scale/scale.hpp:43:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = x.size(); ~ ~~^~~~~~ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:5: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours.hpp:5: /Users/ripley/R/Library/colourvalues/include/colourvalues/utils/utils.hpp:10:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = v.size(); ~ ~~^~~~~~ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:5: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours.hpp:7: /Users/ripley/R/Library/colourvalues/include/colourvalues/convert/convert_colours.hpp:50:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = hex_strings.size(); ~ ~~~~~~~~~~~~^~~~~~ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:7: /Users/ripley/R/Library/colourvalues/include/colourvalues/alpha/alpha.hpp:70:27: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_alpha = alpha.size(); ~~~~~~~ ~~~~~~^~~~~~ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:10: /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:73:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] r = round( spline_red( this_x ) * 255 ) ; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:74:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] g = round( spline_green( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:75:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] b = round( spline_blue( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:84:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] a = round( spline_alpha( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:86:17: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] a = alpha[i]; ~ ^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:88:17: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] a = alpha[0]; // should be length 5, but all the same ~ ^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:141:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] r = round( spline_red( this_x ) * 255 ) ; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:142:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] g = round( spline_green( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:143:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] b = round( spline_blue( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:152:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] a = round( spline_alpha( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:154:17: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] a = alpha[i]; ~ ^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:156:17: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] a = alpha[0]; // should be length 5, but all the same ~ ^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:117:33: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix rgb_mat(n, cols); ~~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:138:17: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] rgb_mat(i, _) = na_mat; ~~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:158:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] rgb_mat(i, _) = Rcpp::NumericVector::create(r,g,b,a); ~~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:160:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] rgb_mat(i, _) = Rcpp::NumericVector::create(r,g,b); ~~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:224:42: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] r = roundf( spline_red( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:225:44: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] g = roundf( spline_green( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:226:43: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] b = roundf( spline_blue( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:236:48: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] a = roundf( spline_alpha( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:332:42: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] r = roundf( spline_red( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:333:44: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] g = roundf( spline_green( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:334:43: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] b = roundf( spline_blue( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:80:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:96:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:145:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:146:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:160:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:206:65: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( 0, x.size(), palette.ncol() ); ~~~~~~~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:222:26: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int red_size = red.size(); ~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:243:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:244:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:262:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:289:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:305:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:331:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:332:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:346:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_rgb.hpp:6: /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:76:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:93:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:121:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:122:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:136:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:161:65: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( 0, x.size(), palette.ncol() ); ~~~~~~~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:176:26: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int red_size = red.size(); ~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:196:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:197:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:213:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:240:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:256:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:282:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:283:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:297:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:8: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_rgb_interleaved.hpp:6: /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:86:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:102:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:136:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:137:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:151:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:182:65: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( 0, x.size(), palette.ncol() ); ~~~~~~~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:197:26: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int red_size = red.size(); ~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:223:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:224:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:240:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:273:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:289:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:321:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:322:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:336:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/scalars.hpp:36:18: warning: implicit conversion loses integer precision: 'int' to 'value_type' (aka 'char') [-Wimplicit-int-conversion] str[1] = toupper( str[1] ); ~ ^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/scalars.hpp:38:18: warning: implicit conversion loses integer precision: 'int' to 'value_type' (aka 'char') [-Wimplicit-int-conversion] str[0] = toupper(str[0]); ~ ^~~~~~~~~~~~~~~ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:26:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:102:55: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:230:55: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:360:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:382:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:405:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:503:40: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:538:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:544:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:564:40: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:601:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:607:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:623:39: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:655:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_row = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:661:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:678:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_row = mat( row, Rcpp::_ ); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:712:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:719:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_col = mat( Rcpp::_, i ); ~~~ ^ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:136:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector v = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:150:47: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector v = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:184:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector v = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:198:47: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector v = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:234:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector v = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:248:47: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector v = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:282:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector v = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:296:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector v = mat( Rcpp::_, i ); ~~~ ^ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:469:23: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] int r_type = it.second; ~~~~~~ ~~~^~~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:600:23: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] int r_type = it.second; ~~~~~~ ~~~^~~~~~ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:5: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:6: /Users/ripley/R/Library/geometries/include/geometries/utils/sexp/sexp.hpp:110:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] ians[0] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/sexp/sexp.hpp:130:23: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] ians[ i ] = j; ~ ^ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:5: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:7: /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:20:16: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = iv.size(); ~ ~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:34:16: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = sv.size(); ~ ~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:50:28: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = values_to_find.size(); ~ ~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:65:28: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = values_to_find.size(); ~ ~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:103:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_1 = iv_1.length(); ~~~ ~~~~~^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:104:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_2 = iv_2.length(); ~~~ ~~~~~^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:151:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_1 = nv_1.length(); ~~~ ~~~~~^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:152:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_2 = nv_2.length(); ~~~ ~~~~~^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:189:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_1 = sv_1.length(); ~~~ ~~~~~^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:190:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_2 = sv_2.length(); ~~~ ~~~~~^~~~~~~~ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:5: /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:55:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_col = df.ncol(); ~~~~~ ~~~^~~~~~ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:6: /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:27:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::IntegerMatrix im( unique_n, 2); ~~ ^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:47:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:52:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i - 1; ~ ~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:59:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:64:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i; ~ ^ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:7: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/lists/list.hpp:11: /Users/ripley/R/Library/geometries/include/geometries/utils/lists/unlist.hpp:110:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int end_position = list_position + n_elements[0] - 1; ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/unlist.hpp:140:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int end_position = list_position + n_elements[0] - 1; ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/unlist.hpp:170:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int end_position = list_position + n_elements[0] - 1; ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/unlist.hpp:200:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int end_position = list_position + n_elements[0] - 1; ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:35:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:35:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:39:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:64:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:64:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:68:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:132:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:132:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:139:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:168:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:168:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:174:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:216:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:216:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:222:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:256:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:256:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:262:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:49:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int j = n_id_cols; ~ ^~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:81:33: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] nelems[ res_counter ] = n_elements; ~ ^~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:83:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] sums[ res_counter ] = cumulative_size; ~ ^~~~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:87:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] end = i - 1; ~ ~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:111:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] start = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:117:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] nelems[ res_counter ] = n_elements; ~ ^~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:120:27: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] sums[ res_counter ] = cumulative_size; ~ ^~~~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:125:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] end = i - 1; ~ ~~^~~ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:30:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector nv = geometry_mat( i, Rcpp::_ ); ~~~~~~~~~~~~ ^ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:8: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/sfg.hpp:4: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/point/sfg_point.hpp:5: /Users/ripley/R/Library/sfheaders/include/sfheaders/utils/utils.hpp:122:26: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] int_id_column[0] = col_counter; ~ ^~~~~~~~~~~ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:8: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/sfg.hpp:4: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/point/sfg_point.hpp:10: In file included from /Users/ripley/R/Library/geometries/include/geometries/nest/nest.hpp:6: /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:142:30: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::IntegerMatrix res( n, 5 ); ~~~ ^ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:159:21: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] res( i, 0 ) = cumulative_coords; ~ ^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:161:39: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] res( i, 1 ) = cumulative_coords - 1; ~ ~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:162:21: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] res( i, 2 ) = geom_dimension; ~ ^~~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:163:21: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] res( i, 3 ) = nest; ~ ^~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:199:62: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] im(0, 1) = geometries::utils::sexp_n_row( geometries ) - 1; ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:200:18: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] im(0, 2) = max_dimension; ~ ^~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:201:18: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] im(0, 3) = max_nest; // level of nesting (a matrix is not nested in a list) ~ ^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:222:18: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] im(0, 2) = max_dimension; ~ ^~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:223:18: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] im(0, 3) = max_nest; ~ ^~~~~~~~ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:9: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfc/sfc.hpp:5: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfc/point/sfc_point.hpp:11: /Users/ripley/R/Library/geometries/include/geometries/bbox/bbox.hpp:156:33: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'R_xlen_t' (aka 'long') [-Wfloat-conversion] Rcpp::NumericVector x = df[ geometry_cols[0] ]; ~~ ^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/bbox/bbox.hpp:157:33: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'R_xlen_t' (aka 'long') [-Wfloat-conversion] Rcpp::NumericVector y = df[ geometry_cols[1] ]; ~~ ^~~~~~~~~~~~~~~~ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:10: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/sf.hpp:5: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/point/sf_point.hpp:8: /Users/ripley/R/Library/geometries/include/geometries/utils/rleid/rleid.hpp:21:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int j = n_id_cols; ~ ^~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/rleid/rleid.hpp:72:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] ians[ counter ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/rleid/rleid.hpp:81:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] ians[ counter ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/rleid/rleid.hpp:90:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] ians[ counter ] = i; ~ ^ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:10: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/sf.hpp:5: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/point/sf_point.hpp:10: /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/sf_utils.hpp:152:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] idx[ k ] = k + start_idx; ~ ~~^~~~~~~~~~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/sf_utils.hpp:155:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] idx[ res_size - 1 ] = start_idx; ~ ^~~~~~~~~ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:21: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/colour/colour.hpp:8: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/palette/palette.hpp:7: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/utils.hpp:5: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/factors/factors.hpp:13:23: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_cols = data.length(); ~~~~~~ ~~~~~^~~~~~~~ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:21: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/colour/colour.hpp:8: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/palette/palette.hpp:7: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/utils.hpp:8: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/colour/colour.hpp:15:19: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int len = str.length(); ~~~ ~~~~^~~~~~~~ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:21: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/colour/colour.hpp:8: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/palette/palette.hpp:7: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/utils.hpp:9: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/dates/dates.hpp:12:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = v.size(); ~ ~~^~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/dates/dates.hpp:58:23: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_cols = data.length(); ~~~~~~ ~~~~~^~~~~~~~ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:5: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours.hpp:4: /Users/ripley/R/Library/colourvalues/include/colourvalues/scale/scale.hpp:43:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = x.size(); ~ ~~^~~~~~ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:5: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours.hpp:5: /Users/ripley/R/Library/colourvalues/include/colourvalues/utils/utils.hpp:10:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = v.size(); ~ ~~^~~~~~ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:21: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/colour/colour.hpp:10: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/legend/legend.hpp:67:26: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = legend_types.size(); ~ ~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/legend/legend.hpp:98:23: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n = lege_list.size(); ~ ~~~~~~~~~~^~~~~~ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:22: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/data_construction/data_construction.hpp:43:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = params.size(); ~ ~~~~~~~^~~~~~ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:9: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geometries/sizes.hpp:21:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] return multiline.size(); ~~~~~~ ~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geometries/sizes.hpp:25:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] return multipolygon.size(); ~~~~~~ ~~~~~~~~~~~~~^~~~~~ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:10: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/write_geojson.hpp:6: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:6: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:193:43: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = line(i, Rcpp::_ ); ~~~~ ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:208:43: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = line(i, Rcpp::_ ); ~~~~ ^ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:10: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/write_geojson.hpp:6: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:126:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector pts = mls(geometry_index, Rcpp::_ ); ~~~ ^~~~~~~~~~~~~~ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:11: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:42:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int sfglength = geometries::utils::sexp_length( sfg ); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:83:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int sfglength = geometries::utils::sexp_length( sfg ); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:133:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int sfglength = geometries::utils::sexp_length( sfg ); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:65:26: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] int this_index = polygon_indeces[j]; ~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:123:26: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] int this_index = polygon_indeces[j]; ~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:59:37: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] polygon_indeces = ib(Rcpp::_, i); ~~ ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:102:37: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] polygon_indeces = ib(Rcpp::_, i); ~~ ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:103:45: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix a_polygon( n_row, n_coords ); ~~~~~~~~~ ^~~~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:103:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix a_polygon( n_row, n_coords ); ~~~~~~~~~ ^~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:126:19: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] a_polygon(j, Rcpp::_) = vb(Rcpp::_, this_index); ~~~~~~~~~ ^ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:26: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/parameters/parameters.hpp:36:27: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_params = params.size(); ~~~~~~~~ ~~~~~~~^~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/parameters/parameters.hpp:159:119: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector colours_remove = spatialwidget::utils::map::extract_map( colour_columns, colour_columns.size() * 2 ); ~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from point.cpp:4: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:498:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] expanded_index[ counter + j ] = i; ~ ^ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:5: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours.hpp:7: /Users/ripley/R/Library/colourvalues/include/colourvalues/convert/convert_colours.hpp:50:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = hex_strings.size(); ~ ~~~~~~~~~~~~^~~~~~ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:7: /Users/ripley/R/Library/colourvalues/include/colourvalues/alpha/alpha.hpp:70:27: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_alpha = alpha.size(); ~~~~~~~ ~~~~~~^~~~~~ In file included from point.cpp:5: /Users/ripley/R/Library/sfheaders/include/sfheaders/df/sf.hpp:44:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] expanded_index[ counter + j ] = i; ~ ^ point.cpp:135:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_cols = geometry_cols.length(); ~~~~~~ ~~~~~~~~~~~~~~^~~~~~~~ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:10: /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:73:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] r = round( spline_red( this_x ) * 255 ) ; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:74:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] g = round( spline_green( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:75:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] b = round( spline_blue( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:84:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] a = round( spline_alpha( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:86:17: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] a = alpha[i]; ~ ^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:88:17: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] a = alpha[0]; // should be length 5, but all the same ~ ^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:141:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] r = round( spline_red( this_x ) * 255 ) ; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:142:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] g = round( spline_green( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:143:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] b = round( spline_blue( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:152:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] a = round( spline_alpha( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:154:17: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] a = alpha[i]; ~ ^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:156:17: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] a = alpha[0]; // should be length 5, but all the same ~ ^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:117:33: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix rgb_mat(n, cols); ~~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:138:17: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] rgb_mat(i, _) = na_mat; ~~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:158:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] rgb_mat(i, _) = Rcpp::NumericVector::create(r,g,b,a); ~~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:160:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] rgb_mat(i, _) = Rcpp::NumericVector::create(r,g,b); ~~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:224:42: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] r = roundf( spline_red( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:225:44: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] g = roundf( spline_green( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:226:43: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] b = roundf( spline_blue( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:236:48: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] a = roundf( spline_alpha( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:332:42: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] r = roundf( spline_red( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:333:44: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] g = roundf( spline_green( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:334:43: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] b = roundf( spline_blue( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:80:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:96:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:145:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:146:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:160:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:206:65: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( 0, x.size(), palette.ncol() ); ~~~~~~~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:222:26: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int red_size = red.size(); ~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:243:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:244:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:262:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:289:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:305:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:331:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:332:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:346:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_rgb.hpp:6: /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:76:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:93:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:121:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:122:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:136:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:161:65: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( 0, x.size(), palette.ncol() ); ~~~~~~~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:176:26: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int red_size = red.size(); ~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:196:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:197:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:213:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:240:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:256:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:282:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:283:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:297:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:8: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_rgb_interleaved.hpp:6: /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:86:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:102:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:136:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:137:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:151:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:182:65: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( 0, x.size(), palette.ncol() ); ~~~~~~~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:197:26: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int red_size = red.size(); ~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:223:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:224:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:240:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:273:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:289:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:321:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:322:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:336:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:334:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] inline iterator end() { return cache.get() + size() ; } ~ ^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1116:29: note: in instantiation of member function 'Rcpp::Vector<16>::end' requested here std::fill( begin(), end(), converter_type::get( u ) ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:330:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill__dispatch' requested here fill__dispatch( typename traits::is_trivial::type(), u ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1101:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill' requested here fill(t) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1089:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill_or_generate__impl' requested here fill_or_generate__impl( t, typename traits::is_generator::type() ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:172:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill_or_generate' requested here fill_or_generate( u ) ; ^ ../inst/include/mapdeck_defaults.hpp:106:22: note: in instantiation of function template specialization 'Rcpp::Vector<16>::Vector' requested here Rcpp::StringVector sv(n, "middle"); ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:177: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/Proxy_Iterator.h:110:23: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] return proxy.index - other.proxy.index ; ~~~~~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/fill.h:38:35: note: in instantiation of member function 'Rcpp::internal::Proxy_Iterator>::operator-' requested here _VSTD::fill_n(__first, __last - __first, __value); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/fill.h:46:12: note: in instantiation of function template specialization 'std::__fill>, SEXPREC *>' requested here _VSTD::__fill(__first, __last, __value, typename iterator_traits<_ForwardIterator>::iterator_category()); ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1116:14: note: in instantiation of function template specialization 'std::fill>, SEXPREC *>' requested here std::fill( begin(), end(), converter_type::get( u ) ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:330:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill__dispatch' requested here fill__dispatch( typename traits::is_trivial::type(), u ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1101:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill' requested here fill(t) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1089:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill_or_generate__impl' requested here fill_or_generate__impl( t, typename traits::is_generator::type() ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:172:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill_or_generate' requested here fill_or_generate( u ) ; ^ ../inst/include/mapdeck_defaults.hpp:106:22: note: in instantiation of function template specialization 'Rcpp::Vector<16>::Vector' requested here Rcpp::StringVector sv(n, "middle"); ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] return lookup__impl(vec.begin(), vec.size() ) ; ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<16>::lookup' requested here return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/utils/utils.hpp:70:37: note: in instantiation of function template specialization 'Rcpp::match<16, true, Rcpp::Vector<16>, true, Rcpp::Vector<16>>' requested here Rcpp::IntegerVector out = Rcpp::match( x, lvls ); ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1041:13: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here import_expression(x, n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1053:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::assign_sugar_expression>' requested here assign_sugar_expression( x.get_ref() ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:247:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::assign_object>' requested here assign_object( x, typename traits::is_sugar_expression::type() ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/palette_utils/palette_utils.hpp:50:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::operator=>' requested here red = palette(_, 0); ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/convert/convert_colours.hpp:63:12: note: in instantiation of member function 'Rcpp::Matrix<13>::operator()' requested here mat(i, 0) = hex_to_rgba( hex, 1, 2 ); ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:59: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/SubMatrix.h:38:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nc( col_range_.size() ), ~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:167:14: note: in instantiation of member function 'Rcpp::SubMatrix<13>::SubMatrix' requested here return Sub( const_cast(*this), Range(0,nrow()-1) , col_range ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/convert/convert_colours.hpp:99:16: note: in instantiation of member function 'Rcpp::Matrix<13>::operator()' requested here mat = mat(Rcpp::_, Rcpp::Range(0,2) ); ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:59: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/SubMatrix.h:39:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nr( row_range_.size() ) ~~~~~~~~~~~^~~~~~ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:72:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:138:23: note: in instantiation of function template specialization 'Rcpp::MatrixRow<14>::operator=<13, true, Rcpp::Vector<13>>' requested here rgb_mat(i, _) = na_mat; ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:73:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:74:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:75:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:79:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:81:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:83:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:72:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:158:25: note: in instantiation of function template specialization 'Rcpp::MatrixRow<14>::operator=<14, true, Rcpp::Vector<14>>' requested here rgb_mat(i, _) = Rcpp::NumericVector::create(r,g,b,a); ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:73:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:74:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:75:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:79:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:81:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:83:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:215:47: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here rgb_vec[ position_counter ] = na_mat_d(0, 0); ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/scalars.hpp:36:18: warning: implicit conversion loses integer precision: 'int' to 'value_type' (aka 'char') [-Wimplicit-int-conversion] str[1] = toupper( str[1] ); ~ ^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/scalars.hpp:38:18: warning: implicit conversion loses integer precision: 'int' to 'value_type' (aka 'char') [-Wimplicit-int-conversion] str[0] = toupper(str[0]); ~ ^~~~~~~~~~~~~~~ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:26:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:102:55: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:230:55: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:360:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:382:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:405:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:503:40: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:538:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:544:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:564:40: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:601:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:607:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:623:39: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:655:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_row = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:661:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:678:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_row = mat( row, Rcpp::_ ); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:712:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:719:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_col = mat( Rcpp::_, i ); ~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_expression' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_sugar_expression' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:219:44: note: in instantiation of function template specialization 'Rcpp::Vector<13>::Vector' requested here Rcpp::IntegerVector summary_values = Rcpp::seq_len( lvls.length() ); ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:136:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector v = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:150:47: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector v = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:184:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector v = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:198:47: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector v = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:234:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector v = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:248:47: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector v = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:282:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector v = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:296:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector v = mat( Rcpp::_, i ); ~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:59: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/SubMatrix.h:38:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nc( col_range_.size() ), ~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:170:14: note: in instantiation of member function 'Rcpp::SubMatrix<14>::SubMatrix' requested here return Sub( const_cast(*this), row_range, Range(0,ncol()-1) ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/list/list.hpp:115:56: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here Rcpp::NumericMatrix these_colours = colours( elements, Rcpp::_ ); ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:59: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/SubMatrix.h:39:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nr( row_range_.size() ) ~~~~~~~~~~~^~~~~~ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_expression' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_sugar_expression' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/list/list.hpp:153:44: note: in instantiation of function template specialization 'Rcpp::Vector<13>::Vector' requested here Rcpp::IntegerVector elements = Rcpp::seq( vector_position, end_position ); ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:469:23: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] int r_type = it.second; ~~~~~~ ~~~^~~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:600:23: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] int r_type = it.second; ~~~~~~ ~~~^~~~~~ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:5: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:6: /Users/ripley/R/Library/geometries/include/geometries/utils/sexp/sexp.hpp:110:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] ians[0] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/sexp/sexp.hpp:130:23: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] ians[ i ] = j; ~ ^ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:5: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:7: /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:20:16: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = iv.size(); ~ ~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:34:16: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = sv.size(); ~ ~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:50:28: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = values_to_find.size(); ~ ~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:65:28: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = values_to_find.size(); ~ ~~~~~~~~~~~~~~~^~~~~~ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:538:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:161:42: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here/Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:103:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_1 = iv_1.length(); ~~~ ~~~~~^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp: return jsonify::writers::simple::write_value( writer, im, unbox, by ); ^ 104:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here int n_2 = iv_2.length(); ~~~ ~~~~~^~~~~~~~ jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:544:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:151:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_1 = nv_1.length(); ~~~ ~~~~~^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:152:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_2 = nv_2.length(); ~~~ ~~~~~^~~~~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:712:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:189 Rcpp::LogicalVector this_row = mat(i, Rcpp::_); :20 ~~~ ^ : warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp: int n_1 = sv_1.length(); 166:42: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here ~~~ ~~~~~^~~~~~~~ return jsonify::writers::simple::write_value( writer, lm, unbox, by ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:190:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp: int n_2 = sv_2.length(); 21:32: note: ~~~ ~~~~~^~~~~~~~ in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:719:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:655:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_row = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:171:42: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here return jsonify::writers::simple::write_value( writer, sm, unbox, by ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:661:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:102:55: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:360:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, nv, unbox, digits, numeric_dates ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/scalars.hpp:36:18: warning: implicit conversion loses integer precision: 'int' to 'value_type' (aka 'char') [-Wimplicit-int-conversion] str[1] = toupper( str[1] ); ~ ^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:111:38: note: in instantiation of function template specialization 'jsonify::writers::scalars::write_value>>>' requested here jsonify::writers::scalars::write_value( writer, nv[i], digits ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:360:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, nv, unbox, digits, numeric_dates ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/scalars.hpp:38:18: warning: implicit conversion loses integer precision: 'int' to 'value_type' (aka 'char') [-Wimplicit-int-conversion] str[0] = toupper(str[0]); ~ ^~~~~~~~~~~~~~~ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:230:55: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:365:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, iv, unbox, numeric_dates, factors_as_string ); In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:5: /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:55:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] ^ int n_col = df.ncol(); ~~~~~ ~~~^~~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:6: /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:27:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::IntegerMatrix im( unique_n, 2); ~~ ^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:47:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:52:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i - 1; ~ ~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:59:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:64:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i; ~ ^ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:564:40: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:87:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, nm, row, unbox ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:80:40: note: in instantiation of function template specialization 'jsonify::writers::complex::switch_vector>>>' requested here jsonify::writers::complex::switch_vector( ^ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:503:40: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:99:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, im, row, unbox ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:80:40: note: in instantiation of function template specialization 'jsonify::writers::complex::switch_vector>>>' requested here jsonify::writers::complex::switch_vector( ^ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:678:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_row = mat( row, Rcpp::_ ); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:110:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, lm, row, unbox ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:80:40: note: in instantiation of function template specialization 'jsonify::writers::complex::switch_vector>>>' requested here jsonify::writers::complex::switch_vector( ^ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:623:39: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:120:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, sm, row, unbox ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:80:40: note: in instantiation of function template specialization 'jsonify::writers::complex::switch_vector>>>' requested here jsonify::writers::complex::switch_vector( ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<10>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<10>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:136:33: note: in instantiation of function template specialization 'Rcpp::Vector<10>::Vector>' requested here Rcpp::LogicalVector v = mat( i, Rcpp::_ ); ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] In file included from polygon.cpp:5: RCPP_LOOP_UNROLL(start,other) In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:7: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/lists/list.hpp:11: /Users/ripley/R/Library/geometries/include/geometries/utils/lists/unlist.hpp:110/Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h::58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084:9: int end_position = list_position + n_elements[0] - 1; ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:405:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:140:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, v, unbox ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/unlist.hpp:140:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int end_position = list_position + n_elements[0] - 1; ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<10>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<10>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:150:33: note: in instantiation of function template specialization 'Rcpp::Vector<10>::Vector>' requested here /Users/ripley/R/Library/geometries/include/geometries/utils/lists/unlist.hpp:170:58: warning: Rcpp::LogicalVector v = mat( Rcpp::_, i ); ^ implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h int end_position = list_position + n_elements[0] - 1; ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ :40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/unlist.hpp:200:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int end_position = list_position + n_elements[0] - 1; ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:184:33: note: in instantiation of function template specialization 'Rcpp::Vector<13>::Vector>' requested here Rcpp::IntegerVector v = mat( i, Rcpp::_ ); ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:382:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:188:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, v, unbox ); ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:198:33: note: in instantiation of function template specialization 'Rcpp::Vector<13>::Vector>' requested here Rcpp::IntegerVector v = mat( Rcpp::_, i ); ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hppIn file included from point.cpp:1:35:: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: 37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] In file included from Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~/Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h: 52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:/Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:35:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 9: Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ warning: /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:39:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:234:33: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here Rcpp::NumericVector v = mat( i, Rcpp::_ ); ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:64 TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ :37In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 40: In file included from Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h/Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp::52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:108464:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] :9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:/Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:2668:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32]: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ nm( Rcpp::_, i ) = this_column; In file included from point.cpp:1: ~~ ^ In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:360:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:238:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, v, unbox, digits ); ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:132:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:132:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:139:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:282:32: note: in instantiation of function template specialization 'Rcpp::Vector<16>::Vector>' requested here Rcpp::StringVector v = mat( i, Rcpp::_ ); ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from point.cpp:1/Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:168:: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] :40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h: Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ 52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9/Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:168:29: : warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:174:20: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32]expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ nm( Rcpp::_, i ) = this_column; ~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:26:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:286:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, v, unbox ); ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:216:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:216:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:222:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:61: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixColumn.h:39:57: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] start(parent.begin() + static_cast(i) * n ), ~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:158:14: note: in instantiation of member function 'Rcpp::MatrixColumn<16>::MatrixColumn' requested here return Column( *this, i ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:296:35: note: in instantiation of member function 'Rcpp::Matrix<16>::operator()' requested here Rcpp::StringVector v = mat( Rcpp::_, i ); ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:61: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixColumn.h:40:90: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] const_start(const_cast(parent).begin() + static_cast(i) * n) ~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:256:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:256:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:262:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:296:32: note: in instantiation of function template specialization 'Rcpp::Vector<16>::Vector>' requested here Rcpp::StringVector v = mat( Rcpp::_, i ); ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:49:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int j = n_id_cols; ~ ^~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:81:33: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] nelems[ res_counter ] = n_elements; ~ ^~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:83:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] sums[ res_counter ] = cumulative_size; ~ ^~~~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:87:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] end = i - 1; ~ ~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:111:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] start = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:117:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] nelems[ res_counter ] = n_elements; ~ ^~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:120:27: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] sums[ res_counter ] = cumulative_size; ~ ^~~~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:125:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] end = i - 1; ~ ~~^~~ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:30:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector nv = geometry_mat( i, Rcpp::_ ); ~~~~~~~~~~~~ ^ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:32:64: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] std::copy( this_vec.begin(), this_vec.end(), v.begin() + i ); ~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:53:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_vector<16>' requested here return simplify_vector< STRSXP >( x, n ); ^ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:8: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/sfg.hpp:4: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/point/sfg_point.hpp:5: /Users/ripley/R/Library/sfheaders/include/sfheaders/utils/utils.hpp:122:26: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] int_id_column[0] = col_counter; ~ ^~~~~~~~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:180:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<13>' requested here return simplify_matrix< INTSXP >( out, n_col, n_row ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:183:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<14>' requested here return simplify_matrix< REALSXP >( out, n_col, n_row ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:186:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<10>' requested here return simplify_matrix< LGLSXP >( out, n_col, n_row ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:164:9: note: in instantiation of member function 'Rcpp::Matrix<10>::operator()' requested here mat( i, j ) = this_val; ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:186:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<10>' requested here return simplify_matrix< LGLSXP >( out, n_col, n_row ); ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:192:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<16>' requested here return simplify_matrix< STRSXP >( out, n_col, n_row ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:164:9: note: in instantiation of member function 'Rcpp::Matrix<16>::operator()' requested here mat( i, j ) = this_val; ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:192:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<16>' requested here return simplify_matrix< STRSXP >( out, n_col, n_row ); ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:8: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/sfg.hpp:4: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/point/sfg_point.hpp:10: In file included from /Users/ripley/R/Library/geometries/include/geometries/nest/nest.hpp:6: /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:142:30: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::IntegerMatrix res( n, 5 ); ~~~ ^ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:159:21: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] res( i, 0 ) = cumulative_coords; ~ ^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:161:39: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] res( i, 1 ) = cumulative_coords - 1; ~ ~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:162:21: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] res( i, 2 ) = geom_dimension; ~ ^~~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:163:21: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] res( i, 3 ) = nest; ~ ^~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:199:62: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] im(0, 1) = geometries::utils::sexp_n_row( geometries ) - 1; ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:200:18: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] im(0, 2) = max_dimension; ~ ^~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:201:18: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] im(0, 3) = max_nest; // level of nesting (a matrix is not nested in a list) ~ ^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:222:18: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] im(0, 2) = max_dimension; ~ ^~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:223:18: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] im(0, 3) = max_nest; ~ ^~~~~~~~ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:9: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfc/sfc.hpp:5: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfc/point/sfc_point.hpp:11: /Users/ripley/R/Library/geometries/include/geometries/bbox/bbox.hpp:156:33: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'R_xlen_t' (aka 'long') [-Wfloat-conversion] Rcpp::NumericVector x = df[ geometry_cols[0] ]; ~~ ^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/bbox/bbox.hpp:157:33: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'R_xlen_t' (aka 'long') [-Wfloat-conversion] Rcpp::NumericVector y = df[ geometry_cols[1] ]; ~~ ^~~~~~~~~~~~~~~~ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:10: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/sf.hpp:5: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/point/sf_point.hpp:8: /Users/ripley/R/Library/geometries/include/geometries/utils/rleid/rleid.hpp:21:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int j = n_id_cols; ~ ^~~~~~~~~ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:/Users/ripley/R/Library/geometries/include/geometries/utils/rleid/rleid.hpp6:: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json_utils.hpp:42:7225: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'SizeType' (aka 'unsigned int') [-Wshorten-64-to-32] : curr_dtype = doc[i].GetType(); 31 ~~~ ^: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] ians[ counter ] = i; ~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp/Users/ripley/R/Library/geometries/include/geometries/utils/rleid/rleid.hpp:81:31:: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] 207 ians[ counter ] = i; ~ ^ :/Users/ripley/R/Library/geometries/include/geometries/utils/rleid/rleid.hpp:90:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] 14: ians[ counter ] = i; ~ ^ note: in instantiation of function template specialization 'jsonify::from_json::get_dtypes>>' requested here dtypes = get_dtypes(doc); ^ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json_utils.hpp:52:16: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'SizeType' (aka 'unsigned int') [-Wshorten-64-to-32] if(doc[i].IsDouble()) { ~~~ ^ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:10: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/sf.hpp:5: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/point/sf_point.hpp:10: /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/sf_utils.hpp:152:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] idx[ k ] = k + start_idx; ~ ~~^~~~~~~~~~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/sf_utils.hpp:155:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] idx[ res_size - 1 ] = start_idx; ~ ^~~~~~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json_utils.hpp:42:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'SizeType' (aka 'unsigned int') [-Wshorten-64-to-32] curr_dtype = doc[i].GetType(); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:136:18: note: in instantiation of function template specialization 'jsonify::from_json::get_dtypes>>' requested here dtypes = get_dtypes( json ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:190:12: note: in instantiation of function template specialization 'jsonify::from_json::parse_json>>' requested here return parse_json( json, simplify, fill_na ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:37:32: note: in instantiation of function template specialization 'jsonify::from_json::from_json>>' requested here return jsonify::from_json::from_json( doc, simplify, fill_na ); ^ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json_utils.hpp:52:16: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'SizeType' (aka 'unsigned int') [-Wshorten-64-to-32] if(doc[i].IsDouble()) { ~~~ ^ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:21: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/colour/colour.hpp:8: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/palette/palette.hpp:7: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/utils.hpp:5: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/factors/factors.hpp:13:23: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_cols = data.length(); ~~~~~~ ~~~~~^~~~~~~~ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:21: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/colour/colour.hpp:8: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/palette/palette.hpp:7: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/utils.hpp:8: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/colour/colour.hpp:15:19: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int len = str.length(); ~~~ ~~~~^~~~~~~~ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:21: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/colour/colour.hpp:8: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/palette/palette.hpp:7: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/utils.hpp:9: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/dates/dates.hpp:12:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = v.size(); ~ ~~^~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/dates/dates.hpp:58:23: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_cols = data.length(); ~~~~~~ ~~~~~^~~~~~~~ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:21: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/colour/colour.hpp:10: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/legend/legend.hpp:67:26: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = legend_types.size(); ~ ~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/legend/legend.hpp:98:23: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n = lege_list.size(); ~ ~~~~~~~~~~^~~~~~ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:22: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/data_construction/data_construction.hpp:43:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = params.size(); ~ ~~~~~~~^~~~~~ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:9: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geometries/sizes.hpp:21:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] return multiline.size(); ~~~~~~ ~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geometries/sizes.hpp:25:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] return multipolygon.size(); ~~~~~~ ~~~~~~~~~~~~~^~~~~~ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:10: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/write_geojson.hpp:6: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:6: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:193:43: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = line(i, Rcpp::_ ); ~~~~ ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:208:43: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = line(i, Rcpp::_ ); ~~~~ ^ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:10: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/write_geojson.hpp:6: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:126:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector pts = mls(geometry_index, Rcpp::_ ); ~~~ ^~~~~~~~~~~~~~ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:11: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:42:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int sfglength = geometries::utils::sexp_length( sfg ); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:83:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int sfglength = geometries::utils::sexp_length( sfg ); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:133:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int sfglength = geometries::utils::sexp_length( sfg ); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:65:26: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] int this_index = polygon_indeces[j]; ~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:123:26: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] int this_index = polygon_indeces[j]; ~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:59:37: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] polygon_indeces = ib(Rcpp::_, i); ~~ ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:102:37: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] polygon_indeces = ib(Rcpp::_, i); ~~ ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:103:45: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix a_polygon( n_row, n_coords ); ~~~~~~~~~ ^~~~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:103:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix a_polygon( n_row, n_coords ); ~~~~~~~~~ ^~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:126:19: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] a_polygon(j, Rcpp::_) = vb(Rcpp::_, this_index); ~~~~~~~~~ ^ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:26: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/parameters/parameters.hpp:36:27: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_params = params.size(); ~~~~~~~~ ~~~~~~~^~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/parameters/parameters.hpp:159:119: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector colours_remove = spatialwidget::utils::map::extract_map( colour_columns, colour_columns.size() * 2 ); ~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from polygon.cpp:5: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:498:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] expanded_index[ counter + j ] = i; ~ ^ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:5: /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:20:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_id_cols = id_cols.size(); ~~~~~~~~~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:48:12: note: in instantiation of function template specialization 'geometries::utils::other_columns<16>' requested here return other_columns( df_names, id_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:21:33: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_other_cols = all_cols.size(); ~~~~~~~~~~~~ ~~~~~~~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:20:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_id_cols = id_cols.size(); ~~~~~~~~~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:57:12: note: in instantiation of function template specialization 'geometries::utils::other_columns<13>' requested here return other_columns( other_cols, id_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:21:33: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_other_cols = all_cols.size(); ~~~~~~~~~~~~ ~~~~~~~~~^~~~~~ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:6: /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:27:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::IntegerMatrix im( unique_n, 2); ~~ ^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:88:16: note: in instantiation of function template specialization 'geometries::utils::id_positions<13>' requested here return id_positions( iv_line_ids, iv_unique_ids ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:47:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:52:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i - 1; ~ ~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:59:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:64:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:27:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::IntegerMatrix im( unique_n, 2); ~~ ^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:93:16: note: in instantiation of function template specialization 'geometries::utils::id_positions<14>' requested here return id_positions( nv_line_ids, nv_unique_ids ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:47:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:52:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i - 1; ~ ~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:59:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:64:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:27:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::IntegerMatrix im( unique_n, 2); ~~ ^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:98:16: note: in instantiation of function template specialization 'geometries::utils::id_positions<16>' requested here return id_positions( sv_line_ids, sv_unique_ids ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:47:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:52:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i - 1; ~ ~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:59:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:64:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i; ~ ^ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:106:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m( n_row, n_col ); ~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:313:18: note: in instantiation of function template specialization 'geometries::matrix::to_geometry_matrix<13>' requested here return to_geometry_matrix( iv, geometry_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:106:30: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m( n_row, n_col ); ~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:89:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m2( n_row, n_col ); ~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:316:18: note: in instantiation of function template specialization 'geometries::matrix::to_geometry_matrix<13>' requested here return to_geometry_matrix( im, geometry_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:89:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m2( n_row, n_col ); ~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:92:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] m2( Rcpp::_, i ) = m( Rcpp::_, this_col ); ~~ ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:106:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m( n_row, n_col ); ~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:322:18: note: in instantiation of function template specialization 'geometries::matrix::to_geometry_matrix<14>' requested here return to_geometry_matrix( nv, geometry_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:106:30: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m( n_row, n_col ); ~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:89:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m2( n_row, n_col ); ~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:325:18: note: in instantiation of function template specialization 'geometries::matrix::to_geometry_matrix<14>' requested here return to_geometry_matrix( nm, geometry_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:89:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m2( n_row, n_col ); ~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:92:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] m2( Rcpp::_, i ) = m( Rcpp::_, this_col ); ~~ ^ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:5: /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:26:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > last_row = mat( n_row - 1, Rcpp::_ ); ~~~ ~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:69:22: note: in instantiation of function template specialization 'geometries::utils::matrix_is_closed<13>' requested here bool is_closed = matrix_is_closed( mat ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:85:20: note: in instantiation of function template specialization 'geometries::utils::close_matrix<13>' requested here lst[i] = close_matrix( im ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:48:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:70:12: note: in instantiation of function template specialization 'geometries::utils::close_matrix<13>' requested here return close_matrix( mat, is_closed ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:85:20: note: in instantiation of function template specialization 'geometries::utils::close_matrix<13>' requested here lst[i] = close_matrix( im ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:48:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:53:35: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nv[ rng ] = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:55:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] mat2( Rcpp::_ , i ) = nv; ~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/RangeIndexer.h:63:6: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] UNROLL_LOOP(=) ^~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/RangeIndexer.h:28:32: note: expanded from macro 'UNROLL_LOOP' int __trip_count = (size_) >> 2; \ ~~~~~~~~~~~~ ~~~~~~~~^~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:53:19: note: in instantiation of function template specialization 'Rcpp::internal::RangeIndexer<13, true, Rcpp::Vector<13>>::operator=>' requested here nv[ rng ] = mat( Rcpp::_, i ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:70:12: note: in instantiation of function template specialization 'geometries::utils::close_matrix<13>' requested here return close_matrix( mat, is_closed ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:85:20: note: in instantiation of function template specialization 'geometries::utils::close_matrix<13>' requested here lst[i] = close_matrix( im ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:48:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:70:12: note: in instantiation of function template specialization 'geometries::utils::close_matrix<14>' requested here return close_matrix( mat, is_closed ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:90:20: note: in instantiation of function template specialization 'geometries::utils::close_matrix<14>' requested here lst[i] = close_matrix( nm ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:48:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:53:35: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nv[ rng ] = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:55:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] mat2( Rcpp::_ , i ) = nv; ~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/RangeIndexer.h:63:6: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] UNROLL_LOOP(=) ^~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/RangeIndexer.h:28:32: note: expanded from macro 'UNROLL_LOOP' int __trip_count = (size_) >> 2; \ ~~~~~~~~~~~~ ~~~~~~~~^~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:53:19: note: in instantiation of function template specialization 'Rcpp::internal::RangeIndexer<14, true, Rcpp::Vector<14>>::operator=>' requested here nv[ rng ] = mat( Rcpp::_, i ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:70:12: note: in instantiation of function template specialization 'geometries::utils::close_matrix<14>' requested here return close_matrix( mat, is_closed ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:90:20: note: in instantiation of function template specialization 'geometries::utils::close_matrix<14>' requested here lst[i] = close_matrix( nm ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:26:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > last_row = mat( n_row - 1, Rcpp::_ ); ~~~ ~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:92:49: note: in instantiation of function template specialization 'geometries::utils::matrix_is_closed<14>' requested here bool is_closed = geometries::utils::matrix_is_closed( res_mat ); ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/RangeIndexer.h:59:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] start(vec_.begin() + range_.get_start() ), size_( range_.size() ) {} ~ ~~~~~~~^~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:547:16: note: in instantiation of member function 'Rcpp::internal::RangeIndexer<19, true, Rcpp::Vector<19>>::RangeIndexer' requested here return Indexer( const_cast(*this), range ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:156:32: note: in instantiation of member function 'Rcpp::Vector<19>::operator[]' requested here Rcpp::_["coords"] = res[ coord_rng ] ^ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:7: /Users/ripley/R/Library/geometries/include/geometries/utils/lists/as_list.hpp:26:45: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > v = x( Rcpp::_, i ); ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/as_list.hpp:46:18: note: in instantiation of function template specialization 'geometries::utils::as_list<13>' requested here return as_list( im ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/as_list.hpp:26:45: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > v = x( Rcpp::_, i ); ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/as_list.hpp:55:18: note: in instantiation of function template specialization 'geometries::utils::as_list<14>' requested here return as_list( nm ); ^ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:8: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/sfg.hpp:8: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/sfg_polygon.hpp:7: /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:27:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > last_row = mat( n_row - 1, Rcpp::_ ); ~~~ ~~~~~~^~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:72:18: note: in instantiation of function template specialization 'sfheaders::polygon_utils::close_polygon<13>' requested here lst[i] = close_polygon( im, close ); // #nocov ^ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:37:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ^~~~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:37:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ~~~~~~^~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:42:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] v[ rng ] = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:44:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] mat2( Rcpp::_ , i ) = v; ~~~~ ^ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:27:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > last_row = mat( n_row - 1, Rcpp::_ ); ~~~ ~~~~~~^~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:77:18: note: in instantiation of function template specialization 'sfheaders::polygon_utils::close_polygon<14>' requested here lst[i] = close_polygon( nm, close ); ^ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:37:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ^~~~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:37:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ~~~~~~^~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:42:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] v[ rng ] = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:44:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] mat2( Rcpp::_ , i ) = v; ~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:334:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] inline iterator end() { return cache.get() + size() ; } ~ ^~~~~~ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:20:57: note: in instantiation of member function 'Rcpp::Vector<19>::end' requested here for (Rcpp::List::iterator it = sfg.begin(); it != sfg.end(); it++) { ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:72:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:126:31: note: in instantiation of function template specialization 'Rcpp::MatrixRow<14>::operator=<14, true, Rcpp::MatrixColumn<14>>' requested here a_polygon(j, Rcpp::_) = vb(Rcpp::_, this_index); ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:72:29: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:73:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:73:29: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:74:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:74:29: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:75:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:75:29: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:79:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:79:31: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:81:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:81:31: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:83:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:83:31: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:601:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:130:33: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value(writer, a_polygon); ^ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:607:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_col = mat( Rcpp::_, i ); ~~~ ^ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:11: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:83:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int sfglength = geometries::utils::sexp_length( sfg ); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:225:36: note: in instantiation of function template specialization 'geojsonsf::write_geometry::write_geometry>>>' requested here geojsonsf::write_geometry::write_geometry( writer, sfc, i, digits ); ^ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:10: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/write_geojson.hpp:6: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:6: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:193:43: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = line(i, Rcpp::_ ); ~~~~ ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:223:7: note: in instantiation of function template specialization 'geojsonsf::writers::linestring_to_geojson>>>' requested here linestring_to_geojson( writer, iv, digits ); ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:69:24: note: in instantiation of function template specialization 'geojsonsf::writers::linestring_to_geojson>>>' requested here geojsonsf::writers::linestring_to_geojson( writer, sfg, digits ); ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:94:31: note: in instantiation of function template specialization 'geojsonsf::write_geojson::write_geojson>>>' requested here geojsonsf::write_geojson::write_geojson(writer, sfg, geom_type, cls, digits ); ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:225:36: note: in instantiation of function template specialization 'geojsonsf::write_geometry::write_geometry>>>' requested here geojsonsf::write_geometry::write_geometry( writer, sfc, i, digits ); ^ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:10: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/write_geojson.hpp:6: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:6: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:208:43: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = line(i, Rcpp::_ ); ~~~~ ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:228:7: note: in instantiation of function template specialization 'geojsonsf::writers::linestring_to_geojson>>>' requested here linestring_to_geojson( writer, nv, digits ); ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:69:24: note: in instantiation of function template specialization 'geojsonsf::writers::linestring_to_geojson>>>' requested here geojsonsf::writers::linestring_to_geojson( writer, sfg, digits ); ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:94:31: note: in instantiation of function template specialization 'geojsonsf::write_geojson::write_geojson>>>' requested here geojsonsf::write_geojson::write_geojson(writer, sfg, geom_type, cls, digits ); ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:225:36: note: in instantiation of function template specialization 'geojsonsf::write_geometry::write_geometry>>>' requested here geojsonsf::write_geometry::write_geometry( writer, sfc, i, digits ); ^ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:11: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:42:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int sfglength = geometries::utils::sexp_length( sfg ); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:394:36: note: in instantiation of function template specialization 'geojsonsf::write_geometry::write_geometry>>>' requested here geojsonsf::write_geometry::write_geometry( writer, sfg, cls, digits ); ^ In file included from point.cpp:4: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:7: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/lists/list.hpp:7: /Users/ripley/R/Library/geometries/include/geometries/utils/lists/utils.hpp:36:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] res[ i ] = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/sfheaders/include/sfheaders/df/sfg.hpp:82:41: note: in instantiation of function template specialization 'geometries::utils::matrix_to_list<14>' requested here Rcpp::List res = geometries::utils::matrix_to_list( sfg, sfg_rows ); ^ In file included from point.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:30: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/operators/operators.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/operators/Comparator_With_One_Value.h:45:21: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] return (this->*m)(i) ; ~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: note: in instantiation of member function 'Rcpp::sugar::Comparator_With_One_Value<13, Rcpp::sugar::greater_or_equal<13>, true, Rcpp::Vector<13>>::operator[]' requested here RCPP_LOOP_UNROLL(start,other) ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<10>::import_expression, true, Rcpp::Vector<13>>>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<10>::import_sugar_expression, true, Rcpp::Vector<13>>>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:388:13: note: in instantiation of function template specialization 'Rcpp::Vector<10>::Vector, true, Rcpp::Vector<13>>>' requested here rhs ^ /Users/ripley/R/Library/sfheaders/include/sfheaders/df/sf.hpp:135:20: note: in instantiation of function template specialization 'Rcpp::Vector<16>::operator[]<10, true, Rcpp::sugar::Comparator_With_One_Value<13, Rcpp::sugar::greater_or_equal<13>, true, Rcpp::Vector<13>>>' requested here unlist = unlist[ unlist_idx >= 0 ]; ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:334:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] inline iterator end() { return cache.get() + size() ; } ~ ^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1116:29: note: in instantiation of member function 'Rcpp::Vector<16>::end' requested here std::fill( begin(), end(), converter_type::get( u ) ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:330:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill__dispatch' requested here fill__dispatch( typename traits::is_trivial::type(), u ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1101:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill' requested here fill(t) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1089:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill_or_generate__impl' requested here fill_or_generate__impl( t, typename traits::is_generator::type() ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:172:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill_or_generate' requested here fill_or_generate( u ) ; ^ ../inst/include/mapdeck_defaults.hpp:106:22: note: in instantiation of function template specialization 'Rcpp::Vector<16>::Vector' requested here Rcpp::StringVector sv(n, "middle"); ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:177: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/Proxy_Iterator.h:110:23: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] return proxy.index - other.proxy.index ; ~~~~~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/fill.h:38:35: note: in instantiation of member function 'Rcpp::internal::Proxy_Iterator>::operator-' requested here _VSTD::fill_n(__first, __last - __first, __value); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/fill.h:46:12: note: in instantiation of function template specialization 'std::__fill>, SEXPREC *>' requested here _VSTD::__fill(__first, __last, __value, typename iterator_traits<_ForwardIterator>::iterator_category()); ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1116:14: note: in instantiation of function template specialization 'std::fill>, SEXPREC *>' requested here std::fill( begin(), end(), converter_type::get( u ) ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:330:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill__dispatch' requested here fill__dispatch( typename traits::is_trivial::type(), u ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1101:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill' requested here fill(t) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1089:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill_or_generate__impl' requested here fill_or_generate__impl( t, typename traits::is_generator::type() ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:172:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill_or_generate' requested here fill_or_generate( u ) ; ^ ../inst/include/mapdeck_defaults.hpp:106:22: note: in instantiation of function template specialization 'Rcpp::Vector<16>::Vector' requested here Rcpp::StringVector sv(n, "middle"); ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] return lookup__impl(vec.begin(), vec.size() ) ; ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<16>::lookup' requested here return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/utils/utils.hpp:70:37: note: in instantiation of function template specialization 'Rcpp::match<16, true, Rcpp::Vector<16>, true, Rcpp::Vector<16>>' requested here Rcpp::IntegerVector out = Rcpp::match( x, lvls ); ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1041:13: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here import_expression(x, n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1053:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::assign_sugar_expression>' requested here assign_sugar_expression( x.get_ref() ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:247:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::assign_object>' requested here assign_object( x, typename traits::is_sugar_expression::type() ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/palette_utils/palette_utils.hpp:50:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::operator=>' requested here red = palette(_, 0); ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/convert/convert_colours.hpp:63:12: note: in instantiation of member function 'Rcpp::Matrix<13>::operator()' requested here mat(i, 0) = hex_to_rgba( hex, 1, 2 ); ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:59: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/SubMatrix.h:38:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nc( col_range_.size() ), ~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:167:14: note: in instantiation of member function 'Rcpp::SubMatrix<13>::SubMatrix' requested here return Sub( const_cast(*this), Range(0,nrow()-1) , col_range ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/convert/convert_colours.hpp:99:16: note: in instantiation of member function 'Rcpp::Matrix<13>::operator()' requested here mat = mat(Rcpp::_, Rcpp::Range(0,2) ); ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:59: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/SubMatrix.h:39:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nr( row_range_.size() ) ~~~~~~~~~~~^~~~~~ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:72:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:138:23: note: in instantiation of function template specialization 'Rcpp::MatrixRow<14>::operator=<13, true, Rcpp::Vector<13>>' requested here rgb_mat(i, _) = na_mat; ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:73:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:74:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:75:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:79:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:81:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:83:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:72:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:158:25: note: in instantiation of function template specialization 'Rcpp::MatrixRow<14>::operator=<14, true, Rcpp::Vector<14>>' requested here rgb_mat(i, _) = Rcpp::NumericVector::create(r,g,b,a); ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:73:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:74:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:75:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:79:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:81:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:83:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:215:47: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here rgb_vec[ position_counter ] = na_mat_d(0, 0); ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_expression' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_sugar_expression' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:219:44: note: in instantiation of function template specialization 'Rcpp::Vector<13>::Vector' requested here Rcpp::IntegerVector summary_values = Rcpp::seq_len( lvls.length() ); ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:59: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/SubMatrix.h:38:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nc( col_range_.size() ), ~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:170:14: note: in instantiation of member function 'Rcpp::SubMatrix<14>::SubMatrix' requested here return Sub( const_cast(*this), row_range, Range(0,ncol()-1) ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/list/list.hpp:115:56: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here Rcpp::NumericMatrix these_colours = colours( elements, Rcpp::_ ); ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:59: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/SubMatrix.h:39:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nr( row_range_.size() ) ~~~~~~~~~~~^~~~~~ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_expression' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_sugar_expression' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/list/list.hpp:153:44: note: in instantiation of function template specialization 'Rcpp::Vector<13>::Vector' requested here Rcpp::IntegerVector elements = Rcpp::seq( vector_position, end_position ); ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:538:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:161:42: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here return jsonify::writers::simple::write_value( writer, im, unbox, by ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:544:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:712:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:166:42: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here return jsonify::writers::simple::write_value( writer, lm, unbox, by ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:719:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:655:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_row = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:171:42: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here return jsonify::writers::simple::write_value( writer, sm, unbox, by ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:661:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:102:55: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:360:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, nv, unbox, digits, numeric_dates ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/scalars.hpp:36:18: warning: implicit conversion loses integer precision: 'int' to 'value_type' (aka 'char') [-Wimplicit-int-conversion] str[1] = toupper( str[1] ); ~ ^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:111:38: note: in instantiation of function template specialization 'jsonify::writers::scalars::write_value>>>' requested here jsonify::writers::scalars::write_value( writer, nv[i], digits ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:360:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, nv, unbox, digits, numeric_dates ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/scalars.hpp:38:18: warning: implicit conversion loses integer precision: 'int' to 'value_type' (aka 'char') [-Wimplicit-int-conversion] str[0] = toupper(str[0]); ~ ^~~~~~~~~~~~~~~ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:230:55: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:365:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, iv, unbox, numeric_dates, factors_as_string ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:564:40: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:87:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, nm, row, unbox ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:80:40: note: in instantiation of function template specialization 'jsonify::writers::complex::switch_vector>>>' requested here jsonify::writers::complex::switch_vector( ^ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:503:40: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:99:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, im, row, unbox ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:80:40: note: in instantiation of function template specialization 'jsonify::writers::complex::switch_vector>>>' requested here jsonify::writers::complex::switch_vector( ^ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:678:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_row = mat( row, Rcpp::_ ); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:110:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, lm, row, unbox ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:80:40: note: in instantiation of function template specialization 'jsonify::writers::complex::switch_vector>>>' requested here jsonify::writers::complex::switch_vector( ^ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:623:39: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:120:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, sm, row, unbox ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:80:40: note: in instantiation of function template specialization 'jsonify::writers::complex::switch_vector>>>' requested here jsonify::writers::complex::switch_vector( ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<10>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<10>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:136:33: note: in instantiation of function template specialization 'Rcpp::Vector<10>::Vector>' requested here Rcpp::LogicalVector v = mat( i, Rcpp::_ ); ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:405:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:140:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, v, unbox ); ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<10>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<10>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:150:33: note: in instantiation of function template specialization 'Rcpp::Vector<10>::Vector>' requested here Rcpp::LogicalVector v = mat( Rcpp::_, i ); ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:184:33: note: in instantiation of function template specialization 'Rcpp::Vector<13>::Vector>' requested here Rcpp::IntegerVector v = mat( i, Rcpp::_ ); ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:382:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:188:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, v, unbox ); ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:198:33: note: in instantiation of function template specialization 'Rcpp::Vector<13>::Vector>' requested here Rcpp::IntegerVector v = mat( Rcpp::_, i ); ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:234:33: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here Rcpp::NumericVector v = mat( i, Rcpp::_ ); ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:360:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:238:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, v, unbox, digits ); ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:282:32: note: in instantiation of function template specialization 'Rcpp::Vector<16>::Vector>' requested here Rcpp::StringVector v = mat( i, Rcpp::_ ); ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:26:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:286:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, v, unbox ); ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:61: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixColumn.h:39:57: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] start(parent.begin() + static_cast(i) * n ), ~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:158:14: note: in instantiation of member function 'Rcpp::MatrixColumn<16>::MatrixColumn' requested here return Column( *this, i ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:296:35: note: in instantiation of member function 'Rcpp::Matrix<16>::operator()' requested here Rcpp::StringVector v = mat( Rcpp::_, i ); ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:61: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixColumn.h:40:90: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] const_start(const_cast(parent).begin() + static_cast(i) * n) ~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:296:32: note: in instantiation of function template specialization 'Rcpp::Vector<16>::Vector>' requested here Rcpp::StringVector v = mat( Rcpp::_, i ); ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:32:64: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] std::copy( this_vec.begin(), this_vec.end(), v.begin() + i ); ~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:53:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_vector<16>' requested here return simplify_vector< STRSXP >( x, n ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:180:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<13>' requested here return simplify_matrix< INTSXP >( out, n_col, n_row ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:183:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<14>' requested here return simplify_matrix< REALSXP >( out, n_col, n_row ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:186:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<10>' requested here return simplify_matrix< LGLSXP >( out, n_col, n_row ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:164:9: note: in instantiation of member function 'Rcpp::Matrix<10>::operator()' requested here mat( i, j ) = this_val; ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:186:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<10>' requested here return simplify_matrix< LGLSXP >( out, n_col, n_row ); ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:192:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<16>' requested here return simplify_matrix< STRSXP >( out, n_col, n_row ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:164:9: note: in instantiation of member function 'Rcpp::Matrix<16>::operator()' requested here mat( i, j ) = this_val; ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:192:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<16>' requested here return simplify_matrix< STRSXP >( out, n_col, n_row ); ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json_utils.hpp:42:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'SizeType' (aka 'unsigned int') [-Wshorten-64-to-32] curr_dtype = doc[i].GetType(); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:207:14: note: in instantiation of function template specialization 'jsonify::from_json::get_dtypes>>' requested here dtypes = get_dtypes(doc); ^ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json_utils.hpp:52:16: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'SizeType' (aka 'unsigned int') [-Wshorten-64-to-32] if(doc[i].IsDouble()) { ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json_utils.hpp:42:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'SizeType' (aka 'unsigned int') [-Wshorten-64-to-32] curr_dtype = doc[i].GetType(); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:136:18: note: in instantiation of function template specialization 'jsonify::from_json::get_dtypes>>' requested here dtypes = get_dtypes( json ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:190:12: note: in instantiation of function template specialization 'jsonify::from_json::parse_json>>' requested here return parse_json( json, simplify, fill_na ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:37:32: note: in instantiation of function template specialization 'jsonify::from_json::from_json>>' requested here return jsonify::from_json::from_json( doc, simplify, fill_na ); ^ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json_utils.hpp:52:16: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'SizeType' (aka 'unsigned int') [-Wshorten-64-to-32] if(doc[i].IsDouble()) { ~~~ ^ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:5: /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:20:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_id_cols = id_cols.size(); ~~~~~~~~~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:48:12: note: in instantiation of function template specialization 'geometries::utils::other_columns<16>' requested here return other_columns( df_names, id_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:21:33: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_other_cols = all_cols.size(); ~~~~~~~~~~~~ ~~~~~~~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:20:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_id_cols = id_cols.size(); ~~~~~~~~~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:57:12: note: in instantiation of function template specialization 'geometries::utils::other_columns<13>' requested here return other_columns( other_cols, id_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:21:33: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_other_cols = all_cols.size(); ~~~~~~~~~~~~ ~~~~~~~~~^~~~~~ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:6: /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:27:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::IntegerMatrix im( unique_n, 2); ~~ ^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:88:16: note: in instantiation of function template specialization 'geometries::utils::id_positions<13>' requested here return id_positions( iv_line_ids, iv_unique_ids ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:47:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:52:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i - 1; ~ ~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:59:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:64:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:27:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::IntegerMatrix im( unique_n, 2); ~~ ^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:93:16: note: in instantiation of function template specialization 'geometries::utils::id_positions<14>' requested here return id_positions( nv_line_ids, nv_unique_ids ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:47:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:52:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i - 1; ~ ~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:59:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:64:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:27:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::IntegerMatrix im( unique_n, 2); ~~ ^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:98:16: note: in instantiation of function template specialization 'geometries::utils::id_positions<16>' requested here return id_positions( sv_line_ids, sv_unique_ids ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:47:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:52:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i - 1; ~ ~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:59:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:64:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i; ~ ^ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:106:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m( n_row, n_col ); ~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:313:18: note: in instantiation of function template specialization 'geometries::matrix::to_geometry_matrix<13>' requested here return to_geometry_matrix( iv, geometry_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:106:30: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m( n_row, n_col ); ~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:89:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m2( n_row, n_col ); ~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:316:18: note: in instantiation of function template specialization 'geometries::matrix::to_geometry_matrix<13>' requested here return to_geometry_matrix( im, geometry_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:89:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m2( n_row, n_col ); ~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:92:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] m2( Rcpp::_, i ) = m( Rcpp::_, this_col ); ~~ ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:106:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m( n_row, n_col ); ~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:322:18: note: in instantiation of function template specialization 'geometries::matrix::to_geometry_matrix<14>' requested here return to_geometry_matrix( nv, geometry_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:106:30: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m( n_row, n_col ); ~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:89:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m2( n_row, n_col ); ~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:325:18: note: in instantiation of function template specialization 'geometries::matrix::to_geometry_matrix<14>' requested here return to_geometry_matrix( nm, geometry_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:89:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m2( n_row, n_col ); ~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:92:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] m2( Rcpp::_, i ) = m( Rcpp::_, this_col ); ~~ ^ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:5: /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:26:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > last_row = mat( n_row - 1, Rcpp::_ ); ~~~ ~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:69:22: note: in instantiation of function template specialization 'geometries::utils::matrix_is_closed<13>' requested here bool is_closed = matrix_is_closed( mat ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:85:20: note: in instantiation of function template specialization 'geometries::utils::close_matrix<13>' requested here lst[i] = close_matrix( im ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:48:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:70:12: note: in instantiation of function template specialization 'geometries::utils::close_matrix<13>' requested here return close_matrix( mat, is_closed ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:85:20: note: in instantiation of function template specialization 'geometries::utils::close_matrix<13>' requested here lst[i] = close_matrix( im ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:48:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:53:35: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nv[ rng ] = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:55:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] mat2( Rcpp::_ , i ) = nv; ~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/RangeIndexer.h:63:6: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] UNROLL_LOOP(=) ^~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/RangeIndexer.h:28:32: note: expanded from macro 'UNROLL_LOOP' int __trip_count = (size_) >> 2; \ ~~~~~~~~~~~~ ~~~~~~~~^~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:53:19: note: in instantiation of function template specialization 'Rcpp::internal::RangeIndexer<13, true, Rcpp::Vector<13>>::operator=>' requested here nv[ rng ] = mat( Rcpp::_, i ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:70:12: note: in instantiation of function template specialization 'geometries::utils::close_matrix<13>' requested here return close_matrix( mat, is_closed ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:85:20: note: in instantiation of function template specialization 'geometries::utils::close_matrix<13>' requested here lst[i] = close_matrix( im ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:48:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:70:12: note: in instantiation of function template specialization 'geometries::utils::close_matrix<14>' requested here return close_matrix( mat, is_closed ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:90:20: note: in instantiation of function template specialization 'geometries::utils::close_matrix<14>' requested here lst[i] = close_matrix( nm ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:48:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:53:35: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nv[ rng ] = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:55:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] mat2( Rcpp::_ , i ) = nv; ~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/RangeIndexer.h:63:6: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] UNROLL_LOOP(=) ^~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/RangeIndexer.h:28:32: note: expanded from macro 'UNROLL_LOOP' int __trip_count = (size_) >> 2; \ ~~~~~~~~~~~~ ~~~~~~~~^~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:53:19: note: in instantiation of function template specialization 'Rcpp::internal::RangeIndexer<14, true, Rcpp::Vector<14>>::operator=>' requested here nv[ rng ] = mat( Rcpp::_, i ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:70:12: note: in instantiation of function template specialization 'geometries::utils::close_matrix<14>' requested here return close_matrix( mat, is_closed ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:90:20: note: in instantiation of function template specialization 'geometries::utils::close_matrix<14>' requested here lst[i] = close_matrix( nm ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:26:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > last_row = mat( n_row - 1, Rcpp::_ ); ~~~ ~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:92:49: note: in instantiation of function template specialization 'geometries::utils::matrix_is_closed<14>' requested here bool is_closed = geometries::utils::matrix_is_closed( res_mat ); ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/RangeIndexer.h:59:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] start(vec_.begin() + range_.get_start() ), size_( range_.size() ) {} ~ ~~~~~~~^~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:547:16: note: in instantiation of member function 'Rcpp::internal::RangeIndexer<19, true, Rcpp::Vector<19>>::RangeIndexer' requested here return Indexer( const_cast(*this), range ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:156:32: note: in instantiation of member function 'Rcpp::Vector<19>::operator[]' requested here Rcpp::_["coords"] = res[ coord_rng ] ^ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:7: /Users/ripley/R/Library/geometries/include/geometries/utils/lists/as_list.hpp:26:45: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > v = x( Rcpp::_, i ); ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/as_list.hpp:46:18: note: in instantiation of function template specialization 'geometries::utils::as_list<13>' requested here return as_list( im ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/as_list.hpp:26:45: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > v = x( Rcpp::_, i ); ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/as_list.hpp:55:18: note: in instantiation of function template specialization 'geometries::utils::as_list<14>' requested here return as_list( nm ); ^ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:8: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/sfg.hpp:8: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/sfg_polygon.hpp:7: /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:27:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > last_row = mat( n_row - 1, Rcpp::_ ); ~~~ ~~~~~~^~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:72:18: note: in instantiation of function template specialization 'sfheaders::polygon_utils::close_polygon<13>' requested here lst[i] = close_polygon( im, close ); // #nocov ^ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:37:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ^~~~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:37:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ~~~~~~^~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:42:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] v[ rng ] = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:44:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] mat2( Rcpp::_ , i ) = v; ~~~~ ^ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:27:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > last_row = mat( n_row - 1, Rcpp::_ ); ~~~ ~~~~~~^~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:77:18: note: in instantiation of function template specialization 'sfheaders::polygon_utils::close_polygon<14>' requested here lst[i] = close_polygon( nm, close ); ^ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:37:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ^~~~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:37:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ~~~~~~^~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:42:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] v[ rng ] = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:44:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] mat2( Rcpp::_ , i ) = v; ~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:334:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] inline iterator end() { return cache.get() + size() ; } ~ ^~~~~~ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:20:57: note: in instantiation of member function 'Rcpp::Vector<19>::end' requested here for (Rcpp::List::iterator it = sfg.begin(); it != sfg.end(); it++) { ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:72:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:126:31: note: in instantiation of function template specialization 'Rcpp::MatrixRow<14>::operator=<14, true, Rcpp::MatrixColumn<14>>' requested here a_polygon(j, Rcpp::_) = vb(Rcpp::_, this_index); ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:72:29: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:73:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:73:29: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:74:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:74:29: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:75:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:75:29: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:79:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:79:31: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:81:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:81:31: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:83:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from polygon.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:83:31: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:601:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:130:33: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value(writer, a_polygon); ^ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:607:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_col = mat( Rcpp::_, i ); ~~~ ^ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:11: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:83:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int sfglength = geometries::utils::sexp_length( sfg ); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:225:36: note: in instantiation of function template specialization 'geojsonsf::write_geometry::write_geometry>>>' requested here geojsonsf::write_geometry::write_geometry( writer, sfc, i, digits ); ^ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:10: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/write_geojson.hpp:6: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:6: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:193:43: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = line(i, Rcpp::_ ); ~~~~ ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:223:7: note: in instantiation of function template specialization 'geojsonsf::writers::linestring_to_geojson>>>' requested here linestring_to_geojson( writer, iv, digits ); ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:69:24: note: in instantiation of function template specialization 'geojsonsf::writers::linestring_to_geojson>>>' requested here geojsonsf::writers::linestring_to_geojson( writer, sfg, digits ); ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:94:31: note: in instantiation of function template specialization 'geojsonsf::write_geojson::write_geojson>>>' requested here geojsonsf::write_geojson::write_geojson(writer, sfg, geom_type, cls, digits ); ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:225:36: note: in instantiation of function template specialization 'geojsonsf::write_geometry::write_geometry>>>' requested here geojsonsf::write_geometry::write_geometry( writer, sfc, i, digits ); ^ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:10: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/write_geojson.hpp:6: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:6: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:208:43: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = line(i, Rcpp::_ ); ~~~~ ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:228:7: note: in instantiation of function template specialization 'geojsonsf::writers::linestring_to_geojson>>>' requested here linestring_to_geojson( writer, nv, digits ); ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:69:24: note: in instantiation of function template specialization 'geojsonsf::writers::linestring_to_geojson>>>' requested here geojsonsf::writers::linestring_to_geojson( writer, sfg, digits ); ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:94:31: note: in instantiation of function template specialization 'geojsonsf::write_geojson::write_geojson>>>' requested here geojsonsf::write_geojson::write_geojson(writer, sfg, geom_type, cls, digits ); ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:225:36: note: in instantiation of function template specialization 'geojsonsf::write_geometry::write_geometry>>>' requested here geojsonsf::write_geometry::write_geometry( writer, sfc, i, digits ); ^ In file included from polygon.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:11: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:42:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int sfglength = geometries::utils::sexp_length( sfg ); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:394:36: note: in instantiation of function template specialization 'geojsonsf::write_geometry::write_geometry>>>' requested here geojsonsf::write_geometry::write_geometry( writer, sfg, cls, digits ); ^ 402 warnings generated. clang++ -mmacos-version-min=14.3 -std=gnu++14 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -DSTRICT_R_HEADERS -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/BH/include' -I'/Users/ripley/R/Library/colourvalues/include' -I'/Users/ripley/R/Library/geojsonsf/include' -I'/Users/ripley/R/Library/geometries/include' -I'/Users/ripley/R/Library/interleave/include' -I'/Users/ripley/R/Library/jsonify/include' -I'/Users/ripley/R/Library/rapidjsonr/include' -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/sfheaders/include' -I'/Users/ripley/R/Library/spatialwidget/include' -isystem /opt/R/arm64/include -I../inst/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c text.cpp -o text.o 406 warnings generated. In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:5: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours.hpp:4: /Users/ripley/R/Library/colourvalues/include/colourvalues/scale/scale.hpp:43:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = x.size(); ~ ~~^~~~~~ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:5: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours.hpp:5: /Users/ripley/R/Library/colourvalues/include/colourvalues/utils/utils.hpp:10:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = v.size(); ~ ~~^~~~~~ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:5: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours.hpp:7: /Users/ripley/R/Library/colourvalues/include/colourvalues/convert/convert_colours.hpp:50:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = hex_strings.size(); ~ ~~~~~~~~~~~~^~~~~~ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:7: /Users/ripley/R/Library/colourvalues/include/colourvalues/alpha/alpha.hpp:70:27: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_alpha = alpha.size(); ~~~~~~~ ~~~~~~^~~~~~ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:10: /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:73:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] r = round( spline_red( this_x ) * 255 ) ; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:74:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] g = round( spline_green( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:75:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] b = round( spline_blue( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:84:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] a = round( spline_alpha( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:86:17: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] a = alpha[i]; ~ ^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:88:17: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] a = alpha[0]; // should be length 5, but all the same ~ ^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:141:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] r = round( spline_red( this_x ) * 255 ) ; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:142:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] g = round( spline_green( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:143:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] b = round( spline_blue( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:152:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] a = round( spline_alpha( this_x ) * 255 ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:154:17: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] a = alpha[i]; ~ ^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:156:17: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] a = alpha[0]; // should be length 5, but all the same ~ ^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:117:33: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix rgb_mat(n, cols); ~~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:138:17: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] rgb_mat(i, _) = na_mat; ~~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:158:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] rgb_mat(i, _) = Rcpp::NumericVector::create(r,g,b,a); ~~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:160:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] rgb_mat(i, _) = Rcpp::NumericVector::create(r,g,b); ~~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:224:42: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] r = roundf( spline_red( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:225:44: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] g = roundf( spline_green( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:226:43: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] b = roundf( spline_blue( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:236:48: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] a = roundf( spline_alpha( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:332:42: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] r = roundf( spline_red( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:333:44: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] g = roundf( spline_green( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:334:43: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] b = roundf( spline_blue( this_x ) * digits ) / digits; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:6: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_hex.hpp:6: /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:80:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:96:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:145:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:146:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:160:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:206:65: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( 0, x.size(), palette.ncol() ); ~~~~~~~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:222:26: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int red_size = red.size(); ~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:243:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:244:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:262:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:289:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:305:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:331:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:332:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:346:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_rgb.hpp:6: /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:76:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:93:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:121:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:122:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:136:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:161:65: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( 0, x.size(), palette.ncol() ); ~~~~~~~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:176:26: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int red_size = red.size(); ~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:196:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:197:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:213:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:240:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:256:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:282:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:283:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb.hpp:297:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:7: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api.hpp:8: In file included from /Users/ripley/R/Library/colourvalues/include/colourvalues/api/api_rgb_interleaved.hpp:6: /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:86:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:102:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:136:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:137:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:151:60: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n_summaries = summary.size() < n_summaries ? summary.size() : n_summaries; ~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:182:65: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( 0, x.size(), palette.ncol() ); ~~~~~~~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:197:26: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int red_size = red.size(); ~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:223:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:224:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:240:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:273:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:289:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:321:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:322:66: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int alpha_type = colourvalues::alpha::make_alpha_type( alpha.size(), x_size, 0 ); ~~~~~~~~~~~~ ~~~~~~^~~~~~ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_rgb_interleaved.hpp:336:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int x_size = x.size(); ~~~~~~ ~~^~~~~~ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/scalars.hpp:36:18: warning: implicit conversion loses integer precision: 'int' to 'value_type' (aka 'char') [-Wimplicit-int-conversion] str[1] = toupper( str[1] ); ~ ^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/scalars.hpp:38:18: warning: implicit conversion loses integer precision: 'int' to 'value_type' (aka 'char') [-Wimplicit-int-conversion] str[0] = toupper(str[0]); ~ ^~~~~~~~~~~~~~~ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:26:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:102:55: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:230:55: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:360:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:382:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:405:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:503:40: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:538:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:544:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:564:40: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:601:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:607:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:623:39: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:655:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_row = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:661:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:678:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_row = mat( row, Rcpp::_ ); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:712:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:719:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_col = mat( Rcpp::_, i ); ~~~ ^ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:136:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector v = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:150:47: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector v = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:184:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector v = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:198:47: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector v = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:234:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector v = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:248:47: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector v = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:282:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector v = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:296:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector v = mat( Rcpp::_, i ); ~~~ ^ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:469:23: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] int r_type = it.second; ~~~~~~ ~~~^~~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:600:23: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] int r_type = it.second; ~~~~~~ ~~~^~~~~~ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:5: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:6: /Users/ripley/R/Library/geometries/include/geometries/utils/sexp/sexp.hpp:110:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] ians[0] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/sexp/sexp.hpp:130:23: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] ians[ i ] = j; ~ ^ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:5: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:7: /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:20:16: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = iv.size(); ~ ~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:34:16: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = sv.size(); ~ ~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:50:28: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = values_to_find.size(); ~ ~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:65:28: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = values_to_find.size(); ~ ~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:103:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_1 = iv_1.length(); ~~~ ~~~~~^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:104:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_2 = iv_2.length(); ~~~ ~~~~~^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:151:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_1 = nv_1.length(); ~~~ ~~~~~^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:152:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_2 = nv_2.length(); ~~~ ~~~~~^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:189:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_1 = sv_1.length(); ~~~ ~~~~~^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/vectors/vectors.hpp:190:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_2 = sv_2.length(); ~~~ ~~~~~^~~~~~~~ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:5: /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:55:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_col = df.ncol(); ~~~~~ ~~~^~~~~~ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:6: /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:27:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::IntegerMatrix im( unique_n, 2); ~~ ^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:47:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:52:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i - 1; ~ ~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:59:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:64:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i; ~ ^ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:7: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/lists/list.hpp:11: /Users/ripley/R/Library/geometries/include/geometries/utils/lists/unlist.hpp:110:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int end_position = list_position + n_elements[0] - 1; ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/unlist.hpp:140:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int end_position = list_position + n_elements[0] - 1; ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/unlist.hpp:170:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int end_position = list_position + n_elements[0] - 1; ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/unlist.hpp:200:58: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int end_position = list_position + n_elements[0] - 1; ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:35:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:35:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:39:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:64:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:64:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:68:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:132:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:132:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:139:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:168:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:168:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:174:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:216:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:216:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:222:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:256:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:256:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix nm( n_rows, n_cols ); ~~ ^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:262:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nm( Rcpp::_, i ) = this_column; ~~ ^ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:49:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int j = n_id_cols; ~ ^~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:81:33: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] nelems[ res_counter ] = n_elements; ~ ^~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:83:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] sums[ res_counter ] = cumulative_size; ~ ^~~~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:87:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] end = i - 1; ~ ~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:111:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] start = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:117:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] nelems[ res_counter ] = n_elements; ~ ^~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:120:27: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] sums[ res_counter ] = cumulative_size; ~ ^~~~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:125:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] end = i - 1; ~ ~~^~~ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:30:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector nv = geometry_mat( i, Rcpp::_ ); ~~~~~~~~~~~~ ^ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:8: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/sfg.hpp:4: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/point/sfg_point.hpp:5: /Users/ripley/R/Library/sfheaders/include/sfheaders/utils/utils.hpp:122:26: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] int_id_column[0] = col_counter; ~ ^~~~~~~~~~~ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:8: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/sfg.hpp:4: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/point/sfg_point.hpp:10: In file included from /Users/ripley/R/Library/geometries/include/geometries/nest/nest.hpp:6: /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:142:30: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::IntegerMatrix res( n, 5 ); ~~~ ^ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:159:21: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] res( i, 0 ) = cumulative_coords; ~ ^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:161:39: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] res( i, 1 ) = cumulative_coords - 1; ~ ~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:162:21: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] res( i, 2 ) = geom_dimension; ~ ^~~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:163:21: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] res( i, 3 ) = nest; ~ ^~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:199:62: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] im(0, 1) = geometries::utils::sexp_n_row( geometries ) - 1; ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:200:18: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] im(0, 2) = max_dimension; ~ ^~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:201:18: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] im(0, 3) = max_nest; // level of nesting (a matrix is not nested in a list) ~ ^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:222:18: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] im(0, 2) = max_dimension; ~ ^~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/coordinates/dimensions.hpp:223:18: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] im(0, 3) = max_nest; ~ ^~~~~~~~ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:9: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfc/sfc.hpp:5: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfc/point/sfc_point.hpp:11: /Users/ripley/R/Library/geometries/include/geometries/bbox/bbox.hpp:156:33: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'R_xlen_t' (aka 'long') [-Wfloat-conversion] Rcpp::NumericVector x = df[ geometry_cols[0] ]; ~~ ^~~~~~~~~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/bbox/bbox.hpp:157:33: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'R_xlen_t' (aka 'long') [-Wfloat-conversion] Rcpp::NumericVector y = df[ geometry_cols[1] ]; ~~ ^~~~~~~~~~~~~~~~ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:10: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/sf.hpp:5: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/point/sf_point.hpp:8: /Users/ripley/R/Library/geometries/include/geometries/utils/rleid/rleid.hpp:21:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int j = n_id_cols; ~ ^~~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/rleid/rleid.hpp:72:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] ians[ counter ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/rleid/rleid.hpp:81:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] ians[ counter ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/rleid/rleid.hpp:90:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] ians[ counter ] = i; ~ ^ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:10: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/sf.hpp:5: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/point/sf_point.hpp:10: /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/sf_utils.hpp:152:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] idx[ k ] = k + start_idx; ~ ~~^~~~~~~~~~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sf/sf_utils.hpp:155:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] idx[ res_size - 1 ] = start_idx; ~ ^~~~~~~~~ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:21: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/colour/colour.hpp:8: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/palette/palette.hpp:7: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/utils.hpp:5: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/factors/factors.hpp:13:23: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_cols = data.length(); ~~~~~~ ~~~~~^~~~~~~~ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:21: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/colour/colour.hpp:8: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/palette/palette.hpp:7: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/utils.hpp:8: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/colour/colour.hpp:15:19: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int len = str.length(); ~~~ ~~~~^~~~~~~~ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:21: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/colour/colour.hpp:8: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/palette/palette.hpp:7: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/utils.hpp:9: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/dates/dates.hpp:12:15: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = v.size(); ~ ~~^~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/utils/dates/dates.hpp:58:23: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_cols = data.length(); ~~~~~~ ~~~~~^~~~~~~~ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:21: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/colour/colour.hpp:10: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/legend/legend.hpp:67:26: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = legend_types.size(); ~ ~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/legend/legend.hpp:98:23: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n = lege_list.size(); ~ ~~~~~~~~~~^~~~~~ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:22: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/data_construction/data_construction.hpp:43:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n = params.size(); ~ ~~~~~~~^~~~~~ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:9: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geometries/sizes.hpp:21:22: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] return multiline.size(); ~~~~~~ ~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geometries/sizes.hpp:25:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] return multipolygon.size(); ~~~~~~ ~~~~~~~~~~~~~^~~~~~ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:10: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/write_geojson.hpp:6: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:6: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:193:43: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = line(i, Rcpp::_ ); ~~~~ ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:208:43: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = line(i, Rcpp::_ ); ~~~~ ^ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:10: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/write_geojson.hpp:6: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:126:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector pts = mls(geometry_index, Rcpp::_ ); ~~~ ^~~~~~~~~~~~~~ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:11: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:42:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int sfglength = geometries::utils::sexp_length( sfg ); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:83:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int sfglength = geometries::utils::sexp_length( sfg ); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:133:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int sfglength = geometries::utils::sexp_length( sfg ); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:65:26: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] int this_index = polygon_indeces[j]; ~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:123:26: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] int this_index = polygon_indeces[j]; ~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:59:37: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] polygon_indeces = ib(Rcpp::_, i); ~~ ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:102:37: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] polygon_indeces = ib(Rcpp::_, i); ~~ ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:103:45: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix a_polygon( n_row, n_coords ); ~~~~~~~~~ ^~~~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:103:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Wshorten-64-to-32] Rcpp::NumericMatrix a_polygon( n_row, n_coords ); ~~~~~~~~~ ^~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:126:19: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] a_polygon(j, Rcpp::_) = vb(Rcpp::_, this_index); ~~~~~~~~~ ^ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:26: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/parameters/parameters.hpp:36:27: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_params = params.size(); ~~~~~~~~ ~~~~~~~^~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/parameters/parameters.hpp:159:119: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector colours_remove = spatialwidget::utils::map::extract_map( colour_columns, colour_columns.size() * 2 ); ~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from text.cpp:5: /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:498:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] expanded_index[ counter + j ] = i; ~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:334:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] inline iterator end() { return cache.get() + size() ; } ~ ^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1116:29: note: in instantiation of member function 'Rcpp::Vector<16>::end' requested here std::fill( begin(), end(), converter_type::get( u ) ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:330:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill__dispatch' requested here fill__dispatch( typename traits::is_trivial::type(), u ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1101:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill' requested here fill(t) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1089:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill_or_generate__impl' requested here fill_or_generate__impl( t, typename traits::is_generator::type() ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:172:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill_or_generate' requested here fill_or_generate( u ) ; ^ ../inst/include/mapdeck_defaults.hpp:106:22: note: in instantiation of function template specialization 'Rcpp::Vector<16>::Vector' requested here Rcpp::StringVector sv(n, "middle"); ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:177: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/Proxy_Iterator.h:110:23: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] return proxy.index - other.proxy.index ; ~~~~~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/fill.h:38:35: note: in instantiation of member function 'Rcpp::internal::Proxy_Iterator>::operator-' requested here _VSTD::fill_n(__first, __last - __first, __value); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/fill.h:46:12: note: in instantiation of function template specialization 'std::__fill>, SEXPREC *>' requested here _VSTD::__fill(__first, __last, __value, typename iterator_traits<_ForwardIterator>::iterator_category()); ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1116:14: note: in instantiation of function template specialization 'std::fill>, SEXPREC *>' requested here std::fill( begin(), end(), converter_type::get( u ) ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:330:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill__dispatch' requested here fill__dispatch( typename traits::is_trivial::type(), u ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1101:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill' requested here fill(t) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1089:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill_or_generate__impl' requested here fill_or_generate__impl( t, typename traits::is_generator::type() ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:172:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::fill_or_generate' requested here fill_or_generate( u ) ; ^ ../inst/include/mapdeck_defaults.hpp:106:22: note: in instantiation of function template specialization 'Rcpp::Vector<16>::Vector' requested here Rcpp::StringVector sv(n, "middle"); ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] return lookup__impl(vec.begin(), vec.size() ) ; ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<16>::lookup' requested here return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/utils/utils.hpp:70:37: note: in instantiation of function template specialization 'Rcpp::match<16, true, Rcpp::Vector<16>, true, Rcpp::Vector<16>>' requested here Rcpp::IntegerVector out = Rcpp::match( x, lvls ); ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1041:13: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here import_expression(x, n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1053:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::assign_sugar_expression>' requested here assign_sugar_expression( x.get_ref() ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:247:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::assign_object>' requested here assign_object( x, typename traits::is_sugar_expression::type() ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/palette_utils/palette_utils.hpp:50:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::operator=>' requested here red = palette(_, 0); ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/convert/convert_colours.hpp:63:12: note: in instantiation of member function 'Rcpp::Matrix<13>::operator()' requested here mat(i, 0) = hex_to_rgba( hex, 1, 2 ); ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:59: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/SubMatrix.h:38:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nc( col_range_.size() ), ~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:167:14: note: in instantiation of member function 'Rcpp::SubMatrix<13>::SubMatrix' requested here return Sub( const_cast(*this), Range(0,nrow()-1) , col_range ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/convert/convert_colours.hpp:99:16: note: in instantiation of member function 'Rcpp::Matrix<13>::operator()' requested here mat = mat(Rcpp::_, Rcpp::Range(0,2) ); ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:59: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/SubMatrix.h:39:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nr( row_range_.size() ) ~~~~~~~~~~~^~~~~~ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:72:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:138:23: note: in instantiation of function template specialization 'Rcpp::MatrixRow<14>::operator=<13, true, Rcpp::Vector<13>>' requested here rgb_mat(i, _) = na_mat; ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:73:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:74:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:75:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:79:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:81:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:83:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:72:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:158:25: note: in instantiation of function template specialization 'Rcpp::MatrixRow<14>::operator=<14, true, Rcpp::Vector<14>>' requested here rgb_mat(i, _) = Rcpp::NumericVector::create(r,g,b,a); ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:73:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:74:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:75:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:79:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:81:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:83:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/generate_colours.hpp:215:47: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here rgb_vec[ position_counter ] = na_mat_d(0, 0); ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_expression' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_sugar_expression' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/colours/colours_hex.hpp:219:44: note: in instantiation of function template specialization 'Rcpp::Vector<13>::Vector' requested here Rcpp::IntegerVector summary_values = Rcpp::seq_len( lvls.length() ); ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:59: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/SubMatrix.h:38:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nc( col_range_.size() ), ~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:170:14: note: in instantiation of member function 'Rcpp::SubMatrix<14>::SubMatrix' requested here return Sub( const_cast(*this), row_range, Range(0,ncol()-1) ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/list/list.hpp:115:56: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here Rcpp::NumericMatrix these_colours = colours( elements, Rcpp::_ ); ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:59: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/SubMatrix.h:39:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nr( row_range_.size() ) ~~~~~~~~~~~^~~~~~ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_expression' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_sugar_expression' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/colourvalues/include/colourvalues/list/list.hpp:153:44: note: in instantiation of function template specialization 'Rcpp::Vector<13>::Vector' requested here Rcpp::IntegerVector elements = Rcpp::seq( vector_position, end_position ); ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:21: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~ ^~~~~~~~~ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:19: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~ ^~~~~~~~~ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:538:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:161:42: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here return jsonify::writers::simple::write_value( writer, im, unbox, by ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:544:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:712:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:166:42: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here return jsonify::writers::simple::write_value( writer, lm, unbox, by ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:719:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:655:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_row = mat( i, Rcpp::_ ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:171:42: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here return jsonify::writers::simple::write_value( writer, sm, unbox, by ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:661:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_col = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:102:55: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:360:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, nv, unbox, digits, numeric_dates ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/scalars.hpp:36:18: warning: implicit conversion loses integer precision: 'int' to 'value_type' (aka 'char') [-Wimplicit-int-conversion] str[1] = toupper( str[1] ); ~ ^~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:111:38: note: in instantiation of function template specialization 'jsonify::writers::scalars::write_value>>>' requested here jsonify::writers::scalars::write_value( writer, nv[i], digits ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:360:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, nv, unbox, digits, numeric_dates ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/scalars.hpp:38:18: warning: implicit conversion loses integer precision: 'int' to 'value_type' (aka 'char') [-Wimplicit-int-conversion] str[0] = toupper(str[0]); ~ ^~~~~~~~~~~~~~~ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:230:55: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:365:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, iv, unbox, numeric_dates, factors_as_string ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:21:32: note: in instantiation of function template specialization 'jsonify::writers::complex::write_value>>>' requested here jsonify::writers::complex::write_value( writer, lst, unbox, digits, numeric_dates, factors_as_string, by ); ^ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:564:40: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:87:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, nm, row, unbox ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:80:40: note: in instantiation of function template specialization 'jsonify::writers::complex::switch_vector>>>' requested here jsonify::writers::complex::switch_vector( ^ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:503:40: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:99:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, im, row, unbox ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:80:40: note: in instantiation of function template specialization 'jsonify::writers::complex::switch_vector>>>' requested here jsonify::writers::complex::switch_vector( ^ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:678:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::LogicalVector this_row = mat( row, Rcpp::_ ); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:110:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, lm, row, unbox ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:80:40: note: in instantiation of function template specialization 'jsonify::writers::complex::switch_vector>>>' requested here jsonify::writers::complex::switch_vector( ^ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:623:39: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::StringVector this_row = mat(row, Rcpp::_); ~~~ ^~~ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:120:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, sm, row, unbox ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:80:40: note: in instantiation of function template specialization 'jsonify::writers::complex::switch_vector>>>' requested here jsonify::writers::complex::switch_vector( ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<10>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<10>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:136:33: note: in instantiation of function template specialization 'Rcpp::Vector<10>::Vector>' requested here Rcpp::LogicalVector v = mat( i, Rcpp::_ ); ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:405:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:140:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, v, unbox ); ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<10>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<10>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:150:33: note: in instantiation of function template specialization 'Rcpp::Vector<10>::Vector>' requested here Rcpp::LogicalVector v = mat( Rcpp::_, i ); ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:184:33: note: in instantiation of function template specialization 'Rcpp::Vector<13>::Vector>' requested here Rcpp::IntegerVector v = mat( i, Rcpp::_ ); ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:382:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:188:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, v, unbox ); ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:198:33: note: in instantiation of function template specialization 'Rcpp::Vector<13>::Vector>' requested here Rcpp::IntegerVector v = mat( Rcpp::_, i ); ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:234:33: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here Rcpp::NumericVector v = mat( i, Rcpp::_ ); ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:360:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:238:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, v, unbox, digits ); ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:282:32: note: in instantiation of function template specialization 'Rcpp::Vector<16>::Vector>' requested here Rcpp::StringVector v = mat( i, Rcpp::_ ); ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:26:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] bool will_unbox = jsonify::utils::should_unbox( n, unbox ); ~~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:286:35: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value( writer, v, unbox ); ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:61: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixColumn.h:39:57: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] start(parent.begin() + static_cast(i) * n ), ~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:158:14: note: in instantiation of member function 'Rcpp::MatrixColumn<16>::MatrixColumn' requested here return Column( *this, i ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:296:35: note: in instantiation of member function 'Rcpp::Matrix<16>::operator()' requested here Rcpp::StringVector v = mat( Rcpp::_, i ); ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:61: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixColumn.h:40:90: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] const_start(const_cast(parent).begin() + static_cast(i) * n) ~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::import_expression>' requested here import_expression( other.get_ref() , n ) ; ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<16>::import_sugar_expression>' requested here import_sugar_expression( other, typename traits::same_type::type() ) ; ^ /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:296:32: note: in instantiation of function template specialization 'Rcpp::Vector<16>::Vector>' requested here Rcpp::StringVector v = mat( Rcpp::_, i ); ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL(start,other) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:32:64: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] std::copy( this_vec.begin(), this_vec.end(), v.begin() + i ); ~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:53:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_vector<16>' requested here return simplify_vector< STRSXP >( x, n ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:180:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<13>' requested here return simplify_matrix< INTSXP >( out, n_col, n_row ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:183:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<14>' requested here return simplify_matrix< REALSXP >( out, n_col, n_row ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:186:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<10>' requested here return simplify_matrix< LGLSXP >( out, n_col, n_row ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:164:9: note: in instantiation of member function 'Rcpp::Matrix<10>::operator()' requested here mat( i, j ) = this_val; ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:186:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<10>' requested here return simplify_matrix< LGLSXP >( out, n_col, n_row ); ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:192:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<16>' requested here return simplify_matrix< STRSXP >( out, n_col, n_row ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:158:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE >mat( n_row, n_col ); ~~~ ^~~~~ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:164:9: note: in instantiation of member function 'Rcpp::Matrix<16>::operator()' requested here mat( i, j ) = this_val; ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/simplify/simplify.hpp:192:14: note: in instantiation of function template specialization 'jsonify::from_json::simplify_matrix<16>' requested here return simplify_matrix< STRSXP >( out, n_col, n_row ); ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:58: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; ~~~~~~ ^ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json_utils.hpp:42:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'SizeType' (aka 'unsigned int') [-Wshorten-64-to-32] curr_dtype = doc[i].GetType(); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:207:14: note: in instantiation of function template specialization 'jsonify::from_json::get_dtypes>>' requested here dtypes = get_dtypes(doc); ^ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json_utils.hpp:52:16: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'SizeType' (aka 'unsigned int') [-Wshorten-64-to-32] if(doc[i].IsDouble()) { ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json_utils.hpp:42:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'SizeType' (aka 'unsigned int') [-Wshorten-64-to-32] curr_dtype = doc[i].GetType(); ~~~ ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:136:18: note: in instantiation of function template specialization 'jsonify::from_json::get_dtypes>>' requested here dtypes = get_dtypes( json ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:190:12: note: in instantiation of function template specialization 'jsonify::from_json::parse_json>>' requested here return parse_json( json, simplify, fill_na ); ^ /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:37:32: note: in instantiation of function template specialization 'jsonify::from_json::from_json>>' requested here return jsonify::from_json::from_json( doc, simplify, fill_na ); ^ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:12: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/api.hpp:5: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json.hpp:6: /Users/ripley/R/Library/jsonify/include/jsonify/from_json/from_json_utils.hpp:52:16: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'SizeType' (aka 'unsigned int') [-Wshorten-64-to-32] if(doc[i].IsDouble()) { ~~~ ^ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:5: /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:20:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_id_cols = id_cols.size(); ~~~~~~~~~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:48:12: note: in instantiation of function template specialization 'geometries::utils::other_columns<16>' requested here return other_columns( df_names, id_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:21:33: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_other_cols = all_cols.size(); ~~~~~~~~~~~~ ~~~~~~~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:20:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_id_cols = id_cols.size(); ~~~~~~~~~ ~~~~~~~~^~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:57:12: note: in instantiation of function template specialization 'geometries::utils::other_columns<13>' requested here return other_columns( other_cols, id_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/columns/columns.hpp:21:33: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int n_other_cols = all_cols.size(); ~~~~~~~~~~~~ ~~~~~~~~~^~~~~~ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:6: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/utils.hpp:6: /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:27:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::IntegerMatrix im( unique_n, 2); ~~ ^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:88:16: note: in instantiation of function template specialization 'geometries::utils::id_positions<13>' requested here return id_positions( iv_line_ids, iv_unique_ids ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:47:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:52:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i - 1; ~ ~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:59:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:64:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:27:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::IntegerMatrix im( unique_n, 2); ~~ ^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:93:16: note: in instantiation of function template specialization 'geometries::utils::id_positions<14>' requested here return id_positions( nv_line_ids, nv_unique_ids ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:47:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:52:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i - 1; ~ ~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:59:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:64:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:27:29: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::IntegerMatrix im( unique_n, 2); ~~ ^~~~~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:98:16: note: in instantiation of function template specialization 'geometries::utils::id_positions<16>' requested here return id_positions( sv_line_ids, sv_unique_ids ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:47:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:52:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i - 1; ~ ~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:59:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] start_positions[ idx ] = i; ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lines/lines.hpp:64:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] end_positions[ idx ] = i; ~ ^ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:4: /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:106:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m( n_row, n_col ); ~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:313:18: note: in instantiation of function template specialization 'geometries::matrix::to_geometry_matrix<13>' requested here return to_geometry_matrix( iv, geometry_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:106:30: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m( n_row, n_col ); ~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:89:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m2( n_row, n_col ); ~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:316:18: note: in instantiation of function template specialization 'geometries::matrix::to_geometry_matrix<13>' requested here return to_geometry_matrix( im, geometry_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:89:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m2( n_row, n_col ); ~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:92:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] m2( Rcpp::_, i ) = m( Rcpp::_, this_col ); ~~ ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:106:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m( n_row, n_col ); ~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:322:18: note: in instantiation of function template specialization 'geometries::matrix::to_geometry_matrix<14>' requested here return to_geometry_matrix( nv, geometry_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:106:30: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m( n_row, n_col ); ~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:89:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m2( n_row, n_col ); ~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:325:18: note: in instantiation of function template specialization 'geometries::matrix::to_geometry_matrix<14>' requested here return to_geometry_matrix( nm, geometry_cols ); ^ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:89:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > m2( n_row, n_col ); ~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/matrix/to_mat.hpp:92:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] m2( Rcpp::_, i ) = m( Rcpp::_, this_col ); ~~ ^ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:4: In file included from /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:5: /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:26:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > last_row = mat( n_row - 1, Rcpp::_ ); ~~~ ~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:69:22: note: in instantiation of function template specialization 'geometries::utils::matrix_is_closed<13>' requested here bool is_closed = matrix_is_closed( mat ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:85:20: note: in instantiation of function template specialization 'geometries::utils::close_matrix<13>' requested here lst[i] = close_matrix( im ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:48:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:70:12: note: in instantiation of function template specialization 'geometries::utils::close_matrix<13>' requested here return close_matrix( mat, is_closed ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:85:20: note: in instantiation of function template specialization 'geometries::utils::close_matrix<13>' requested here lst[i] = close_matrix( im ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:48:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:53:35: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nv[ rng ] = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:55:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] mat2( Rcpp::_ , i ) = nv; ~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/RangeIndexer.h:63:6: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] UNROLL_LOOP(=) ^~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/RangeIndexer.h:28:32: note: expanded from macro 'UNROLL_LOOP' int __trip_count = (size_) >> 2; \ ~~~~~~~~~~~~ ~~~~~~~~^~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:53:19: note: in instantiation of function template specialization 'Rcpp::internal::RangeIndexer<13, true, Rcpp::Vector<13>>::operator=>' requested here nv[ rng ] = mat( Rcpp::_, i ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:70:12: note: in instantiation of function template specialization 'geometries::utils::close_matrix<13>' requested here return close_matrix( mat, is_closed ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:85:20: note: in instantiation of function template specialization 'geometries::utils::close_matrix<13>' requested here lst[i] = close_matrix( im ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:48:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ^~~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:70:12: note: in instantiation of function template specialization 'geometries::utils::close_matrix<14>' requested here return close_matrix( mat, is_closed ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:90:20: note: in instantiation of function template specialization 'geometries::utils::close_matrix<14>' requested here lst[i] = close_matrix( nm ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:48:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:53:35: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] nv[ rng ] = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:55:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] mat2( Rcpp::_ , i ) = nv; ~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/RangeIndexer.h:63:6: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] UNROLL_LOOP(=) ^~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/RangeIndexer.h:28:32: note: expanded from macro 'UNROLL_LOOP' int __trip_count = (size_) >> 2; \ ~~~~~~~~~~~~ ~~~~~~~~^~~~ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:53:19: note: in instantiation of function template specialization 'Rcpp::internal::RangeIndexer<14, true, Rcpp::Vector<14>>::operator=>' requested here nv[ rng ] = mat( Rcpp::_, i ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:70:12: note: in instantiation of function template specialization 'geometries::utils::close_matrix<14>' requested here return close_matrix( mat, is_closed ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:90:20: note: in instantiation of function template specialization 'geometries::utils::close_matrix<14>' requested here lst[i] = close_matrix( nm ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/close/close.hpp:26:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > last_row = mat( n_row - 1, Rcpp::_ ); ~~~ ~~~~~~^~~ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:92:49: note: in instantiation of function template specialization 'geometries::utils::matrix_is_closed<14>' requested here bool is_closed = geometries::utils::matrix_is_closed( res_mat ); ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/RangeIndexer.h:59:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] start(vec_.begin() + range_.get_start() ), size_( range_.size() ) {} ~ ~~~~~~~^~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:547:16: note: in instantiation of member function 'Rcpp::internal::RangeIndexer<19, true, Rcpp::Vector<19>>::RangeIndexer' requested here return Indexer( const_cast(*this), range ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/split/split.hpp:156:32: note: in instantiation of member function 'Rcpp::Vector<19>::operator[]' requested here Rcpp::_["coords"] = res[ coord_rng ] ^ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:13: In file included from /Users/ripley/R/Library/geometries/include/geometries/geometries.hpp:7: /Users/ripley/R/Library/geometries/include/geometries/utils/lists/as_list.hpp:26:45: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > v = x( Rcpp::_, i ); ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/as_list.hpp:46:18: note: in instantiation of function template specialization 'geometries::utils::as_list<13>' requested here return as_list( im ); ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/as_list.hpp:26:45: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > v = x( Rcpp::_, i ); ~ ^ /Users/ripley/R/Library/geometries/include/geometries/utils/lists/as_list.hpp:55:18: note: in instantiation of function template specialization 'geometries::utils::as_list<14>' requested here return as_list( nm ); ^ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:16: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfheaders.hpp:8: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/sfg.hpp:8: In file included from /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/sfg_polygon.hpp:7: /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:27:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > last_row = mat( n_row - 1, Rcpp::_ ); ~~~ ~~~~~~^~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:72:18: note: in instantiation of function template specialization 'sfheaders::polygon_utils::close_polygon<13>' requested here lst[i] = close_polygon( im, close ); // #nocov ^ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:37:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ^~~~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:37:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ~~~~~~^~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:42:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] v[ rng ] = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:44:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] mat2( Rcpp::_ , i ) = v; ~~~~ ^ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:27:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::Vector< RTYPE > last_row = mat( n_row - 1, Rcpp::_ ); ~~~ ~~~~~~^~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:77:18: note: in instantiation of function template specialization 'sfheaders::polygon_utils::close_polygon<14>' requested here lst[i] = close_polygon( nm, close ); ^ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:37:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ^~~~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:37:41: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] Rcpp::Matrix< RTYPE > mat2( n_row + 1, n_col ); ~~~~ ~~~~~~^~~ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:42:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] v[ rng ] = mat( Rcpp::_, i ); ~~~ ^ /Users/ripley/R/Library/sfheaders/include/sfheaders/sfg/polygon/close_polygon.hpp:44:25: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] mat2( Rcpp::_ , i ) = v; ~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:52: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:334:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'difference_type' (aka 'int') [-Wshorten-64-to-32] inline iterator end() { return cache.get() + size() ; } ~ ^~~~~~ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:20:57: note: in instantiation of member function 'Rcpp::Vector<19>::end' requested here for (Rcpp::List::iterator it = sfg.begin(); it != sfg.end(); it++) { ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:72:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:126:31: note: in instantiation of function template specialization 'Rcpp::MatrixRow<14>::operator=<14, true, Rcpp::MatrixColumn<14>>' requested here a_polygon(j, Rcpp::_) = vb(Rcpp::_, this_index); ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:72:29: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:73:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:73:29: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:74:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:74:29: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:75:16: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:75:29: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:79:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:79:31: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:81:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:81:31: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:83:18: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~ ^ In file included from text.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:60: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/MatrixRow.h:157:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] RCPP_LOOP_UNROLL_LHSFUN(start,get_parent_index,ref) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:83:31: note: expanded from macro 'RCPP_LOOP_UNROLL_LHSFUN' TARGET[FUN(i)] = SOURCE[i] ; i++ ; /* fallthrough */ \ ~~~~~~ ^ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:601:44: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = mat(i, Rcpp::_); ~~~ ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:130:33: note: in instantiation of function template specialization 'jsonify::writers::simple::write_value>>>' requested here jsonify::writers::simple::write_value(writer, a_polygon); ^ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:10: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/jsonify.hpp:11: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/api.hpp:6: In file included from /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/complex.hpp:7: /Users/ripley/R/Library/jsonify/include/jsonify/to_json/writers/simple.hpp:607:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_col = mat( Rcpp::_, i ); ~~~ ^ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:11: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:83:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int sfglength = geometries::utils::sexp_length( sfg ); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:225:36: note: in instantiation of function template specialization 'geojsonsf::write_geometry::write_geometry>>>' requested here geojsonsf::write_geometry::write_geometry( writer, sfc, i, digits ); ^ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:10: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/write_geojson.hpp:6: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:6: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:193:43: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::IntegerVector this_row = line(i, Rcpp::_ ); ~~~~ ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:223:7: note: in instantiation of function template specialization 'geojsonsf::writers::linestring_to_geojson>>>' requested here linestring_to_geojson( writer, iv, digits ); ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:69:24: note: in instantiation of function template specialization 'geojsonsf::writers::linestring_to_geojson>>>' requested here geojsonsf::writers::linestring_to_geojson( writer, sfg, digits ); ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:94:31: note: in instantiation of function template specialization 'geojsonsf::write_geojson::write_geojson>>>' requested here geojsonsf::write_geojson::write_geojson(writer, sfg, geom_type, cls, digits ); ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:225:36: note: in instantiation of function template specialization 'geojsonsf::write_geometry::write_geometry>>>' requested here geojsonsf::write_geometry::write_geometry( writer, sfc, i, digits ); ^ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:10: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/write_geojson.hpp:6: In file included from /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:6: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:208:43: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] Rcpp::NumericVector this_row = line(i, Rcpp::_ ); ~~~~ ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/writers.hpp:228:7: note: in instantiation of function template specialization 'geojsonsf::writers::linestring_to_geojson>>>' requested here linestring_to_geojson( writer, nv, digits ); ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/writers/write_geojson.hpp:69:24: note: in instantiation of function template specialization 'geojsonsf::writers::linestring_to_geojson>>>' requested here geojsonsf::writers::linestring_to_geojson( writer, sfg, digits ); ^ /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:94:31: note: in instantiation of function template specialization 'geojsonsf::write_geojson::write_geojson>>>' requested here geojsonsf::write_geojson::write_geojson(writer, sfg, geom_type, cls, digits ); ^ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:225:36: note: in instantiation of function template specialization 'geojsonsf::write_geometry::write_geometry>>>' requested here geojsonsf::write_geometry::write_geometry( writer, sfc, i, digits ); ^ In file included from text.cpp:5: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/spatialwidget.hpp:23: In file included from /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:11: /Users/ripley/R/Library/geojsonsf/include/geojsonsf/geojson/write_geometry.hpp:42:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int sfglength = geometries::utils::sexp_length( sfg ); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/spatialwidget/include/spatialwidget/geojson/geojson.hpp:394:36: note: in instantiation of function template specialization 'geojsonsf::write_geometry::write_geometry>>>' requested here geojsonsf::write_geometry::write_geometry( writer, sfg, cls, digits ); ^ 402 warnings generated. clang++ -mmacos-version-min=14.3 -std=gnu++14 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Users/ripley/R/R-devel/lib -L/opt/R/arm64/lib -o mapdeck.so RcppExports.o aggregate.o geojson.o mesh.o od.o path.o point.o polygon.o text.o -L/Users/ripley/R/R-devel/lib -lR -Wl,-framework -Wl,CoreFoundation installing to /Users/ripley/R/packages/tests-devel/mapdeck.Rcheck/00LOCK-mapdeck/00new/mapdeck/libs ** R ** data *** moving datasets to lazyload DB ** 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 (mapdeck)