To cite package 'stringi' in publications use:

Gagolewski M (2020). R package stringi: Character string processing facilities. http://www.gagolewski.com/software/stringi/.

Corresponding BibTeX entry:

  @Manual{,
    title = {R package stringi: Character string processing
      facilities},
    author = {Marek Gagolewski},
    year = {2020},
    url = {http://www.gagolewski.com/software/stringi/},
  }