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

Function FlattenDots

r/src/arrow_types.h:233–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231}
232
233inline cpp11::writable::list FlattenDots(cpp11::list dots, int num_fields) {
234 std::vector<SEXP> out(num_fields);
235 auto set = [&](int j, SEXP x, cpp11::r_string) { out[j] = x; };
236 TraverseDots(dots, num_fields, set);
237
238 return cpp11::writable::list(out.begin(), out.end());
239}
240
241arrow::Status InferSchemaFromDots(SEXP lst, SEXP schema_sxp, int num_fields,
242 std::shared_ptr<arrow::Schema>& schema);

Callers 1

Table__from_dotsFunction · 0.85

Calls 4

TraverseDotsFunction · 0.85
listFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected