Closed simonpcouch closed 1 month ago
recipes recently transitioned to vec_detect_complete()
under the hood, which is also under the hood in drop_na()
. Maybe recipes is calling that somewhere later in the test and triggering that error?
Handing off to @EmilHvitfeldt!
turned out this was a issue in {recipes}, since we switched from complete.cases()
to vec_detect_complete()
, it broke since vec_detect_complete()
doesn't like Surv objects.
Currently, on Ubuntu we're seeing:
and on Windows:
I can replicate the C stack usage error locally and namespacing the dataset (which is likely good test hygiene anyway) seems to resolve it. The error comes from
tidyr::drop_na()
after having ran thedrop_na() %>% mutate(...)
code once. I would guess that this first commit resolves the Ubuntu error but I don't have much intuition on the Windows one yet..rlang_purrr_map_mold
is part of theimport-purrr-standalone
. Neither of workflows or censored have GH changes in the past 3 days, and none of testthat, dplyr, tidyr, or survival have recently released CRAN versions.