| 934 | : Converter(chunked_array) {} |
| 935 | |
| 936 | SEXP Allocate(R_xlen_t n) const { |
| 937 | cpp11::writable::doubles data(n); |
| 938 | data.attr("class") = cpp11::writable::strings({"hms", "difftime"}); |
| 939 | |
| 940 | // hms difftime is always stored as "seconds" |
| 941 | data.attr("units") = cpp11::writable::strings({"secs"}); |
| 942 | return data; |
| 943 | } |
| 944 | |
| 945 | Status Ingest_all_nulls(SEXP data, R_xlen_t start, R_xlen_t n) const { |
| 946 | std::fill_n(REAL(data) + start, n, NA_REAL); |
nothing calls this directly
no outgoing calls
no test coverage detected