| 581 | // bridge.cpp |
| 582 | std::shared_ptr<arrow::Array> ImportArray(arrow::r::Pointer<struct ArrowArray> array, arrow::r::Pointer<struct ArrowSchema> schema); |
| 583 | extern "C" SEXP _arrow_ImportArray(SEXP array_sexp, SEXP schema_sexp){ |
| 584 | BEGIN_CPP11 |
| 585 | arrow::r::Input<arrow::r::Pointer<struct ArrowArray>>::type array(array_sexp); |
| 586 | arrow::r::Input<arrow::r::Pointer<struct ArrowSchema>>::type schema(schema_sexp); |
| 587 | return cpp11::as_sexp(ImportArray(array, schema)); |
| 588 | END_CPP11 |
| 589 | } |
| 590 | // bridge.cpp |
| 591 | std::shared_ptr<arrow::RecordBatch> ImportRecordBatch(arrow::r::Pointer<struct ArrowArray> array, arrow::r::Pointer<struct ArrowSchema> schema); |
| 592 | extern "C" SEXP _arrow_ImportRecordBatch(SEXP array_sexp, SEXP schema_sexp){ |
nothing calls this directly
no test coverage detected