| 927 | } |
| 928 | |
| 929 | static const void* Dataptr_or_null(SEXP alt) { |
| 930 | if (Base::IsMaterialized(alt)) { |
| 931 | return DATAPTR_RO(alt); |
| 932 | } |
| 933 | |
| 934 | // otherwise give up |
| 935 | return nullptr; |
| 936 | } |
| 937 | |
| 938 | static void Set_elt(SEXP alt, R_xlen_t i, SEXP v) { |
| 939 | Rf_error("ALTSTRING objects of type <arrow::array_string_vector> are immutable"); |
nothing calls this directly
no outgoing calls
no test coverage detected