To cite rdiversity in publications use:

Reeve, R., T. Leinster, C. Cobbold, J. Thompson, N. Brummitt, S. Mitchell, and L. Matthews. 2014. How to partition diversity. arXiv 1404.6520 [q-bio.QM]:1–9.

Corresponding BibTeX entry:

  @Article{,
    title = {How to partition diversity},
    author = {Richard Reeve and Tom Leinster and Christina Cobbold and
      Jill Thompson and Neil Brummitt and Sonia Mitchell and Louise
      Matthews},
    journal = {arXiv},
    year = {2014},
    volume = {1404.6520 [q-bio.QM]},
    pages = {1--9},
  }