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

Function test_rng_true

inst/tinytest/testRcppAttributePackage/src/rcpp_test.cpp:47–54  ·  view source on GitHub ↗

[[Rcpp::export( rng = true )]]

Source from the content-addressed store, hash-verified

45
46// [[Rcpp::export( rng = true )]]
47List test_rng_true(List x, bool verbose) {
48 if(x.size() > 0) {
49 CharacterVector first_element = x[0];
50 return List::create(first_element, verbose);
51 } else {
52 return List::create(verbose);
53 }
54}
55
56// [[Rcpp::export( signature = {x = list("{A}", "B"), verbose = getOption("verbose")}, rng = true )]]
57List test_rng_true_signature(List x, bool verbose) {

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected