knitr_tabset: Output List Elements as Tabset

View source: R/deprec.R

knitr_tabsetR Documentation

Output List Elements as Tabset

Description

Map elements through .f and wrap each output into a tab within a tabset.

Usage

knitr_tabset(.x, .f, type = c("quarto", "rmd"), ...)

Arguments

.x

list to be looped over, names inform tab headings.

.f

function or formula. See purrr::as_mapper().

type

choice, Quarto or R Markdown. Which rendering program is used?

...

extra arguments passed to .f

Value

.x is silently returned to allow for piping.


nclJoshCowley/jcutils documentation built on Nov. 22, 2022, 10:16 a.m.