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

Function _arrow_dataset___Dataset__schema

r/src/arrowExports.cpp:1576–1581  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1574#if defined(ARROW_R_WITH_DATASET)
1575std::shared_ptr<arrow::Schema> dataset___Dataset__schema(const std::shared_ptr<ds::Dataset>& dataset);
1576extern "C" SEXP _arrow_dataset___Dataset__schema(SEXP dataset_sexp){
1577BEGIN_CPP11
1578 arrow::r::Input<const std::shared_ptr<ds::Dataset>&>::type dataset(dataset_sexp);
1579 return cpp11::as_sexp(dataset___Dataset__schema(dataset));
1580END_CPP11
1581}
1582#else
1583extern "C" SEXP _arrow_dataset___Dataset__schema(SEXP dataset_sexp){
1584 Rf_error("Cannot call dataset___Dataset__schema(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. ");

Callers

nothing calls this directly

Calls 2

as_sexpFunction · 0.85

Tested by

no test coverage detected