To cite ir in publications use:
Teickner H (????). “ir: Functions to handle and preprocess infrared spectra.” doi:10.32614/CRAN.package.ir.
Corresponding BibTeX entry:
  @Misc{,
    title = {ir: Functions to handle and preprocess infrared spectra},
    shorttitle = {ir},
    author = {Henning Teickner},
    publisher = {Comprehensive R Archive Network},
    doi = {10.32614/CRAN.package.ir},
    langid = {english},
  }