To cite osfr in publications use:

Wolen et al., (2020). osfr: An R Interface to the Open Science Framework. Journal of Open Source Software, 5(46), 2071, https://doi.org/10.21105/joss.02071

Corresponding BibTeX entry:

  @Article{,
    title = {{osfr}: An {R} Interface to the Open Science Framework},
    author = {Aaron R. Wolen and Chris H.J. Hartgerink and Ryan Hafen
      and Brian G. Richards and Courtney K. Soderberg and Timothy P.
      York},
    journal = {Journal of Open Source Software},
    year = {2020},
    volume = {5},
    number = {46},
    pages = {2071},
    url = {https://doi.org/10.21105/joss.02071},
    doi = {10.21105/joss.02071},
  }