| 1173 | list_size_(list_size) {} |
| 1174 | |
| 1175 | SEXP Allocate(R_xlen_t n) const { |
| 1176 | cpp11::writable::list res(n); |
| 1177 | Rf_classgets(res, arrow::r::data::classes_arrow_fixed_size_list); |
| 1178 | res.attr(arrow::r::symbols::list_size) = Rf_ScalarInteger(list_size_); |
| 1179 | |
| 1180 | // an empty R object of the type of the elements, stored as the list's ptype |
| 1181 | res.attr(arrow::r::symbols::ptype) = values_converter_->AllocateSlice(0); |
| 1182 | |
| 1183 | return res; |
| 1184 | } |
| 1185 | |
| 1186 | Status Ingest_all_nulls(SEXP data, R_xlen_t start, R_xlen_t n) const { |
| 1187 | // nothing to do, list contain NULL by default |
nothing calls this directly
no test coverage detected