diff --git a/README.md b/README.md index be4ea1d..5088508 100644 --- a/README.md +++ b/README.md @@ -124,23 +124,14 @@ Learn more about `mwanaApp` and how to install and use If you use `mwana` package in your work, please cite using the suggested citation provided by a call to `citation()` function as follows: -``` r -citation("mwana") -#> To cite mwana in publications use: -#> -#> Tomás Zaba, Ernest Guevarra, Mark Myatt (2025). _mwana: An Efficient -#> Workflow for Plausibility Checks and Prevalence Analysis of Wasting -#> in R_. R package version 0.2.3, . -#> -#> A BibTeX entry for LaTeX users is -#> -#> @Manual{, -#> title = {mwana: An Efficient Workflow for Plausibility Checks and Prevalence Analysis of Wasting in R}, -#> author = {{Tomás Zaba} and {Ernest Guevarra} and {Mark Myatt}}, -#> year = {2025}, -#> note = {R package version 0.2.3}, -#> url = {https://mphimo.github.io/mwana/}, -#> } +``` bibtex +@Manual{, + title = {mwana: An Efficient Workflow for Plausibility Checks and Prevalence Analysis of Wasting in R}, + author = {{Tomás Zaba} and {Ernest Guevarra} and {Mark Myatt}}, + year = {2025}, + note = {R package version 0.2.3}, + url = {https://mphimo.github.io/mwana/}, +} ``` ## Community guidelines diff --git a/README.qmd b/README.qmd index 8aa8825..2c8033d 100644 --- a/README.qmd +++ b/README.qmd @@ -92,8 +92,12 @@ If you use `mwana` package in your work, please cite using the suggested citatio ```{r} #| label: citation +#| results: asis +#| echo: false -citation("mwana") +cat("```bibtex\n") +print(citation("mwana"), style = "bibtex") +cat("```\n") ``` ## Community guidelines