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

Function asStdVectorString

inst/tinytest/cpp/RObject.cpp:88–94  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

86
87// [[Rcpp::export]]
88std::vector<std::string> asStdVectorString( SEXP x){
89 std::vector<std::string> iv = as< std::vector<std::string> >( x );
90 for (size_t i=0; i<iv.size(); i++) {
91 iv[i] = iv[i] + iv[i];
92 }
93 return iv ;
94}
95
96// [[Rcpp::export]]
97std::set<int> stdsetint(){

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected