Skip to content

r2resize

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

v2.0 · Nov 11, 2025 · MIT + file LICENSE

Description

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), 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.

Downloads

314

Last 30 days

12523rd

809

Last 90 days

3.1K

Last year

Trend: +54.7% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

re-building of vignette outputs

Error(s) in re-building vignettes:
  ...
--- re-building ‘example_frequently_asked_r2resize.Rmd’ using rmarkdown
--- finished re-building ‘example_frequently_asked_r2resize.Rmd’

--- re-building ‘introduction_r2resize.Rmd’ using rmarkdown
--- finishe
...[truncated]...
uilding ‘split_card_html_r2resize.Rmd’ using rmarkdown
--- finished re-building ‘split_card_html_r2resize.Rmd’

SUMMARY: processing the following file failed:
  ‘r2resize-resizable-containers.Rmd’

Error: Vignette re-building failed.
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (1)

suggests

Dependency Network

Dependencies Reverse dependencies shiny htmltools quickcode DT nextGenShinyApps r2resize

Version History

12 tracked
new 2.0 Mar 10, 2026
updated 2.0 ← 1.9.2 diff Nov 11, 2025
updated 1.9.2 ← 1.9.1 diff Nov 24, 2024
updated 1.9.1 ← 1.9 diff Jul 29, 2024
updated 1.9 ← 1.8 diff Feb 18, 2024
updated 1.8 ← 1.7 diff Aug 26, 2023
updated 1.7 ← 1.6 diff Jul 6, 2023
updated 1.6 ← 1.5 diff Apr 6, 2023
updated 1.5 ← 1.4 diff Jan 29, 2023
updated 1.4 ← 1.3 diff Jan 14, 2023
updated 1.3 ← 1.2 diff Oct 22, 2022
new 1.2 Sep 11, 2022