-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #143 from njtierney/update-citation-i142
update CITATION.cff and add GH action Resolves #142
- Loading branch information
Showing
7 changed files
with
406 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# Workflow derived from https://github.com/r-lib/actions/tree/master/examples | ||
# The action runs when: | ||
# - A new release is published | ||
# - The DESCRIPTION or inst/CITATION are modified | ||
# - Can be run manually | ||
# For customizing the triggers, visit https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows | ||
on: | ||
release: | ||
types: [published] | ||
push: | ||
branches: [master, main] | ||
paths: | ||
- DESCRIPTION | ||
- inst/CITATION | ||
workflow_dispatch: | ||
|
||
name: Update CITATION.cff | ||
|
||
jobs: | ||
update-citation-cff: | ||
runs-on: macos-latest | ||
env: | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: r-lib/actions/setup-r@v2 | ||
- uses: r-lib/actions/setup-r-dependencies@v2 | ||
with: | ||
extra-packages: | | ||
any::cffr | ||
any::V8 | ||
- name: Update CITATION.cff | ||
run: | | ||
library(cffr) | ||
# Customize with your own code | ||
# See https://docs.ropensci.org/cffr/articles/cffr.html | ||
# Write your own keys | ||
mykeys <- list() | ||
# Create your CITATION.cff file | ||
cff_write(keys = mykeys) | ||
shell: Rscript {0} | ||
|
||
- name: Commit results | ||
run: | | ||
git config --local user.name "github-actions[bot]" | ||
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" | ||
git add CITATION.cff | ||
git commit -m 'Update CITATION.cff' || echo "No changes to commit" | ||
git push origin || echo "No changes to commit" | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,18 @@ | ||
# ----------------------------------------------------------- | ||
# CITATION file created with {cffr} R package, v0.5.0 | ||
# -------------------------------------------- | ||
# CITATION file created with {cffr} R package | ||
# 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 | ||
title: 'geotargets: ''Targets'' Extensions for Geospatial Formats' | ||
version: 0.2.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. | ||
and rasters. Currently provides support for the 'terra' geospatial formats. See | ||
the vignettes for worked examples, demonstrations, and explanations of how to use | ||
the various package extensions. | ||
authors: | ||
- family-names: Tierney | ||
given-names: Nicholas | ||
|
@@ -24,7 +25,8 @@ authors: | |
given-names: Andrew | ||
orcid: https://orcid.org/0000-0002-4565-533X | ||
repository-code: https://github.com/njtierney/geotargets | ||
url: https://njtierney.github.io/geotargets/ | ||
url: http://geotargets.njtierney.com | ||
date-released: '2024-11-29' | ||
contact: | ||
- family-names: Tierney | ||
given-names: Nicholas | ||
|
@@ -43,3 +45,255 @@ keywords: | |
- targets | ||
- vector | ||
- workflow | ||
references: | ||
- type: software | ||
title: targets | ||
abstract: 'targets: Dynamic Function-Oriented ''Make''-Like Declarative Pipelines' | ||
notes: Imports | ||
url: https://docs.ropensci.org/targets/ | ||
repository: https://CRAN.R-project.org/package=targets | ||
authors: | ||
- family-names: Landau | ||
given-names: William Michael | ||
email: [email protected] | ||
orcid: https://orcid.org/0000-0003-1878-3253 | ||
year: '2025' | ||
doi: 10.32614/CRAN.package.targets | ||
version: '>= 1.8.0' | ||
- type: software | ||
title: rlang | ||
abstract: 'rlang: Functions for Base Types and Core R and ''Tidyverse'' Features' | ||
notes: Imports | ||
url: https://rlang.r-lib.org | ||
repository: https://CRAN.R-project.org/package=rlang | ||
authors: | ||
- family-names: Henry | ||
given-names: Lionel | ||
email: [email protected] | ||
- family-names: Wickham | ||
given-names: Hadley | ||
email: [email protected] | ||
year: '2025' | ||
doi: 10.32614/CRAN.package.rlang | ||
version: '>= 1.1.3' | ||
- type: software | ||
title: cli | ||
abstract: 'cli: Helpers for Developing Command Line Interfaces' | ||
notes: Imports | ||
url: https://cli.r-lib.org | ||
repository: https://CRAN.R-project.org/package=cli | ||
authors: | ||
- family-names: Csárdi | ||
given-names: Gábor | ||
email: [email protected] | ||
year: '2025' | ||
doi: 10.32614/CRAN.package.cli | ||
version: '>= 3.6.2' | ||
- type: software | ||
title: terra | ||
abstract: 'terra: Spatial Data Analysis' | ||
notes: Imports | ||
url: https://rspatial.org/ | ||
repository: https://CRAN.R-project.org/package=terra | ||
authors: | ||
- family-names: Hijmans | ||
given-names: Robert J. | ||
email: [email protected] | ||
orcid: https://orcid.org/0000-0001-5872-2872 | ||
year: '2025' | ||
doi: 10.32614/CRAN.package.terra | ||
version: '>= 1.7.71' | ||
- type: software | ||
title: withr | ||
abstract: 'withr: Run Code ''With'' Temporarily Modified Global State' | ||
notes: Imports | ||
url: https://withr.r-lib.org | ||
repository: https://CRAN.R-project.org/package=withr | ||
authors: | ||
- family-names: Hester | ||
given-names: Jim | ||
- family-names: Henry | ||
given-names: Lionel | ||
email: [email protected] | ||
- family-names: Müller | ||
given-names: Kirill | ||
email: [email protected] | ||
- family-names: Ushey | ||
given-names: Kevin | ||
email: [email protected] | ||
- family-names: Wickham | ||
given-names: Hadley | ||
email: [email protected] | ||
- family-names: Chang | ||
given-names: Winston | ||
year: '2025' | ||
doi: 10.32614/CRAN.package.withr | ||
version: '>= 3.0.0' | ||
- type: software | ||
title: zip | ||
abstract: 'zip: Cross-Platform ''zip'' Compression' | ||
notes: Imports | ||
url: https://r-lib.github.io/zip/ | ||
repository: https://CRAN.R-project.org/package=zip | ||
authors: | ||
- family-names: Csárdi | ||
given-names: Gábor | ||
email: [email protected] | ||
year: '2025' | ||
doi: 10.32614/CRAN.package.zip | ||
- type: software | ||
title: lifecycle | ||
abstract: 'lifecycle: Manage the Life Cycle of your Package Functions' | ||
notes: Imports | ||
url: https://lifecycle.r-lib.org/ | ||
repository: https://CRAN.R-project.org/package=lifecycle | ||
authors: | ||
- family-names: Henry | ||
given-names: Lionel | ||
email: [email protected] | ||
- family-names: Wickham | ||
given-names: Hadley | ||
email: [email protected] | ||
orcid: https://orcid.org/0000-0003-4757-117X | ||
year: '2025' | ||
doi: 10.32614/CRAN.package.lifecycle | ||
- type: software | ||
title: crew | ||
abstract: 'crew: A Distributed Worker Launcher Framework' | ||
notes: Suggests | ||
url: https://wlandau.github.io/crew/ | ||
repository: https://CRAN.R-project.org/package=crew | ||
authors: | ||
- family-names: Landau | ||
given-names: William Michael | ||
email: [email protected] | ||
orcid: https://orcid.org/0000-0003-1878-3253 | ||
year: '2025' | ||
doi: 10.32614/CRAN.package.crew | ||
version: '>= 0.9.2' | ||
- type: software | ||
title: knitr | ||
abstract: 'knitr: A General-Purpose Package for Dynamic Report Generation in R' | ||
notes: Suggests | ||
url: https://yihui.org/knitr/ | ||
repository: https://CRAN.R-project.org/package=knitr | ||
authors: | ||
- family-names: Xie | ||
given-names: Yihui | ||
email: [email protected] | ||
orcid: https://orcid.org/0000-0003-0645-5666 | ||
year: '2025' | ||
doi: 10.32614/CRAN.package.knitr | ||
- type: software | ||
title: ncmeta | ||
abstract: 'ncmeta: Straightforward ''NetCDF'' Metadata' | ||
notes: Suggests | ||
url: https://hypertidy.github.io/ncmeta/ | ||
repository: https://CRAN.R-project.org/package=ncmeta | ||
authors: | ||
- family-names: Sumner | ||
given-names: Michael | ||
email: [email protected] | ||
year: '2025' | ||
doi: 10.32614/CRAN.package.ncmeta | ||
- type: software | ||
title: rmarkdown | ||
abstract: 'rmarkdown: Dynamic Documents for R' | ||
notes: Suggests | ||
url: https://pkgs.rstudio.com/rmarkdown/ | ||
repository: https://CRAN.R-project.org/package=rmarkdown | ||
authors: | ||
- family-names: Allaire | ||
given-names: JJ | ||
email: [email protected] | ||
- family-names: Xie | ||
given-names: Yihui | ||
email: [email protected] | ||
orcid: https://orcid.org/0000-0003-0645-5666 | ||
- family-names: Dervieux | ||
given-names: Christophe | ||
email: [email protected] | ||
orcid: https://orcid.org/0000-0003-4474-2498 | ||
- family-names: McPherson | ||
given-names: Jonathan | ||
email: [email protected] | ||
- family-names: Luraschi | ||
given-names: Javier | ||
- family-names: Ushey | ||
given-names: Kevin | ||
email: [email protected] | ||
- family-names: Atkins | ||
given-names: Aron | ||
email: [email protected] | ||
- family-names: Wickham | ||
given-names: Hadley | ||
email: [email protected] | ||
- family-names: Cheng | ||
given-names: Joe | ||
email: [email protected] | ||
- family-names: Chang | ||
given-names: Winston | ||
email: [email protected] | ||
- family-names: Iannone | ||
given-names: Richard | ||
email: [email protected] | ||
orcid: https://orcid.org/0000-0003-3925-190X | ||
year: '2025' | ||
doi: 10.32614/CRAN.package.rmarkdown | ||
- type: software | ||
title: sf | ||
abstract: 'sf: Simple Features for R' | ||
notes: Suggests | ||
url: https://r-spatial.github.io/sf/ | ||
repository: https://CRAN.R-project.org/package=sf | ||
authors: | ||
- family-names: Pebesma | ||
given-names: Edzer | ||
email: [email protected] | ||
orcid: https://orcid.org/0000-0001-8049-7069 | ||
year: '2025' | ||
doi: 10.32614/CRAN.package.sf | ||
- type: software | ||
title: stars | ||
abstract: 'stars: Spatiotemporal Arrays, Raster and Vector Data Cubes' | ||
notes: Suggests | ||
url: https://r-spatial.github.io/stars/ | ||
repository: https://CRAN.R-project.org/package=stars | ||
authors: | ||
- family-names: Pebesma | ||
given-names: Edzer | ||
email: [email protected] | ||
orcid: https://orcid.org/0000-0001-8049-7069 | ||
year: '2025' | ||
doi: 10.32614/CRAN.package.stars | ||
- type: software | ||
title: testthat | ||
abstract: 'testthat: Unit Testing for R' | ||
notes: Suggests | ||
url: https://testthat.r-lib.org | ||
repository: https://CRAN.R-project.org/package=testthat | ||
authors: | ||
- family-names: Wickham | ||
given-names: Hadley | ||
email: [email protected] | ||
year: '2025' | ||
doi: 10.32614/CRAN.package.testthat | ||
version: '>= 3.0.0' | ||
- type: software | ||
title: fs | ||
abstract: 'fs: Cross-Platform File System Operations Based on ''libuv''' | ||
notes: Suggests | ||
url: https://fs.r-lib.org | ||
repository: https://CRAN.R-project.org/package=fs | ||
authors: | ||
- family-names: Hester | ||
given-names: Jim | ||
- family-names: Wickham | ||
given-names: Hadley | ||
email: [email protected] | ||
- family-names: Csárdi | ||
given-names: Gábor | ||
email: [email protected] | ||
year: '2025' | ||
doi: 10.32614/CRAN.package.fs | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.