| 5224 | // scalar.cpp |
| 5225 | std::shared_ptr<arrow::Array> MakeArrayFromScalar(const std::shared_ptr<arrow::Scalar>& scalar, int n); |
| 5226 | extern "C" SEXP _arrow_MakeArrayFromScalar(SEXP scalar_sexp, SEXP n_sexp){ |
| 5227 | BEGIN_CPP11 |
| 5228 | arrow::r::Input<const std::shared_ptr<arrow::Scalar>&>::type scalar(scalar_sexp); |
| 5229 | arrow::r::Input<int>::type n(n_sexp); |
| 5230 | return cpp11::as_sexp(MakeArrayFromScalar(scalar, n)); |
| 5231 | END_CPP11 |
| 5232 | } |
| 5233 | // scalar.cpp |
| 5234 | bool Scalar__is_valid(const std::shared_ptr<arrow::Scalar>& s); |
| 5235 | extern "C" SEXP _arrow_Scalar__is_valid(SEXP s_sexp){ |
nothing calls this directly
no test coverage detected