From e9f77c2f0d14dc41c2e9150c7d96eaa0c6091887 Mon Sep 17 00:00:00 2001 From: Eric Scott Date: Mon, 20 May 2024 17:25:40 -0700 Subject: [PATCH 1/2] generate CITATION.cff --- .Rbuildignore | 1 + CITATION.cff | 45 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 CITATION.cff diff --git a/.Rbuildignore b/.Rbuildignore index 0fe4492..6affa80 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -15,3 +15,4 @@ ^_pkgdown\.yml$ ^docs$ ^pkgdown$ +^CITATION\.cff$ diff --git a/CITATION.cff b/CITATION.cff new file mode 100644 index 0000000..6a53b19 --- /dev/null +++ b/CITATION.cff @@ -0,0 +1,45 @@ +# ----------------------------------------------------------- +# CITATION file created with {cffr} R package, v0.5.0 +# See also: https://docs.ropensci.org/cffr/ +# ----------------------------------------------------------- + +cff-version: 1.2.0 +message: 'To cite package "geotargets" in publications use:' +type: software +license: MIT +title: 'geotargets: Targets extensions for geospatial formats' +version: 0.0.0.9000 +abstract: Provides extensions for various geospatial file formats, such as shapefiles + and rasters. See the vignettes for worked examples and demonstrations and explanations + of how to use the various package extensions. +authors: +- family-names: Tierney + given-names: Nicholas + email: nicholas.tierney@gmail.com + orcid: https://orcid.org/0000-0003-1460-8722 +- family-names: Scott + given-names: Eric + orcid: https://orcid.org/0000-0002-7430-7879 +- family-names: Brown + given-names: Andrew + orcid: https://orcid.org/0000-0002-4565-533X +repository-code: https://github.com/njtierney/geotargets +url: https://njtierney.github.io/geotargets/ +contact: +- family-names: Tierney + given-names: Nicholas + email: nicholas.tierney@gmail.com + orcid: https://orcid.org/0000-0003-1460-8722 +keywords: +- geospatial +- pipeline +- r +- r-package +- r-targetopia +- raster +- reproducibility +- reproducible-research +- rstats +- targets +- vector +- workflow From d977cd4556c1f4e52760b3ceeff45b7472a49e76 Mon Sep 17 00:00:00 2001 From: Eric Scott Date: Mon, 20 May 2024 17:26:19 -0700 Subject: [PATCH 2/2] reminder to update CITATION.cff for releases --- R/release_bullets.R | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 R/release_bullets.R diff --git a/R/release_bullets.R b/R/release_bullets.R new file mode 100644 index 0000000..dfb0e62 --- /dev/null +++ b/R/release_bullets.R @@ -0,0 +1,6 @@ +#see ?usethis::use_release_issue() +release_bullets <- function() { + c( + "update CITATION.cff with `cffr::cff_write(dependencies = FALSE)` (after incrementing version)" + ) +}