MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / set_na

Method set_na

inst/include/Rcpp/String.h:533–539  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

531
532
533 inline void set_na() {
534 data = NA_STRING;
535 Rcpp_PreciousRelease(token);
536 token = Rcpp_PreciousPreserve(data);
537 valid = true;
538 buffer_ready = false;
539 }
540
541
542 inline SEXP get_sexp_impl() const {

Callers

nothing calls this directly

Calls 2

Rcpp_PreciousReleaseFunction · 0.85
Rcpp_PreciousPreserveFunction · 0.85

Tested by

no test coverage detected