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

Function as_string

inst/tinytest/cpp/as.cpp:38–38  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

36
37// [[Rcpp::export]]
38std::string as_string( SEXP x){ return as<std::string>( x ); }
39
40// [[Rcpp::export]]
41std::vector<int> as_vector_int( SEXP x){ return as< std::vector<int> >(x) ; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected