Skip to content

Commit

Permalink
Update citation
Browse files Browse the repository at this point in the history
  • Loading branch information
hauselin committed Jan 24, 2025
1 parent 29158ba commit 9b9a4b5
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 27 deletions.
22 changes: 13 additions & 9 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ knitr::opts_chunk$set(
[![CRAN status](https://www.r-pkg.org/badges/version/ollamar)](https://CRAN.R-project.org/package=ollamar)
[![R-CMD-check](https://github.com/hauselin/ollama-r/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/hauselin/ollama-r/actions/workflows/R-CMD-check.yaml)
[![CRAN_Download_Badge](https://cranlogs.r-pkg.org/badges/grand-total/ollamar)](https://cran.r-project.org/package=ollamar)
[![DOI](https://joss.theoj.org/papers/10.21105/joss.07211/status.svg)](https://doi.org/10.21105/joss.07211)
<!-- badges: end -->

The [Ollama R library](https://hauselin.github.io/ollama-r/) is the easiest way to integrate R with [Ollama](https://ollama.com/), which lets you run language models locally on your own machine.
Expand Down Expand Up @@ -107,14 +108,17 @@ list_models()
If you use this library, please cite [this paper](https://doi.org/10.31234/osf.io/zsrg5) using the following BibTeX entry:

```bibtex
@article{Lin2024Aug,
author = {Lin, Hause and Safi, Tawab},
title = {{ollamar: An R package for running large language models}},
journal = {PsyArXiv},
year = {2024},
month = aug,
publisher = {OSF},
doi = {10.31234/osf.io/zsrg5},
url = {https://doi.org/10.31234/osf.io/zsrg5}
@article{Lin2025JOSS,
author = {Lin, Hause and Safi, Tawab},
title = {ollamar: An R package for running large language models},
journal = {Journal of Open Source Software},
volume = {10},
number = {105},
pages = {7211},
year = {2025},
month = jan,
volume = {10},
doi = {10.21105/joss.07211},
url = {https://joss.theoj.org/papers/10.21105/joss.07211}
}
```
22 changes: 13 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
status](https://www.r-pkg.org/badges/version/ollamar)](https://CRAN.R-project.org/package=ollamar)
[![R-CMD-check](https://github.com/hauselin/ollama-r/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/hauselin/ollama-r/actions/workflows/R-CMD-check.yaml)
[![CRAN_Download_Badge](https://cranlogs.r-pkg.org/badges/grand-total/ollamar)](https://cran.r-project.org/package=ollamar)
[![DOI](https://joss.theoj.org/papers/10.21105/joss.07211/status.svg)](https://doi.org/10.21105/joss.07211)
<!-- badges: end -->

The [Ollama R library](https://hauselin.github.io/ollama-r/) is the
Expand Down Expand Up @@ -133,14 +134,17 @@ paper](https://doi.org/10.31234/osf.io/zsrg5) using the following BibTeX
entry:

``` bibtex
@article{Lin2024Aug,
author = {Lin, Hause and Safi, Tawab},
title = {{ollamar: An R package for running large language models}},
journal = {PsyArXiv},
year = {2024},
month = aug,
publisher = {OSF},
doi = {10.31234/osf.io/zsrg5},
url = {https://doi.org/10.31234/osf.io/zsrg5}
@article{Lin2025JOSS,
author = {Lin, Hause and Safi, Tawab},
title = {ollamar: An R package for running large language models},
journal = {Journal of Open Source Software},
volume = {10},
number = {105},
pages = {7211},
year = {2025},
month = jan,
volume = {10},
doi = {10.21105/joss.07211},
url = {https://joss.theoj.org/papers/10.21105/joss.07211}
}
```
17 changes: 8 additions & 9 deletions inst/CITATION
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
citHeader("To cite ollamar in publications use:")

bibentry(
bibtype = "Article",
bibtype = "Article",
title = "ollamar: An R package for running large language models",
author = c(
person("Hause", "Lin", , "[email protected]", role = c("aut", "cre", "cph"),
comment = c(ORCID = "0000-0003-4590-7039")),
person("Tawab", "Safi", , "[email protected]", role = c("aut", "ctb"),
comment = c(ORCID = "0009-0000-5659-9890"))
),
journal = "PsyArXiv",
year = "2024",
month = "aug",
publisher = "OSF",
doi = "10.31234/osf.io/zsrg5",
url = "https://doi.org/10.31234/osf.io/zsrg5",
journal = "Journal of Open Source Software",
year = "2025",
month = "jan",
doi = "10.21105/joss.07211",
url = "https://joss.theoj.org/papers/10.21105/joss.07211",
textVersion = paste0(
"Lin, H., & Safi, T. (2024). ",
"Lin, H., & Safi, T. (2025). ",
"ollamar: An R package for running large language models. ",
"PsyArXiv. https://doi.org/10.31234/osf.io/zsrg5"
"Journal of Open Source Software, 10(105), 7211. doi:10.21105/joss.07211 "
)
)

0 comments on commit 9b9a4b5

Please sign in to comment.