[[arrow::export]]
| 169 | |
| 170 | // [[arrow::export]] |
| 171 | bool Array__RangeEquals(const std::shared_ptr<arrow::Array>& self, |
| 172 | const std::shared_ptr<arrow::Array>& other, R_xlen_t start_idx, |
| 173 | R_xlen_t end_idx, R_xlen_t other_start_idx) { |
| 174 | if (start_idx == NA_INTEGER) { |
| 175 | cpp11::stop("'start_idx' cannot be NA"); |
| 176 | } |
| 177 | if (end_idx == NA_INTEGER) { |
| 178 | cpp11::stop("'end_idx' cannot be NA"); |
| 179 | } |
| 180 | if (other_start_idx == NA_INTEGER) { |
| 181 | cpp11::stop("'other_start_idx' cannot be NA"); |
| 182 | } |
| 183 | return self->RangeEquals(*other, start_idx, end_idx, other_start_idx); |
| 184 | } |
| 185 | |
| 186 | // [[arrow::export]] |
| 187 | std::shared_ptr<arrow::Array> Array__View(const std::shared_ptr<arrow::Array>& array, |
no test coverage detected