Package: r2resize 2.0

Obinna Obianom

r2resize: In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents

Offers a suite of tools designed to enhance the responsiveness and interactivity of web-based documents and applications created with R. It provides an automatic, configurable resizing toolbar that can be seamlessly integrated with HTML elements such as containers, images, and tables, allowing end-users to dynamically adjust their dimensions. Beyond the toolbar, the package includes a rich collection of flexible, expandable, and interactive container functionalities, such as highly customizable split-screen layouts (`splitCard`, `splitCard2`), versatile sizeable cards (`sizeableCard`), dynamic window-like elements (`windowCard`), visually engaging emphasis cards (`empahsisCard`), and sophisticated flexible and elastic card layouts (`flexCard`, `elastiCard`). Furthermore, it offers an elegant image viewer and resizer (`shinyExpandImage`) perfect for interactive galleries. `r2resize` is particularly well-suited for developers and data scientists looking to create modern, responsive, and user-friendly 'shiny' applications, 'markdown' reports, and 'quarto' documents that adapt gracefully to different screen sizes and user preferences, significantly improving the user experience.

Authors:Obinna Obianom [aut, cre]

r2resize_2.0.tar.gz
r2resize_2.0.zip(r-4.7)r2resize_2.0.zip(r-4.6)r2resize_2.0.zip(r-4.5)
r2resize_2.0.tgz(r-4.6-any)r2resize_2.0.tgz(r-4.5-any)
r2resize_2.0.tar.gz(r-4.7-any)r2resize_2.0.tar.gz(r-4.6-any)
r2resize_2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
r2resize/json (API)

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

Bug tracker:https://github.com/oobianom/r2resize/issues

Pkgdown/docs site:https://r2resize.obi.obianom.com

On CRAN:

Conda:

cardresizermarkdownshiny

6.40 score 17 stars 42 scripts 301 downloads 11 exports 48 dependencies

Last updated from:6b1f47698b. Checks:7 ERROR, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64ERROR172
source / vignettesOK192
linux-release-x86_64ERROR134
macos-release-arm64ERROR109
macos-oldrel-arm64ERROR106
windows-develERROR86
windows-releaseERROR73
windows-oldrelERROR81
wasm-releaseOK120

Exports:add.JQueryadd.resizerelastiCardempahsisCardemphasisCardflexCardshinyExpandImagesizeableCardsplitCardsplitCard2windowCard

Dependencies:base64encbslibcachemclicommonmarkcrosstalkdigestDTevaluatefastmapfitdistrplusfontawesomefsgluehighrhtmltoolshtmlwidgetshttpuvjquerylibjsonliteknitrlaterlatticelazyevallifecyclemagrittrMASSMatrixmemoisemimeotelpromisesquickcodeR6rappdirsRcpprlangrmarkdownrstudioapisassshinysourcetoolssurvivaltinytexwithrxfunxtableyaml

Flexible and Elastic Card Layouts with r2resize
Flexible Card - flexCard() | Hover Elastic Card - elastiCard()

Last update: 2025-11-11
Started: 2025-11-11

Image and Markdown Resizing with r2resize
Adding Resizer Toolbars to Markdown with add.resizer() | Elegant Image Viewer in Shiny with shinyExpandImage()

Last update: 2025-11-11
Started: 2025-11-11

Resizable Containers with r2resize
Introduction to Resizable Containers | splitCard(): Resizable Split Screen Container | splitCard2(): Alternative Split Screen Container | sizeableCard(): Resizable Content Holder | windowCard(): Resizable, Moveable, Expandable Window Card | empahsisCard(): Emphasis Container

Last update: 2025-11-11
Started: 2025-11-11

Create markdown & shiny content holders with resizable sections using r2resize
Resizable content holders can be quite useful in Markdown and shiny outputs in R | Installation and Library Attachment | Example of how to use the resizable content holder

Last update: 2024-11-26
Started: 2024-11-25

Welcome to r2resize: In-text resizing for images and tables in Markdown and Quarto documents
Easily add automatic resizing toolbar for all images and tables in Markdown, Rmarkdown and Quarto documents | Installation and Library Attachment | Use the easy resize functionality in Rmarkdown or Quarto | Use a lot of other cool functions such as the one below | Quick demo: https://r2resize.obi.obianom.com/r2resize-package.gif | More cool functions and examples and documentation

Last update: 2023-07-07
Started: 2022-08-25

Top Frequently asked interview questions in R using the r2resize package
FAQ Number 10 | FAQ Number 9 | FAQ Number 8 | FAQ Number 7 | FAQ Number 6 | FAQ Number 5 | FAQ Number 4 | FAQ Number 3 | FAQ Number 2 | FAQ Number 1 | Concluding Remarks

Last update: 2023-04-07
Started: 2023-04-07

New features r2resize since 1.3: Resizeable Expandable Splittable containers and boxes in R
Resizeable containers and cards for Rmarkdown, Shiny and Quarto | Installation and Library Attachment | Use cases | splitCard function: Resizable split screen container | sizeableCard function: Container with sizing toolbar | windowCard function: Window like container with resizable and expandable functions | empahsisCard function: container with moving border to emphasize content | Full examples and documentation

Last update: 2023-01-30
Started: 2022-10-23