powered by
Some expressions evaluate to integer(0) or the like.
integer(0)
is_of_length_zero(x, class = NULL)
TRUE on success, FALSE otherwise.
TRUE
FALSE
The object.
An optional character vector of length 1 giving the class. See examples.
Other logical helpers: get_run_r_tests(), is_batch(), is_cran(), is_false(), is_force(), is_installed(), is_not_false(), is_null_or_true(), is_r_cmd_check(), is_r_package_installed(), is_running_on_fvafrcu_machines(), is_running_on_gitlab_com(), is_scalar(), is_scalar_convertible2numeric(), is_success(), is_true(), is_version_sufficient(), is_windows()
get_run_r_tests()
is_batch()
is_cran()
is_false()
is_force()
is_installed()
is_not_false()
is_null_or_true()
is_r_cmd_check()
is_r_package_installed()
is_running_on_fvafrcu_machines()
is_running_on_gitlab_com()
is_scalar()
is_scalar_convertible2numeric()
is_success()
is_true()
is_version_sufficient()
is_windows()
x <- ""; length(x); is_of_length_zero(x) x <- grep(" ", "") print(x) is_of_length_zero(x) is_of_length_zero(x, "character") is_of_length_zero(x, "numeric") is_of_length_zero(x, "integer")
Run the code above in your browser using DataLab