| 1311 | }; |
| 1312 | |
| 1313 | bool ArraysCanFitInteger(ArrayVector arrays) { |
| 1314 | bool all_can_fit = true; |
| 1315 | auto i32 = arrow::int32(); |
| 1316 | for (const auto& array : arrays) { |
| 1317 | if (all_can_fit) { |
| 1318 | all_can_fit = arrow::IntegersCanFit(*array->data(), *i32).ok(); |
| 1319 | } |
| 1320 | } |
| 1321 | return all_can_fit; |
| 1322 | } |
| 1323 | |
| 1324 | bool GetBoolOption(const std::string& name, bool default_) { |
| 1325 | SEXP getOption = Rf_install("getOption"); |
no test coverage detected