| 2072 | #if defined(ARROW_R_WITH_DATASET) |
| 2073 | std::shared_ptr<ds::PartitioningFactory> dataset___DirectoryPartitioning__MakeFactory(const std::vector<std::string>& field_names, const std::string& segment_encoding); |
| 2074 | extern "C" SEXP _arrow_dataset___DirectoryPartitioning__MakeFactory(SEXP field_names_sexp, SEXP segment_encoding_sexp){ |
| 2075 | BEGIN_CPP11 |
| 2076 | arrow::r::Input<const std::vector<std::string>&>::type field_names(field_names_sexp); |
| 2077 | arrow::r::Input<const std::string&>::type segment_encoding(segment_encoding_sexp); |
| 2078 | return cpp11::as_sexp(dataset___DirectoryPartitioning__MakeFactory(field_names, segment_encoding)); |
| 2079 | END_CPP11 |
| 2080 | } |
| 2081 | #else |
| 2082 | extern "C" SEXP _arrow_dataset___DirectoryPartitioning__MakeFactory(SEXP field_names_sexp, SEXP segment_encoding_sexp){ |
| 2083 | Rf_error("Cannot call dataset___DirectoryPartitioning__MakeFactory(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. "); |
nothing calls this directly
no test coverage detected