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 Nov. 5, 2023, 1:10 a.m.