check_dataframe: Check dataframe is not empty and indices are valid

View source: R/generic.R

check_dataframeR Documentation

Check dataframe is not empty and indices are valid

Description

Check dataframe is not empty and indices exist.

Usage

check_dataframe(
  data = NULL,
  indices = NULL,
  check_na = FALSE,
  check_nan = FALSE
)

Arguments

data

a dataframe.

indices

vector of indices to check.

check_na

whether to check for NA values.

check_nan

whether to check for NaN values.


cancerit/RCRISPR documentation built on April 26, 2023, 10:12 p.m.