tests/testthat/_snaps/tbl_df.md

output test

Code
  df <- tibble(a = 1, b = 2)
  names(df) <- NULL
Condition
  Warning:
  The `value` argument of `names<-` can't be NULL as of tibble 3.0.0.
  Warning:
  The `value` argument of `names<-` must have the same length as `x` as of tibble 3.0.0.
  Warning:
  The `value` argument of `names<-` can't be empty as of tibble 3.0.0.
Code
  names(df) <- "c"
Condition
  Warning:
  The `value` argument of `names<-` must have the same length as `x` as of tibble 3.0.0.
  Warning:
  The `value` argument of `names<-` can't be empty as of tibble 3.0.0.
Code
  names(df) <- c("..1", "..2")


Try the tibble package in your browser

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

tibble documentation built on March 31, 2023, 11 p.m.