Closed egnha closed 7 years ago
To match naive expectations, vld_function should correspond to the predicate base::is.function rather than purrr::is_function. A new checker vld_closure should take the place of vld_function. Thus:
vld_function
base::is.function
purrr::is_function
vld_closure
vld_function <- localize("Not function" ~ is.function) vld_closure <- localize("Not closure" ~ purrr::is_function)
To match naive expectations,
vld_function
should correspond to the predicatebase::is.function
rather thanpurrr::is_function
. A new checkervld_closure
should take the place ofvld_function
. Thus: