@@ -1126,16 +1126,17 @@ BEGIN_RCPP
11261126END_RCPP
11271127}
11281128// CPL_xy2sfc
1129- List CPL_xy2sfc (NumericMatrix cc, IntegerVector dim, bool to_points, IntegerVector which);
1130- RcppExport SEXP _sf_CPL_xy2sfc (SEXP ccSEXP, SEXP dimSEXP, SEXP to_pointsSEXP, SEXP whichSEXP) {
1129+ List CPL_xy2sfc (NumericMatrix cc, IntegerVector dim, bool to_points, IntegerVector which, bool cc_has_NAs );
1130+ RcppExport SEXP _sf_CPL_xy2sfc (SEXP ccSEXP, SEXP dimSEXP, SEXP to_pointsSEXP, SEXP whichSEXP, SEXP cc_has_NAsSEXP ) {
11311131BEGIN_RCPP
11321132 Rcpp::RObject rcpp_result_gen;
11331133 Rcpp::RNGScope rcpp_rngScope_gen;
11341134 Rcpp::traits::input_parameter< NumericMatrix >::type cc (ccSEXP);
11351135 Rcpp::traits::input_parameter< IntegerVector >::type dim (dimSEXP);
11361136 Rcpp::traits::input_parameter< bool >::type to_points (to_pointsSEXP);
11371137 Rcpp::traits::input_parameter< IntegerVector >::type which (whichSEXP);
1138- rcpp_result_gen = Rcpp::wrap (CPL_xy2sfc (cc, dim, to_points, which));
1138+ Rcpp::traits::input_parameter< bool >::type cc_has_NAs (cc_has_NAsSEXP);
1139+ rcpp_result_gen = Rcpp::wrap (CPL_xy2sfc (cc, dim, to_points, which, cc_has_NAs));
11391140 return rcpp_result_gen;
11401141END_RCPP
11411142}
@@ -1496,7 +1497,7 @@ static const R_CallMethodDef CallEntries[] = {
14961497 {" _sf_CPL_have_datum_files" , (DL_FUNC) &_sf_CPL_have_datum_files, 1 },
14971498 {" _sf_CPL_proj_direct" , (DL_FUNC) &_sf_CPL_proj_direct, 5 },
14981499 {" _sf_CPL_proj_info" , (DL_FUNC) &_sf_CPL_proj_info, 1 },
1499- {" _sf_CPL_xy2sfc" , (DL_FUNC) &_sf_CPL_xy2sfc, 4 },
1500+ {" _sf_CPL_xy2sfc" , (DL_FUNC) &_sf_CPL_xy2sfc, 5 },
15001501 {" _sf_sfc_is_null" , (DL_FUNC) &_sf_sfc_is_null, 1 },
15011502 {" _sf_sfc_unique_sfg_dims_and_types" , (DL_FUNC) &_sf_sfc_unique_sfg_dims_and_types, 1 },
15021503 {" _sf_sfc_is_empty" , (DL_FUNC) &_sf_sfc_is_empty, 1 },
0 commit comments