| 1240 | #if defined(ARROW_R_WITH_ACERO) |
| 1241 | std::shared_ptr<acero::ExecNode> ExecNode_SourceNode(const std::shared_ptr<acero::ExecPlan>& plan, const std::shared_ptr<arrow::RecordBatchReader>& reader); |
| 1242 | extern "C" SEXP _arrow_ExecNode_SourceNode(SEXP plan_sexp, SEXP reader_sexp){ |
| 1243 | BEGIN_CPP11 |
| 1244 | arrow::r::Input<const std::shared_ptr<acero::ExecPlan>&>::type plan(plan_sexp); |
| 1245 | arrow::r::Input<const std::shared_ptr<arrow::RecordBatchReader>&>::type reader(reader_sexp); |
| 1246 | return cpp11::as_sexp(ExecNode_SourceNode(plan, reader)); |
| 1247 | END_CPP11 |
| 1248 | } |
| 1249 | #else |
| 1250 | extern "C" SEXP _arrow_ExecNode_SourceNode(SEXP plan_sexp, SEXP reader_sexp){ |
| 1251 | Rf_error("Cannot call ExecNode_SourceNode(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. "); |
nothing calls this directly
no test coverage detected