spsanderson / tidyAML

Auto ML for the tidyverse
http://www.spsanderson.com/tidyAML/
Other
64 stars 7 forks source link

Failure in internal make tune #161

Closed spsanderson closed 9 months ago

spsanderson commented 9 months ago

internal_set_args_to_tune() fails when using the native pipe at:

        new_mod_args <- new_mod_args %>%
          unlist() %>%
          subset(!names(.) %in% c('mode','engine')) %>%
          as.list()

Changed to:

        new_mod_args <- new_mod_args |>
          unlist() |>
          subset(!names(new_mod_args) %in% c('mode','engine')) |>
          as.list()