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

Function character_range_ctor2

inst/tinytest/cpp/Vector.cpp:542–550  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

540
541// [[Rcpp::export]]
542CharacterVector character_range_ctor2(){
543 std::vector<std::string> vec(4) ;
544 vec[0] = "foo";
545 vec[1] = "bar";
546 vec[2] = "bling";
547 vec[3] = "boom" ;
548 CharacterVector y( vec.begin(), vec.end() ) ;
549 return y;
550}
551
552// [[Rcpp::export]]
553CharacterVector character_dimension_ctor1(){

Callers

nothing calls this directly

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected