MCPcopy Create free account
hub / github.com/apache/arrow / from_r_list

Function from_r_list

r/src/arrow_cpp11.h:366–373  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

364
365template <typename T>
366std::vector<T> from_r_list(cpp11::list args) {
367 std::vector<T> vec;
368 R_xlen_t n = args.size();
369 for (R_xlen_t i = 0; i < n; i++) {
370 vec.push_back(cpp11::as_cpp<T>(args[i]));
371 }
372 return vec;
373}
374
375bool GetBoolOption(const std::string& name, bool default_);
376

Callers

nothing calls this directly

Calls 2

push_backMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected