inst/tinytest/test-tt.R

source("helpers.R")

# Issue #414
df = data.frame(a = c(1, 2, 3), b = c(4, 5, 6))
colnames(df) = NULL
expect_equal(length(colnames(tt(df, rownames = TRUE))), 0)
expect_equal(length(colnames(tt(df))), 0)

Try the tinytable package in your browser

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

tinytable documentation built on April 3, 2025, 7:43 p.m.