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

Function _arrow_Schema__AddField

r/src/arrowExports.cpp:5267–5274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5265// schema.cpp
5266std::shared_ptr<arrow::Schema> Schema__AddField(const std::shared_ptr<arrow::Schema>& s, int i, const std::shared_ptr<arrow::Field>& field);
5267extern "C" SEXP _arrow_Schema__AddField(SEXP s_sexp, SEXP i_sexp, SEXP field_sexp){
5268BEGIN_CPP11
5269 arrow::r::Input<const std::shared_ptr<arrow::Schema>&>::type s(s_sexp);
5270 arrow::r::Input<int>::type i(i_sexp);
5271 arrow::r::Input<const std::shared_ptr<arrow::Field>&>::type field(field_sexp);
5272 return cpp11::as_sexp(Schema__AddField(s, i, field));
5273END_CPP11
5274}
5275// schema.cpp
5276std::shared_ptr<arrow::Schema> Schema__SetField(const std::shared_ptr<arrow::Schema>& s, int i, const std::shared_ptr<arrow::Field>& field);
5277extern "C" SEXP _arrow_Schema__SetField(SEXP s_sexp, SEXP i_sexp, SEXP field_sexp){

Callers

nothing calls this directly

Calls 2

as_sexpFunction · 0.85
Schema__AddFieldFunction · 0.85

Tested by

no test coverage detected