sprinkle_bookdown {pixiedust} | R Documentation |
Change the Bookdown Property in a Dust Table
Description
Tables built for the bookdown
package can be referenced
in a manner that is consistent between HTML and LaTeX documents.
Usage
sprinkle_bookdown(x, bookdown = getOption("pixie_bookdown", FALSE), ...)
## Default S3 method:
sprinkle_bookdown(x, bookdown = getOption("pixie_bookdown", FALSE), ...)
## S3 method for class 'dust_list'
sprinkle_bookdown(x, bookdown = getOption("pixie_bookdown", FALSE), ...)
Arguments
x |
An object of class |
bookdown |
|
... |
Additional arguments to pass to other methods. Currently ignored. |
Details
bookdown
is a package that facilitates the writing of books.
One of the advantages of bookdown
is the ability to reference
tables in a manner similar to LaTeX. The key difference in how
pixiedust
handles output is the reference specification. See
https://bookdown.org/yihui/bookdown/tables.html for details on how
bookdown
uses labels and references.
Functional Requirements
Change the
bookdown
attribute of thedust
object.Cast an error if
x
is not adust
object.Cast an error if
bookdown
is not a logical object.Cast an error if
bookdown
has length greater than 1.
Author(s)
Benjamin Nutter
Source
https://bookdown.org/yihui/bookdown/tables.html