Checks a set of variables can be coerced to a logical and coerces them
Source:R/params_check_types.R
      check_logical.RdChecks a set of variables can be coerced to a logical and coerces them
Usage
check_logical(
  ...,
  .message = "`{param}` is not a logical: ({err}).",
  .env = rlang::caller_env()
)Examples
a = c("T","F")
b = c(1,0,1,0)
f = TRUE
g = NA
check_logical(a,b,f,g)
c = c("dfsfs")
try(check_logical(c,d, mean))
#> Warning: 1) 'd' is not defined in this context
#> 2) 'mean' is not defined in this context
#> Error in .check_framework(..., predicate = predicate, convert = convert,  : 
#>   1) `c` is not a logical: (not T/F input).