Package: gridify 0.8.1.9000

Maciej Nasinski

gridify: Enrich Figures and Tables with Custom Headers and Footers and More

A simple and flexible tool designed to create enriched figures and tables by providing a way to add text around them through predefined or custom layouts. Any input which is convertible to 'grob' is supported, like 'ggplot', 'gt' or 'flextable'. Based on R 'grid' graphics, for more details see Paul Murrell (2018) <doi:10.1201/9780429422768>.

Authors:Maciej Nasinski [aut, cre], Alexandra Wall [aut], Sarah Robson [aut], Pritish Dash [aut], Jennifer Winick-Ng [aut], Lily Nan [ctb], Alphonse Kwizera [ctb], Agota Bodoni [ctb], Eilis Meldrum-Dolan [ctb], Gary Cao [ctb], Monika Beh [ctb], Bethany George [ctb], UCB S.A., Belgium [cph, fnd]

gridify_0.8.1.9000.tar.gz
gridify_0.8.1.9000.zip(r-4.7-any)gridify_0.8.1.9000.zip(r-4.6-any)gridify_0.8.1.9000.zip(r-4.5-any)
gridify_0.8.1.9000.tgz(r-4.6-any)gridify_0.8.1.9000.tgz(r-4.5-any)
gridify_0.8.1.9000.tar.gz(r-4.7-any)gridify_0.8.1.9000.tar.gz(r-4.6-any)
gridify_0.8.1.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
gridify/json (API)

# Install 'gridify' in R:
install.packages('gridify', repos = c('https://pharmaverse.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/pharmaverse/gridify/issues

Pkgdown/docs site:https://pharmaverse.github.io

On CRAN:

Conda:

7.39 score 18 stars 1 packages 20 scripts 1.1k downloads 19 exports 0 dependencies

Last updated from:6d03dc33d1. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK173
source / vignettesOK201
linux-releaseOK173
macos-releaseOK120
macos-oldrelOK125
windows-develOK101
windows-releaseOK112
windows-oldrelOK122
wasm-releaseOK118

Exports:complex_layoutexport_toget_layoutsgridifygridifyCellgridifyCellsgridifyLayoutgridifyObjectpaginate_tablepharma_layout_A4pharma_layout_basepharma_layout_letterprintset_cellshowshow_cellsshow_layoutshow_specsimple_layout

Dependencies:

Get Started with gridify
Introduction | Installation | Basic Workflow | 1. Create a Figure | 2. Pick a Layout | 3. Wrap with gridify | 4. Add Text to Cells | 5. Print or Assign | Example with a Table | Saving Your Output | More Resources | A Note on Security and Searchability | Outputs Cannot Be Hand-Edited | PDF Text is Searchable | Conclusion

Last update: 2026-06-03
Started: 2025-08-01

Transparency with gridify
Introduction | Example Usage | Key Transparency Benefits | Conclusion

Last update: 2026-06-03
Started: 2025-08-01

Simple Examples
Introduction | Examples with Figures | Examples with ggplot2 Figures | Precedence of Operators | Simple Layout Example | Complex Layout Example | Pharma Layout Examples | Pharma Layout Base Example | Pharma Layout Letter Example | Pharma Layout A4 Example | Example with a Base R Figure | Examples with Tables | Example with a flextable | Example with a gt Table | Example with an rtable via flextable conversion | Using the show() Methods | Graphical Parameters | Global and Individual Graphical Parameters Example | Background Colour Example | set_cell() Arguments | Maximum Characters | Position and Rotation | Altering Scales and Adjusting Dimensions | Adjusting the Height of Rows using Global Options | How These Options Work | Examples using Global Options | Vertically Anchoring the Object | Export to PDF, PNG, TIFF, and JPEG | Conclusion

Last update: 2026-06-03
Started: 2025-08-01

Multi-Page and Multi-Figure Examples
Introduction | Figures | Multiple Figure Delivery with a for-loop and sprintf | Tables | For PDF/DOCX | Splitting By Rows for PDF | Using the paginate_table() Helper Function (Recommended) | Export To PDF, JPG and PNG | Multi-page outputs. | 1. Export a single image | 2. Export multiple images | Extending The Multi-Page Example | Long Table in HTML

Last update: 2025-11-13
Started: 2025-08-01

Create Custom Layout
Introduction | Layout Basics | Example Layout | Nrow and Ncol | Heights and Widths | Adjusting Heights automatically | Margin argument | Background colour | Adding the Object argument | Adding the Scales argument | Adding cells | Row and Column positions of Cells | Maximum Number of Characters per Line for a Cell | Default Graphical Parameters | Default cell text | Adding a Watermark

Last update: 2025-08-19
Started: 2025-08-01

Readme and manuals

Help Manual

Help pageTopics
Complex Layout for a gridify objectcomplex_layout
Export gridify objects to a fileexport_to export_to,ANY-method export_to,gridifyClass-method export_to,list-method
Get the gridify layoutsget_layouts
Create a gridify objectgridify
Create a gridifyCellgridifyCell
gridifyCell classgridifyCell-class
Create a gridifyCellsgridifyCells
gridifyCells classgridifyCells-class
gridifyClass classgridifyClass-class
Create a gridifyLayoutgridifyLayout
gridifyLayout classgridifyLayout-class
Create a gridifyObjectgridifyObject
gridifyObject classgridifyObject-class
Template for Layout Issues Notelayout_issue
Split a data frame into pages for multi-page tablespaginate_table
Pharma Layoutspharma_layout
Pharma Layout (A4) for a gridify objectpharma_layout_A4
Base Function for Pharma Layoutspharma_layout_base
Pharma Layout (Letter) for a gridify objectpharma_layout_letter
Print method for gridifyClassprint,gridifyClass-method
Add text elements to a gridify cellset_cell set_cell,gridifyClass-method
Show the cells in a gridify object or layoutshow_cells show_cells,gridifyClass-method show_cells,gridifyLayout-method
Show the layout in a given gridify object or layoutshow_layout show_layout,gridifyClass-method show_layout,gridifyLayout-method
Show the layout specifications of a gridifyClass or gridifyLayoutshow_spec show_spec,gridifyClass-method show_spec,gridifyLayout-method
Show method for gridifyClassshow,gridifyClass-method
Show method for gridifyLayoutshow,gridifyLayout-method
Simple Layout for a gridify objectsimple_layout