To cite package ‘automagic’ in publications use:

Brokamp C (2021). automagic: Automagically Document and Install Packages Necessary to Run R Code. R package version 0.5.1, https://github.com/cole-brokamp/automagic.

Corresponding BibTeX entry:

  @Manual{,
    title = {automagic: Automagically Document and Install Packages
      Necessary to Run R Code},
    author = {Cole Brokamp},
    year = {2021},
    note = {R package version 0.5.1},
    url = {https://github.com/cole-brokamp/automagic},
  }