To cite package 'AlleleRetain' in publications use:

Weiser EL (2018). AlleleRetain: a stochastic model for simulating allele retention, demography, and inbreeding accumulation in bottlenecked populations. R package version 2.0.2.

Corresponding BibTeX entry:

  @Manual{,
    title = {AlleleRetain: a stochastic model for simulating allele
      retention, demography, and inbreeding accumulation in
      bottlenecked populations},
    author = {Emily L. Weiser},
    year = {2018},
    note = {R package version 2.0.2},
  }