I forgot the third input and was met with a puzzling error:
lazy_tbl |> mutate(x = if_else(y > 1, 2))
Error: object '' not found
c.f. plain {dbplyr}:
iris |> mutate(x = if_else(Sepal.Width > 1, 2))
# Error in `mutate()`:
# ℹ In argument: `x = if_else(Sepal.Width > 1, 2)`.
# Caused by error in `if_else()`:
# ! argument "false" is missing, with no default
# Run `rlang::last_trace()` to see where the error occurred.