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

Function runit_lang_push_back

inst/tinytest/cpp/language.cpp:39–45  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

37
38// [[Rcpp::export]]
39Language runit_lang_push_back(){
40 Language call("rnorm") ;
41 call.push_back( 10 ) ;
42 call.push_back( Named("mean", 0.0) ) ;
43 call.push_back( 2.0 ) ;
44 return call ;
45}
46
47// [[Rcpp::export]]
48double runit_lang_square_rv(){

Callers

nothing calls this directly

Calls 2

NamedFunction · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected