To cite switchr/switchrGist/GRANBase in publications use:

Becker G, Barr C, Gentleman R, Lawrence M (2017). “Enhancing Reproducibility and Collaboration via Management of R Package Cohorts.” Journal of Statistical Software, 82(1), 1–17. doi: 10.18637/jss.v082.i01.

Corresponding BibTeX entry:

  @Article{,
    title = {Enhancing Reproducibility and Collaboration via Management
      of {R} Package Cohorts},
    author = {Gabriel Becker and Cory Barr and Robert Gentleman and
      Michael Lawrence},
    journal = {Journal of Statistical Software},
    year = {2017},
    volume = {82},
    number = {1},
    pages = {1--17},
    doi = {10.18637/jss.v082.i01},
  }