Closed spsanderson closed 3 years ago
May need to add the following:
if (rlang::is_installed("tune") && utils::packageVersion("tune") >= "0.1.1.9000") {
req_pkgs_names <- grep("^required_pkgs\\.", names, value = TRUE)
req_pkgs_classes <- gsub("required_pkgs.", "", req_pkgs_names)
for (i in seq_along(req_pkgs_names)) {
class <- req_pkgs_classes[[i]]
s3_register("tune::required_pkgs", class)
}
}
I use a custom step function that I have built for a package of mine that works just fine, it is in a local copy of the package (Not yet submitted to CRAN) link to function here: step_hai_fourier
Here is the session info (we can see healthyR.ai 0.0.2.9000 is loaded):
Here is my script showing that the
prep
and 'juice` work just fine:And console says:
Ok perfect so far, here is the rest of the script:
Not sure why this is happening, also not sure if this belongs here or in recipes, I placed it here because it was failing inside of the tun_grid.