vetr:::eval_check(quote((matrix(numeric(), ncol = 3) || matrix(integer(), 
    nrow = 10) || character(10L)) && .(length(.) < 100)), quote(mat2), 
    mat2)

`length(mat2) < 100` is not TRUE (FALSE)

[[1]]
[1] "`length(mat2) < 100` is not TRUE (FALSE)"

vetr:::eval_check(quote((matrix(numeric(), ncol = 3) || matrix(integer(), 
    nrow = 10) || character(10L)) && .(length(.) < 100)), quote(mat3), 
    mat3)

vetr:::eval_check(quote(matrix(numeric(), ncol = 3) || matrix(integer(), 
    nrow = 10) || character(10L) || .(length(.) > 20)), quote(mat3), 
    mat3)

vetr:::eval_check(quote(. > 0), quote(x), x)

`x > 0` is not all TRUE (contains non-TRUE values)

[[1]]
[1] "`x > 0` is not all TRUE (contains non-TRUE values)"

vetr:::eval_check(quote(. > 0), quote(y), y)

vetr:::eval_check(quote(. > 0), quote(z), z)

vetr:::eval_check(quote(. > 0), quote(t), t)

vetr:::eval_check(quote(. > 0), quote(w), w)

vetr:::eval_check(quote(. > 0), quote(u), u)

vetr:::eval_check(1:3, 1:3, TRUE, env = list(1:3))

`vet/vetr` usage error: argument `env` must be an environment.

Error in vetr:::eval_check(1:3, 1:3, TRUE, env = list(1:3)) : 
  `vet/vetr` usage error: argument `env` must be an environment.

vetr:::eval_check(quote(y), quote(x), TRUE, env = list(1:3))

Error in vetr:::eval_check(quote(y), quote(x), TRUE, env = list(1:3)) : 
  `vet/vetr` usage error: argument `env` must be an environment.