| 915 | #if defined(ARROW_R_WITH_ACERO) |
| 916 | std::shared_ptr<acero::ExecPlan> ExecPlan_create(bool use_threads); |
| 917 | extern "C" SEXP _arrow_ExecPlan_create(SEXP use_threads_sexp){ |
| 918 | BEGIN_CPP11 |
| 919 | arrow::r::Input<bool>::type use_threads(use_threads_sexp); |
| 920 | return cpp11::as_sexp(ExecPlan_create(use_threads)); |
| 921 | END_CPP11 |
| 922 | } |
| 923 | #else |
| 924 | extern "C" SEXP _arrow_ExecPlan_create(SEXP use_threads_sexp){ |
| 925 | Rf_error("Cannot call ExecPlan_create(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. "); |
nothing calls this directly
no test coverage detected