R/df2tibble.R

Defines functions df2tibble

df2tibble <- function(rclass = "data.frame") {
  if (rclass == "data.frame") {
    ba_message("A data.frame does not work with vectors. Switching to tibble!")
    rclass <- "tibble"
  }
  return(rclass)
}
CIP-RIU/brapi documentation built on Oct. 17, 2019, 2 p.m.