Error in `suggest_orch_frequency(example_schedule)`: There are invalid time units.
i Use `build_schedule()` to create a valid schedule.

test_that("suggest_orch_frequency gives valid suggestions", {
start_time = as.POSIXct("2024-01-01") + lubridate::hours(0:1)
test_that("suggest_orch_frequency works when check_datetime is a Date", {
test_that("suggest_orch_frequency gives expected errors", {
}, regexp = "Schedule must be a data.frame")
regexp = "Schedule is missing required column"
suggest_orch_frequency(data.frame(frequency = 14, start_time = Sys.time())),
regexp = "Schedule columns `frequency` must have type"
suggest_orch_frequency(data.frame(frequency = "1 potato", start_time = Sys.time())),
regexp = "Schedule is missing required column 'start_time'"
suggest_orch_frequency(data.frame(frequency = c("1 potato", "1 month"), start_time = Sys.time() + 0:1)),
suggest_orch_frequency(data.frame(frequency = c("1 day", "1 month"), start_time = c("a", "b"))),
regexp = "Schedule columns `start_time`"
suggest_orch_frequency(data.frame(frequency = c("daily", "1 month"), start_time = Sys.time() + 0:1, skip = "hello")),
test_that("suggest_orch_frequency does not consider skipped pipelines", {
frequency = c("1 days", "3 days", "6 days"),
frequency_unit = c("day", "day", "day"),
regexp = "No pipelines in schedule after removing skipped"
test_that("suggest_orch_frequency works with a single pipeline", {

"suggest_orch_frequency works when check_datetime is a Date"
"Schedule columns `frequency` must have type"
"Schedule is missing required column 'start_time'"
"suggest_orch_frequency does not consider skipped pipelines"
"No pipelines in schedule after removing skipped"
"suggest_orch_frequency works with a single pipeline"

Expected `suggest_orch_frequency(example_schedule, check_datetime = as.Date("2024-08-06"))` to run without any errors.
i Actually got a <rlang_error> with text:
  There are invalid time units.
  i Use `build_schedule()` to create a valid schedule.

suggest_orch_frequency works when check_datetime is a Date