> case_when(c(TRUE, FALSE) ~ 1:3, c(FALSE, TRUE) ~ 1:2)
Error: `c(TRUE, FALSE) ~ 1:3` must be length 2 or one, not 3.

> case_when(c(TRUE, FALSE) ~ 1, c(FALSE, TRUE, FALSE) ~ 2, c(FALSE, TRUE, FALSE,
+   NA) ~ 3)
Error: `c(FALSE, TRUE, FALSE) ~ 2`, `c(FALSE, TRUE, FALSE, NA) ~ 3` must be length 2 or one, not 3, 4.

> case_when(50 ~ 1:3)
Error: LHS of case 1 (`50`) must be a logical vector, not a double vector.

> case_when(paste(50))
Error: Case 1 (`paste(50)`) must be a two-sided formula, not a character vector.

> case_when()
Error: No cases provided.

