To cite slurmR in publications use:

Vega Yon G, Marjoram P (2019). “slurmR: A lightweight wrapper for HPC with Slurm.” The Journal of Open Source Software, 4(39). doi:10.21105/joss.01493, https://doi.org/10.21105/joss.01493.

And the actual R package:

Vega Yon G, Marjoram P (2022). slurmR: A Lightweight Wrapper for 'Slurm'. R package version 0.5-2, https://github.com/USCbiostats/slurmR.

Corresponding BibTeX entries:

  @Article{,
    title = {slurmR: A lightweight wrapper for HPC with Slurm},
    author = {George {Vega Yon} and Paul Marjoram},
    journal = {The Journal of Open Source Software},
    year = {2019},
    month = {jul},
    volume = {4},
    number = {39},
    doi = {10.21105/joss.01493},
    url = {https://doi.org/10.21105/joss.01493},
  }
  @Manual{,
    title = {{{slurmR: A Lightweight Wrapper for 'Slurm'}}},
    author = {George {Vega Yon} and Paul Marjoram},
    year = {2022},
    note = {R package version 0.5-2},
    url = {https://github.com/USCbiostats/slurmR},
  }