| 666 | } |
| 667 | |
| 668 | SEXP Allocate(R_xlen_t n) const { |
| 669 | cpp11::writable::integers data(n); |
| 670 | data.attr("levels") = GetLevels(); |
| 671 | if (GetOrdered()) { |
| 672 | Rf_classgets(data, arrow::r::data::classes_ordered); |
| 673 | } else { |
| 674 | Rf_classgets(data, arrow::r::data::classes_factor); |
| 675 | } |
| 676 | return data; |
| 677 | } |
| 678 | |
| 679 | virtual bool Parallel() const { return false; } |
| 680 |
nothing calls this directly
no outgoing calls
no test coverage detected