Skip to contents

Tables in Gherkin are essentially markdown tables, so this is a wrapper for knitr::kable(format = "pipe")

Usage

with_table(tbl)

Arguments

tbl

data.frame or tibble

Value

a table in knitr::kable(format = "pipe", align = "l")

Examples

# with_table(data.frame(value = c(29L, 91L, 39L, 28L, 12L),
#                       name = c("John", "John, Jacob",
#                                "John, Jacob, Jingleheimer",
#                                "Jingleheimer, Schmidt",
#                                "JJJ, Schmidt")))