[[arrow::export]]
| 32 | } |
| 33 | // [[arrow::export]] |
| 34 | std::shared_ptr<compute::Expression> compute___expr__call(std::string func_name, |
| 35 | cpp11::list argument_list, |
| 36 | cpp11::list options) { |
| 37 | std::vector<compute::Expression> arguments; |
| 38 | for (SEXP argument : argument_list) { |
| 39 | auto argument_ptr = cpp11::as_cpp<std::shared_ptr<compute::Expression>>(argument); |
| 40 | arguments.push_back(*argument_ptr); |
| 41 | } |
| 42 | |
| 43 | auto options_ptr = make_compute_options(func_name, options); |
| 44 | |
| 45 | return std::make_shared<compute::Expression>( |
| 46 | compute::call(std::move(func_name), std::move(arguments), std::move(options_ptr))); |
| 47 | } |
| 48 | |
| 49 | // [[arrow::export]] |
| 50 | bool compute___expr__is_field_ref(const std::shared_ptr<compute::Expression>& x) { |
no test coverage detected