To cite 'resmush' in publications use:

Hernangómez D (2024). resmush: Optimize and Compress Image Files with reSmush.it. doi:10.32614/CRAN.package.resmush, https://dieghernan.github.io/resmush/.

Corresponding BibTeX entry:

  @Manual{R-resmush,
    title = {{resmush}: Optimize and Compress Image Files with
      {reSmush.it}},
    doi = {10.32614/CRAN.package.resmush},
    author = {Diego Hernangómez},
    year = {2024},
    version = {0.2.1},
    url = {https://dieghernan.github.io/resmush/},
    abstract = {Compress local and online images using the reSmush.it
      API service <https://resmush.it/>.},
  }