As https://github.com/extendr/extendr/pull/222 adds an option to #[extendr()] macro, I wonder how the options should be supported on rextendr's side and then wanted to try the code below, but it fails with a cryptic error. I'll take a look later, but please let me know if I'm missing something very obvious...
code <- r"(
#[extendr(use_try_from = true)]
fn test_i32(val: i32) -> i32 {
val
}
)"
rextendr::rust_source(code = code, patch.crates_io = list(`extendr-api` = list(git = "https://github.com/extendr/extendr")))
#> ℹ build directory: '/tmp/RtmphmzVDp/file14a9598749e1'
#> Error: Problem with `mutate()` input `..1`.
#> ℹ `..1 = .data$name`.
#> x Column `name` not found in `.data`
As https://github.com/extendr/extendr/pull/222 adds an option to
#[extendr()]
macro, I wonder how the options should be supported on rextendr's side and then wanted to try the code below, but it fails with a cryptic error. I'll take a look later, but please let me know if I'm missing something very obvious...Created on 2021-07-17 by the reprex package (v2.0.0)