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
# 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
library(r2resize)