tests/testthat/helper-tibble.R

list_df <- function(...) {
  df <- list(...)
  if (length(df) > 0) {
    attr(df, "row.names") <- .set_row_names(length(df[[1]]))
  } else {
    attr(df, "row.names") <- .set_row_names(0L)
  }
  class(df) <- "data.frame"
  df
}

Try the RSQLite package in your browser

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

RSQLite documentation built on June 8, 2025, 9:36 p.m.