knit_print_reactable: Default printing method for 'reactable's

Description Usage Arguments Value

View source: R/knit_print.R

Description

This is added to ensure that, say you convert the data.frame to a reactable in a code chunk (therefore this will not be passed through knit_print.data.frame), you can still use fig.cap. This adds a caption to the reactable html widget.

Usage

1

Arguments

df_react

reactable data table.

options

this will be taken as a list of a parameters inputted into the chunk. Specifically, the fig.cap chunk parameter is used to input to label tables with a caption enabling referencing them in the text.

...

Included based off this tutorial https://cran.r-project.org/web/packages/knitr/vignettes/knit_print.html. Required for knitr::knit_print.

Value

reactable html widget with a caption.


dzhang32/Rmdplate documentation built on Sept. 20, 2021, 1:28 a.m.