The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

Title: Simplify Reporting Many Tables
Version: 0.0.1
Description: Simplify reporting many tables by creating tibbles of tables. With 'tabtibble', a tibble of tables is created with captions and automatic printing using 'knit_print()'.
License: GPL (≥ 3)
Encoding: UTF-8
RoxygenNote: 7.3.2
Imports: knitr, vctrs
Suggests: dplyr, glue, pander, rmarkdown, spelling, testthat (≥ 3.0.0), tibble, tidyr
Config/testthat/edition: 3
URL: https://github.com/humanpred/tabtibble, https://humanpred.github.io/tabtibble/
BugReports: https://github.com/humanpred/tabtibble/issues
VignetteBuilder: knitr
Language: en-US
NeedsCompilation: no
Packaged: 2025-03-09 14:29:47 UTC; bill
Author: Bill Denney ORCID iD [aut, cre]
Maintainer: Bill Denney <wdenney@humanpredictions.com>
Repository: CRAN
Date/Publication: 2025-03-10 16:50:02 UTC

Print a tab_list

Description

Print a tab_list

Usage

## S3 method for class 'tab_list'
knit_print(
  x,
  ...,
  caption,
  print_fun = NULL,
  tab_prefix = NULL,
  tab_suffix = "\n\n"
)

Arguments

x

The tab_list object to print

...

passed to print_fun

caption

The caption for each table as a character vector

print_fun

Override the default printing using print_tabtibble. If provided it is a function taking arguments of x (one data.frame to print), caption (the caption for that data.frame), and ....

tab_prefix, tab_suffix

Any text to add before/after each figure (NULL to omit)

Details

Individual tables are printed with the print_tabtibble() S3 generic function.

Value

x invisibly

See Also

Other knitters: knit_print.tab_tibble()


Print a tab_tibble

Description

Print a tab_tibble

Usage

## S3 method for class 'tab_tibble'
knit_print(x, ...)

Arguments

x

The tab_tibble object to print

...

Passed to subsequent methods

Value

x invisibly

See Also

Other knitters: knit_print.tab_list()


Create a new tab_tibble object

Description

Create a new tab_tibble object

Usage

new_tab_tibble(x)

new_tab_list(x)

Arguments

x

The object to convert

Value

An object with the desired class

Functions


Description

Print a single table from a tablist

Usage

print_tabtibble(x, caption, ...)

## Default S3 method:
print_tabtibble(x, caption, ...)

Arguments

x

A table to print

caption

The caption for the table

...

Passed to pander::pander

Value

The result of pander::pander

Methods (by class)


Objects exported from other packages

Description

These objects are imported from other packages. Follow the links below to see their documentation.

knitr

knit_print

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.