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

Function CharacterVectorNoProtect_crosspolicy

inst/tinytest/cpp/Vector.cpp:859–863  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

857
858// [[Rcpp::export]]
859CharacterVector CharacterVectorNoProtect_crosspolicy(Vector<STRSXP, NoProtectStorage> s){
860 CharacterVector s2(1) ;
861 s2[0] = s[0];
862 return s;
863}
864
865// [[Rcpp::export]]
866List ListNoProtect_crosspolicy(Vector<VECSXP, NoProtectStorage> data){

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected