Skip to content

Commit f3aa3b0

Browse files
committed
readd task_cluto
1 parent 8c4991b commit f3aa3b0

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

tests/testthat/setup-cluto.R

+9-9
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
# }
1414
# }
1515

16-
# data = cookfarm_mlr3 %>%
17-
# na.omit()
18-
# b = mlr3::as_data_backend(data)
19-
# task_cluto = TaskRegrST$new(
20-
# id = "cookfarm", b, target = "PHIHOX",
21-
# coordinate_names = c("x", "y"), coords_as_features = FALSE,
22-
# crs = 26911)
23-
# task_cluto$set_col_roles("Date", roles = "time")
24-
# task_cluto$set_col_roles("SOURCEID", roles = "space")
16+
data = cookfarm_mlr3 %>%
17+
na.omit()
18+
b = mlr3::as_data_backend(data)
19+
task_cluto = TaskRegrST$new(
20+
id = "cookfarm", b, target = "PHIHOX",
21+
coordinate_names = c("x", "y"), coords_as_features = FALSE,
22+
crs = 26911)
23+
task_cluto$set_col_roles("Date", roles = "time")
24+
task_cluto$set_col_roles("SOURCEID", roles = "space")

0 commit comments

Comments
 (0)