Skip to content

Commit

Permalink
Update DOIs and Citation
Browse files Browse the repository at this point in the history
  • Loading branch information
dieghernan committed Jun 18, 2024
1 parent 9d84cdf commit e37f52f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ results](https://badges.cranchecks.info/worst/rasterpic.svg)](https://cran.r-pro
[![codecov](https://codecov.io/gh/dieghernan/rasterpic/branch/main/graph/badge.svg?token=jSZ4RIsj91)](https://app.codecov.io/gh/dieghernan/rasterpic)
[![r-universe](https://dieghernan.r-universe.dev/badges/rasterpic)](https://dieghernan.r-universe.dev/rasterpic)
[![CodeFactor](https://www.codefactor.io/repository/github/dieghernan/rasterpic/badge)](https://www.codefactor.io/repository/github/dieghernan/rasterpic)
[![DOI](https://img.shields.io/badge/DOI-10.5281/zenodo.5910095-blue)](https://doi.org/10.5281/zenodo.5910095)
[![DOI](https://img.shields.io/badge/DOI-10.32614/CRAN.package.rasterpic-blue)](https://doi.org/10.32614/CRAN.package.rasterpic)
[![Project Status: Active -- The project has reached a stable, usable state and
is being actively
developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
[![status](https://tinyverse.netlify.com/badge/rasterpic)](https://CRAN.R-project.org/package=rasterpic)
[![status](https://tinyverse.netlify.app/status/rasterpic)](https://CRAN.R-project.org/package=rasterpic)

<!-- badges: end -->

Expand Down
12 changes: 6 additions & 6 deletions inst/CITATION
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
year <- format(Sys.time(), "%Y")
abs <- trimws(gsub("\\s+", " ", meta$Description))
abs <- gsub("'", "", abs)
doi <- "10.5281/zenodo.5910095"
title <- gsub("'", "", meta$Title, fixed = TRUE)
pkg <- meta$Package
doi <- paste0("10.32614/CRAN.package.", pkg)

bibentry(
"Manual",
header = paste0("To cite '", meta$Package, "' in publications use:"),
header = paste0("To cite '", pkg, "' in publications use:"),
title = "{rasterpic}: Convert Digital Images into {SpatRaster} Objects",
author = person("Diego", "Hernangómez"),
doi = doi,
author = c(person("Diego", "Hernangómez")),
year = year,
version = meta$Version,
doi = doi,
url = unlist(strsplit(meta$URL, ","))[1],
abstract = abs,
key = "R-rasterpic"
key = paste0("R-", pkg)
)

0 comments on commit e37f52f

Please sign in to comment.