> vec_assert(lgl(), chr()): Error: `lgl()` must be a vector with type . Instead, it has type . > vec_assert(lgl(), factor()): Error: `lgl()` must be a vector with type >. Instead, it has type . > vec_assert(lgl(), factor(levels = "foo")): Error: `lgl()` must be a vector with type >. Instead, it has type . > vec_assert(factor(levels = "bar"), factor(levels = "foo")): Error: `factor(levels = "bar")` must be a vector with type >. Instead, it has type >. > vec_assert(factor(), chr()): Error: `factor()` must be a vector with type . Instead, it has type >. > vec_assert(lgl(), data.frame()): Error: `lgl()` must be a vector with type >. Instead, it has type . > vec_assert(lgl(), data.frame(x = 1)): Error: `lgl()` must be a vector with type >. Instead, it has type . > vec_assert(lgl(), data.frame(x = 1, y = 2)): Error: `lgl()` must be a vector with type: > Instead, it has type . > vec_assert(data.frame(), chr()): Error: `data.frame()` must be a vector with type . Instead, it has type >. > vec_assert(data.frame(x = 1), chr()): Error: `data.frame(x = 1)` must be a vector with type . Instead, it has type >. > vec_assert(data.frame(x = 1), data.frame(x = "foo")): Error: `data.frame(x = 1)` must be a vector with type >. Instead, it has type >. > vec_assert(data.frame(x = 1), data.frame(x = "foo", y = 2)): Error: `data.frame(x = 1)` must be a vector with type: > Instead, it has type >. > vec_assert(data.frame(x = 1, y = 2), chr()): Error: `data.frame(x = 1, y = 2)` must be a vector with type . Instead, it has type: > > vec_assert(data.frame(x = 1, y = 2), data.frame(x = "foo")): Error: `data.frame(x = 1, y = 2)` must be a vector with type >. Instead, it has type: > > vec_assert(data.frame(x = 1, y = 2), data.frame(x = "foo", y = 2)): Error: `data.frame(x = 1, y = 2)` must be a vector with type: > Instead, it has type: >