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

Function character_STRSXP_

inst/tinytest/cpp/Vector.cpp:452–459  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

450
451// [[Rcpp::export]]
452std::string character_STRSXP_( SEXP vec ){
453 CharacterVector x(vec) ;
454 std::string st = "" ;
455 for( int i=0; i<x.size(); i++) {
456 st += x[i] ;
457 }
458 return st ;
459}
460
461// [[Rcpp::export]]
462CharacterVector character_plusequals(){

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected