| 337 | // ---- convert to an arrow integer |
| 338 | template <typename Type, typename From> |
| 339 | static enable_if_integer<Type, Result<typename Type::c_type>> Convert(Type*, |
| 340 | From from) { |
| 341 | return CIntFromRScalarImpl<typename Type::c_type>(static_cast<int64_t>(from)); |
| 342 | } |
| 343 | |
| 344 | // ---- convert R integer types to double |
| 345 | template <typename Type, typename From> |