To cite package ‘triversity’ in publications use:

Lamarche-Perrin R (2018). triversity: Diversity Measures on Multipartite Graphs. R package version 2.0, https://github.com/lamarche-perrin/triversity.

Corresponding BibTeX entry:

  @Manual{,
    title = {triversity: Diversity Measures on Multipartite Graphs},
    author = {Robin Lamarche-Perrin},
    year = {2018},
    note = {R package version 2.0},
    url = {https://github.com/lamarche-perrin/triversity},
  }