| 4661 | #if defined(ARROW_R_WITH_PARQUET) |
| 4662 | std::shared_ptr<parquet::arrow::FileWriter> parquet___arrow___ParquetFileWriter__Open(const std::shared_ptr<arrow::Schema>& schema, const std::shared_ptr<arrow::io::OutputStream>& sink, const std::shared_ptr<parquet::WriterProperties>& properties, const std::shared_ptr<parquet::ArrowWriterProperties>& arrow_properties); |
| 4663 | extern "C" SEXP _arrow_parquet___arrow___ParquetFileWriter__Open(SEXP schema_sexp, SEXP sink_sexp, SEXP properties_sexp, SEXP arrow_properties_sexp){ |
| 4664 | BEGIN_CPP11 |
| 4665 | arrow::r::Input<const std::shared_ptr<arrow::Schema>&>::type schema(schema_sexp); |
| 4666 | arrow::r::Input<const std::shared_ptr<arrow::io::OutputStream>&>::type sink(sink_sexp); |
| 4667 | arrow::r::Input<const std::shared_ptr<parquet::WriterProperties>&>::type properties(properties_sexp); |
| 4668 | arrow::r::Input<const std::shared_ptr<parquet::ArrowWriterProperties>&>::type arrow_properties(arrow_properties_sexp); |
| 4669 | return cpp11::as_sexp(parquet___arrow___ParquetFileWriter__Open(schema, sink, properties, arrow_properties)); |
| 4670 | END_CPP11 |
| 4671 | } |
| 4672 | #else |
| 4673 | extern "C" SEXP _arrow_parquet___arrow___ParquetFileWriter__Open(SEXP schema_sexp, SEXP sink_sexp, SEXP properties_sexp, SEXP arrow_properties_sexp){ |
| 4674 | Rf_error("Cannot call parquet___arrow___ParquetFileWriter__Open(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. "); |
nothing calls this directly
no test coverage detected