R/types-utils.R

Defines functions check_data_frame_non_empty

check_data_frame_non_empty <- function(data, error_call = rlang::caller_env()) {
  check_data_frame(data, call = error_call)
  check_number_whole(nrow(data), min = 1, call = error_call)
}

Try the explore package in your browser

Any scripts or data that you put into this service are public.

explore documentation built on Oct. 11, 2023, 9:07 a.m.