Returns a minimal pagination info data.frame (with no info on siblings, footnotes, etc.).
basic_pagdf(
rnames,
labs = rnames,
rnums = seq_along(rnames),
extents = 1L,
rclass = "DataRow",
parent_path = NULL,
paths = lapply(rnames, function(x) c(parent_path, x)),
fontspec = font_spec()
)A data.frame suitable for use in both the MatrixPrintForm constructor and the pagination machinery.
(character)
vector of row names.
(character)
vector of row labels. Defaults to rnames.
(integer)
vector of row numbers. Defaults to seq_along(rnames).
(integer)
number of lines each row requires to print. Defaults to 1 for all rows.
(character)
class(es) for the rows. Defaults to "DataRow".
(string)
parent path that all rows should be "children of".
Defaults to NULL, as usually this is not needed. It may be necessary to use "root",
for some specific scenarios.
(list)
list of paths to the rows. Defaults to lapply(rnames, function(x) c(parent_path, x)).
(font_spec)
a font_spec object specifying the font information to use for
calculating string widths and heights, as returned by font_spec().