| 1183 | }; |
| 1184 | |
| 1185 | bool ArraysCanFitInteger(ArrayVector arrays) { |
| 1186 | bool all_can_fit = true; |
| 1187 | auto i32 = arrow::int32(); |
| 1188 | for (const auto& array : arrays) { |
| 1189 | if (all_can_fit) { |
| 1190 | all_can_fit = arrow::IntegersCanFit(*array->data(), *i32).ok(); |
| 1191 | } |
| 1192 | } |
| 1193 | return all_can_fit; |
| 1194 | } |
| 1195 | |
| 1196 | bool GetBoolOption(const std::string& name, bool default_) { |
| 1197 | SEXP getOption = Rf_install("getOption"); |
no test coverage detected