| 1604 | #if defined(ARROW_R_WITH_DATASET) |
| 1605 | std::shared_ptr<ds::Dataset> dataset___Dataset__ReplaceSchema(const std::shared_ptr<ds::Dataset>& dataset, const std::shared_ptr<arrow::Schema>& schm); |
| 1606 | extern "C" SEXP _arrow_dataset___Dataset__ReplaceSchema(SEXP dataset_sexp, SEXP schm_sexp){ |
| 1607 | BEGIN_CPP11 |
| 1608 | arrow::r::Input<const std::shared_ptr<ds::Dataset>&>::type dataset(dataset_sexp); |
| 1609 | arrow::r::Input<const std::shared_ptr<arrow::Schema>&>::type schm(schm_sexp); |
| 1610 | return cpp11::as_sexp(dataset___Dataset__ReplaceSchema(dataset, schm)); |
| 1611 | END_CPP11 |
| 1612 | } |
| 1613 | #else |
| 1614 | extern "C" SEXP _arrow_dataset___Dataset__ReplaceSchema(SEXP dataset_sexp, SEXP schm_sexp){ |
| 1615 | Rf_error("Cannot call dataset___Dataset__ReplaceSchema(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. "); |
nothing calls this directly
no test coverage detected