Skip to content

Commit

Permalink
Add doi badge to README
Browse files Browse the repository at this point in the history
  • Loading branch information
aphalo committed Jun 25, 2024
1 parent 187723f commit f60b0df
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ version](https://www.r-pkg.org/badges/version/ggpp)](https://cran.r-project.org/
[![R-CMD-check](https://github.com/aphalo/ggpp/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/aphalo/ggpp/actions/workflows/R-CMD-check.yaml)
[![Coverage](https://raw.githubusercontent.com/aphalo/ggpp/_xml_coverage_reports/data/master/badge.svg)](https://raw.githubusercontent.com/aphalo/ggpp/_xml_coverage_reports/data/master/coverage.xml)
<a href="https://docs.r4photobiology.info/ggpp/"><img src="https://img.shields.io/badge/documentation-ggpp-informational.svg" alt="" /></a>
[![](https://img.shields.io/badge/doi-10.32614/CRAN.package.ggpp-black.svg)](https://doi.org/10.32614/CRAN.package.ggpp)
<!-- badges: end -->

## Purpose
Expand Down Expand Up @@ -332,7 +333,7 @@ Please report bugs and request new features at
If you use this package to produce scientific or commercial
publications, please cite according to:

```{r, eval=FALSE}
```{r}
citation("ggpp")
```

Expand Down
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ badge](https://aphalo.r-universe.dev/badges/ggpp)](https://aphalo.r-universe.dev
[![R-CMD-check](https://github.com/aphalo/ggpp/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/aphalo/ggpp/actions/workflows/R-CMD-check.yaml)
[![Coverage](https://raw.githubusercontent.com/aphalo/ggpp/_xml_coverage_reports/data/master/badge.svg)](https://raw.githubusercontent.com/aphalo/ggpp/_xml_coverage_reports/data/master/coverage.xml)
<a href="https://docs.r4photobiology.info/ggpp/"><img src="https://img.shields.io/badge/documentation-ggpp-informational.svg" alt="" /></a>
[![](https://img.shields.io/badge/doi-10.32614/CRAN.package.ggpp-black.svg)](https://doi.org/10.32614/CRAN.package.ggpp)
<!-- badges: end -->

## Purpose
Expand Down Expand Up @@ -350,6 +351,22 @@ publications, please cite according to:

``` r
citation("ggpp")
#> To cite package 'ggpp' in publications use:
#>
#> Aphalo P (2024). _ggpp: Grammar Extensions to 'ggplot2'_. R package
#> version 0.5.7.9000, https://github.com/aphalo/ggpp,
#> <https://docs.r4photobiology.info/ggpp/>.
#>
#> A BibTeX entry for LaTeX users is
#>
#> @Manual{,
#> title = {ggpp: Grammar Extensions to 'ggplot2'},
#> author = {Pedro J. Aphalo},
#> year = {2024},
#> note = {R package version 0.5.7.9000,
#> https://github.com/aphalo/ggpp},
#> url = {https://docs.r4photobiology.info/ggpp/},
#> }
```

## Acknowledgements
Expand Down

0 comments on commit f60b0df

Please sign in to comment.