| 4509 | #if defined(ARROW_R_WITH_PARQUET) |
| 4510 | std::shared_ptr<parquet::ArrowWriterProperties> parquet___ArrowWriterProperties___create(bool allow_truncated_timestamps, bool use_deprecated_int96_timestamps, int timestamp_unit); |
| 4511 | extern "C" SEXP _arrow_parquet___ArrowWriterProperties___create(SEXP allow_truncated_timestamps_sexp, SEXP use_deprecated_int96_timestamps_sexp, SEXP timestamp_unit_sexp){ |
| 4512 | BEGIN_CPP11 |
| 4513 | arrow::r::Input<bool>::type allow_truncated_timestamps(allow_truncated_timestamps_sexp); |
| 4514 | arrow::r::Input<bool>::type use_deprecated_int96_timestamps(use_deprecated_int96_timestamps_sexp); |
| 4515 | arrow::r::Input<int>::type timestamp_unit(timestamp_unit_sexp); |
| 4516 | return cpp11::as_sexp(parquet___ArrowWriterProperties___create(allow_truncated_timestamps, use_deprecated_int96_timestamps, timestamp_unit)); |
| 4517 | END_CPP11 |
| 4518 | } |
| 4519 | #else |
| 4520 | extern "C" SEXP _arrow_parquet___ArrowWriterProperties___create(SEXP allow_truncated_timestamps_sexp, SEXP use_deprecated_int96_timestamps_sexp, SEXP timestamp_unit_sexp){ |
| 4521 | Rf_error("Cannot call parquet___ArrowWriterProperties___create(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. "); |
nothing calls this directly
no test coverage detected