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

Function _arrow_Schema__field

r/src/arrowExports.cpp:5316–5322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5314// schema.cpp
5315std::shared_ptr<arrow::Field> Schema__field(const std::shared_ptr<arrow::Schema>& s, int i);
5316extern "C" SEXP _arrow_Schema__field(SEXP s_sexp, SEXP i_sexp){
5317BEGIN_CPP11
5318 arrow::r::Input<const std::shared_ptr<arrow::Schema>&>::type s(s_sexp);
5319 arrow::r::Input<int>::type i(i_sexp);
5320 return cpp11::as_sexp(Schema__field(s, i));
5321END_CPP11
5322}
5323// schema.cpp
5324std::shared_ptr<arrow::Schema> Schema__AddField(const std::shared_ptr<arrow::Schema>& s, int i, const std::shared_ptr<arrow::Field>& field);
5325extern "C" SEXP _arrow_Schema__AddField(SEXP s_sexp, SEXP i_sexp, SEXP field_sexp){

Callers

nothing calls this directly

Calls 2

as_sexpFunction · 0.85
Schema__fieldFunction · 0.85

Tested by

no test coverage detected