| 107 | } |
| 108 | |
| 109 | cpp11::sexp RExtensionType::Convert( |
| 110 | const std::shared_ptr<arrow::ChunkedArray>& array) const { |
| 111 | cpp11::environment instance = r6_instance(); |
| 112 | cpp11::function instance_Convert(instance["as_vector"]); |
| 113 | cpp11::sexp array_sexp = cpp11::to_r6<arrow::ChunkedArray>(array, "ChunkedArray"); |
| 114 | return instance_Convert(array_sexp); |
| 115 | } |
| 116 | |
| 117 | std::unique_ptr<RExtensionType> RExtensionType::Clone() const { |
| 118 | RExtensionType* ptr = |
nothing calls this directly
no outgoing calls
no test coverage detected