as.gtable() S3 method (#97).clip argument togtable_col() andgtable_row() (#56)NA will now insert a zero-dimension row/column at theposition of theNA-index (#13)gtable() (#94)Re-documented to fix HTML issues in.Rd.
gtable has been re-licensed as MIT (#85).
Made a range of internal changes to increase performance of gtableconstruction, these include:
data.frame constructor .widths andheights fields instead ofncol() andnrow()internally.stopifnot(...) withif(!...) stop().Better documentation, including a new README, a vignette on performanceprofiling and a pkgdown site.
New logo
It is now an error to index into a gtable with non-increasing indices.
Dimnames are now inherited from the grobs data ingtable_col(),gtable_row(), andgtable_matrix()
gtable_trim now works with empty gtables
gtable_filter now has an invert argument to remove grops matching a name.
Switch frompreDrawDetails() andpostDrawDetails() methods tomakeContent() andmakeContext() methods (@pmur002,#50).This is a better approach facilitiated by changes in grid. Learn moreathttps://journal.r-project.org/archive/2013-2/murrell.pdf.
Added aNEWS.md file to track changes to the package.
Partial argument matches have been fixed.
Import grid instead of depending on it.
print.gtable now prints the z order of the grobs, and it no longersort the names by z order. Previously, the layout names were sorted byz order, but the grobs weren't. This resulted in a mismatch betweenthe names and the grobs. It's better to not sort by z by default,since that doesn't match how indexing works. Thezsort option allowsthe output to be sorted by z.