| 2056 | #if defined(ARROW_R_WITH_DATASET) |
| 2057 | std::shared_ptr<ds::DirectoryPartitioning> dataset___DirectoryPartitioning(const std::shared_ptr<arrow::Schema>& schm, const std::string& segment_encoding); |
| 2058 | extern "C" SEXP _arrow_dataset___DirectoryPartitioning(SEXP schm_sexp, SEXP segment_encoding_sexp){ |
| 2059 | BEGIN_CPP11 |
| 2060 | arrow::r::Input<const std::shared_ptr<arrow::Schema>&>::type schm(schm_sexp); |
| 2061 | arrow::r::Input<const std::string&>::type segment_encoding(segment_encoding_sexp); |
| 2062 | return cpp11::as_sexp(dataset___DirectoryPartitioning(schm, segment_encoding)); |
| 2063 | END_CPP11 |
| 2064 | } |
| 2065 | #else |
| 2066 | extern "C" SEXP _arrow_dataset___DirectoryPartitioning(SEXP schm_sexp, SEXP segment_encoding_sexp){ |
| 2067 | Rf_error("Cannot call dataset___DirectoryPartitioning(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. "); |
nothing calls this directly
no test coverage detected