diff --git a/README.Rmd b/README.Rmd index 167b084..378ad85 100644 --- a/README.Rmd +++ b/README.Rmd @@ -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) diff --git a/inst/CITATION b/inst/CITATION index 446557b..43b43cf 100644 --- a/inst/CITATION +++ b/inst/CITATION @@ -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) )