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

Function character_assign1

inst/tinytest/cpp/Vector.cpp:515–520  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

513
514// [[Rcpp::export]]
515CharacterVector character_assign1(){
516 const char* x[] = { "foo", "bar", "bling", "boom" } ;
517 CharacterVector y ;
518 y.assign( x, x+4 ) ;
519 return y;
520}
521
522// [[Rcpp::export]]
523CharacterVector character_assign2(){

Callers

nothing calls this directly

Calls 1

assignMethod · 0.45

Tested by

no test coverage detected