sprinkle_longtable {pixiedust} | R Documentation |
Change the Longtable Property in a Dust Table
Description
The LaTeX longtable
package allows for long tables
to be broken into multiple parts to be displayed on separate pages.
pixiedust
will mimic this behavior for other output types.
Usage
sprinkle_longtable(x, longtable = getOption("pixie_longtable", FALSE), ...)
## Default S3 method:
sprinkle_longtable(x, longtable = getOption("pixie_longtable", FALSE), ...)
## S3 method for class 'dust_list'
sprinkle_longtable(x, longtable = getOption("pixie_longtable", FALSE), ...)
Arguments
x |
An object of class |
longtable |
Either a |
... |
Additional arguments to pass to other methods. Currently ignored. |
Details
When longtable = TRUE
, LaTeX tables will be divided
according to the LaTeX document settings. In other table outputs, the
default is to use 25 rows per table.
When longtable
is an integer (or integer-like) value, the table
is divided into that many rows per section. This applies to all output.
Functional Requirements
Change the
longtable
attribute of thedust
object.Cast an error if
x
is not adust
object.Cast an error if
longtable
is logical and has length not equal to 1.when
longtable
is not logical, cast an error if it is not-integerish and has length not equal to 1.
Author(s)
Benjamin Nutter