MCPcopy Create free account
hub / github.com/apache/arrow / test_arrow_altrep_set_string_elt

Function test_arrow_altrep_set_string_elt

r/src/altrep.cpp:1102–1108  ·  view source on GitHub ↗

[[arrow::export]]

Source from the content-addressed store, hash-verified

1100
1101// [[arrow::export]]
1102void test_arrow_altrep_set_string_elt(sexp x, int i, std::string value) {
1103 if (!is_arrow_altrep(x)) {
1104 stop("x is not arrow ALTREP");
1105 }
1106
1107 SET_STRING_ELT(x, i, Rf_mkChar(value.c_str()));
1108}
1109
1110// [[arrow::export]]
1111sexp test_arrow_altrep_is_materialized(sexp x) {

Calls 2

is_arrow_altrepFunction · 0.85
stopFunction · 0.85

Tested by

no test coverage detected