R/compatRowNames.R

Defines functions compatRowNames

compatRowNames <- function(row.names) {
  if (is.null(row.names)) {
    row.names <- FALSE
  } else if (is.numeric(row.names)) {
    warning_once("RSQLite: Passing numeric values to row.names is deprecated. Pass a logical or a column name.")
    row.names <- as.logical(row.names)
  }

  row.names
}

Try the RSQLite package in your browser

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

RSQLite documentation built on Nov. 5, 2023, 1:10 a.m.