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

Function _arrow_Schema__WithMetadata

r/src/arrowExports.cpp:5337–5343  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5335// schema.cpp
5336std::shared_ptr<arrow::Schema> Schema__WithMetadata(const std::shared_ptr<arrow::Schema>& schema, cpp11::strings metadata);
5337extern "C" SEXP _arrow_Schema__WithMetadata(SEXP schema_sexp, SEXP metadata_sexp){
5338BEGIN_CPP11
5339 arrow::r::Input<const std::shared_ptr<arrow::Schema>&>::type schema(schema_sexp);
5340 arrow::r::Input<cpp11::strings>::type metadata(metadata_sexp);
5341 return cpp11::as_sexp(Schema__WithMetadata(schema, metadata));
5342END_CPP11
5343}
5344// schema.cpp
5345std::shared_ptr<arrow::Schema> Schema__WithNames(const std::shared_ptr<arrow::Schema>& schema, const std::vector<std::string>& names);
5346extern "C" SEXP _arrow_Schema__WithNames(SEXP schema_sexp, SEXP names_sexp){

Callers

nothing calls this directly

Calls 2

as_sexpFunction · 0.85
Schema__WithMetadataFunction · 0.85

Tested by

no test coverage detected