| 1272 | #if defined(ARROW_R_WITH_SUBSTRAIT) |
| 1273 | std::string substrait__internal__SubstraitToJSON(const std::shared_ptr<arrow::Buffer>& serialized_plan); |
| 1274 | extern "C" SEXP _arrow_substrait__internal__SubstraitToJSON(SEXP serialized_plan_sexp){ |
| 1275 | BEGIN_CPP11 |
| 1276 | arrow::r::Input<const std::shared_ptr<arrow::Buffer>&>::type serialized_plan(serialized_plan_sexp); |
| 1277 | return cpp11::as_sexp(substrait__internal__SubstraitToJSON(serialized_plan)); |
| 1278 | END_CPP11 |
| 1279 | } |
| 1280 | #else |
| 1281 | extern "C" SEXP _arrow_substrait__internal__SubstraitToJSON(SEXP serialized_plan_sexp){ |
| 1282 | Rf_error("Cannot call substrait__internal__SubstraitToJSON(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. "); |
nothing calls this directly
no test coverage detected