| 1595 | #if defined(ARROW_R_WITH_DATASET) |
| 1596 | std::shared_ptr<ds::Dataset> dataset___Dataset__ReplaceSchema(const std::shared_ptr<ds::Dataset>& dataset, const std::shared_ptr<arrow::Schema>& schm); |
| 1597 | extern "C" SEXP _arrow_dataset___Dataset__ReplaceSchema(SEXP dataset_sexp, SEXP schm_sexp){ |
| 1598 | BEGIN_CPP11 |
| 1599 | arrow::r::Input<const std::shared_ptr<ds::Dataset>&>::type dataset(dataset_sexp); |
| 1600 | arrow::r::Input<const std::shared_ptr<arrow::Schema>&>::type schm(schm_sexp); |
| 1601 | return cpp11::as_sexp(dataset___Dataset__ReplaceSchema(dataset, schm)); |
| 1602 | END_CPP11 |
| 1603 | } |
| 1604 | #else |
| 1605 | extern "C" SEXP _arrow_dataset___Dataset__ReplaceSchema(SEXP dataset_sexp, SEXP schm_sexp){ |
| 1606 | 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