To cite the 'gender' package, you may either cite the package directly or cite the journal article which explains its method:

Lincoln Mullen (2015). gender: Predict Gender from Names Using Historical Data. R package version 0.5.1.

For the journal article, please cite: Cameron Blevins and Lincoln Mullen, "Jane, John ... Leslie? A Historical Method for Algorithmic Gender Prediction," _Digital Humanities Quarterly_ (forthcoming 2015).

Corresponding BibTeX entry:

  @Manual{,
    title = {gender: Predict Gender from Names Using Historical Data},
    author = {Lincoln Mullen},
    year = {2015},
    note = {R package version 0.5.1},
    url = {https://github.com/ropensci/gender},
  }