Closed
Description
Recent sparklyr
GHA R checks are failing on parsnip
tests. These tests are new, and dev-version package testing is not yet working in GHA for sparklyr
, so we didn't catch it until now.
reprex:
library(sparklyr)
library(parsnip)
sc <- spark_connect("local")
iris_tbl <- sdf_copy_to(sc, iris)
decision_tree(engine = "spark") %>%
set_mode("classification") %>%
fit(Species ~ Sepal_Length + Petal_Length, iris_tbl)
#> Error in eval_tidy(env$formula[[2]], env$data): object 'Species' not found
spark_disconnect(sc)
It looks like this is the check in which it happens:
Line 9 in b6db676
Also confirmed here: https://github.com/sparklyr/sparklyr/runs/5483357141?check_suite_focus=true#step:19:1469