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

Function wrap

inst/include/Rcpp/internal/wrap.h:929–934  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

927 }
928
929 inline SEXP wrap(const char* const v) {
930 if (v != NULL)
931 return Rf_mkString(v);
932 else
933 return R_NilValue; // #nocov
934 }
935
936 /**
937 * Range based version of wrap

Callers 15

GreedyVectorClass · 0.70
wrap_dispatchFunction · 0.70
rowmajor_wrap__dispatchFunction · 0.70
attr_setFunction · 0.50
xptr_self_tagFunction · 0.50
xptr_has_self_tagFunction · 0.50

Calls 1

range_wrapFunction · 0.85

Tested by 2

test_wrap_string_viewFunction · 0.40
test_cpp_interfaceFunction · 0.40