| 1205 | }; |
| 1206 | |
| 1207 | bool ArraysCanFitInteger(ArrayVector arrays) { |
| 1208 | bool all_can_fit = true; |
| 1209 | auto i32 = arrow::int32(); |
| 1210 | for (const auto& array : arrays) { |
| 1211 | if (all_can_fit) { |
| 1212 | all_can_fit = arrow::IntegersCanFit(*array->data(), *i32).ok(); |
| 1213 | } |
| 1214 | } |
| 1215 | return all_can_fit; |
| 1216 | } |
| 1217 | |
| 1218 | bool GetBoolOption(const std::string& name, bool default_) { |
| 1219 | SEXP getOption = Rf_install("getOption"); |
no test coverage detected