gtable 0.3.0
-
Made a range of internal changes to increase performance of gtable
construction, these include:- Use more performant
data.frame
constructor . - Treat layout data.frame as list when indexing and modifying it.
- Use length of
widths
andheights
fields instead ofncol()
andnrow()
internally. - Substitute
stopifnot(...)
withif(!...) stop()
.
- Use more performant
-
Better documentation, including a new README, a vignette on performance
profiling 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 in
gtable_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.