r2resize: In-text resizing of containers, images and tables in Rmarkdown documents and Shiny apps

Official site: https://r2resize.obi.obianom.com

Demo output: View here

Demo video: View here

Other packages required for r2resize: View here

RPKG.net package page for r2resize: View here

CRAN_Status_Badge CRAN_Status_Badge

The recommendation is that you download the latest version of this package from CRAN, as I am constantly updating this repository. If you do download from here, know that things may break sometimes

Installation

# From CRAN
install.packages(r2resize)

# OR from Github
library(devtools)
install_github("oobianom/r2resize")

NOTE: Please note that r2resize::add.resizer() should only be used in Rmarkdown or Quarto

Use in Shiny, Rmarkdown or Quarto document

Load library and begin using functions

library(r2resize)

Examples of the output after inclusion