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

Function runit_lang_fixedcall

inst/tinytest/cpp/language.cpp:119–127  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

117
118// [[Rcpp::export]]
119SEXP runit_lang_fixedcall(){
120 Language call( Function("rnorm"), 10 ) ;
121 std::vector< std::vector<double> > result(10) ;
122 std::generate(
123 result.begin(), result.end(),
124 fixed_call< std::vector<double> >(call)
125 ) ;
126 return wrap( result );
127}
128
129// [[Rcpp::export]]
130SEXP runit_lang_inenv( Environment env){

Callers

nothing calls this directly

Calls 4

FunctionClass · 0.85
wrapFunction · 0.50
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected