To cite optimr in publications use:

John C Nash (2016). {optimr}: A Replacement and Extension of the 'optim' Function URL http://CRAN.R-project.org/package=optimr

Corresponding BibTeX entry:

  @Manual{,
    title = {{optimr}: A Replacement and Extension of the 'optim'
      Function},
    author = {John C Nash},
    url = {http://CRAN.R-project.org/package=optimr},
  }