diff --git a/.Rbuildignore b/.Rbuildignore index cb13bba..ae1e036 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -23,3 +23,4 @@ netplot\._.*\.tar\.gz ^\.claude$ ^CLAUDE\.md$ figures/logo\.svg +^CITATION\.cff$ diff --git a/.github/workflows/validate-citation-cff.yml b/.github/workflows/validate-citation-cff.yml new file mode 100644 index 0000000..59f6976 --- /dev/null +++ b/.github/workflows/validate-citation-cff.yml @@ -0,0 +1,24 @@ +name: Validate CITATION.cff + +on: + pull_request: + paths: + - CITATION.cff + - .github/workflows/validate-citation-cff.yml + push: + paths: + - CITATION.cff + - .github/workflows/validate-citation-cff.yml + workflow_dispatch: + +permissions: + contents: read + +jobs: + validate: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - uses: citation-file-format/cffconvert-github-action@4cf11baa70a673bfdf9dad0acc7ee33b3f4b6084 # 2.0.0 + with: + args: "--validate" diff --git a/CITATION.cff b/CITATION.cff new file mode 100644 index 0000000..e7059d3 --- /dev/null +++ b/CITATION.cff @@ -0,0 +1,44 @@ +cff-version: 1.2.0 +message: 'To cite package "netplot" in publications use:' +type: software +license: MIT +title: 'netplot: Beautiful Graph Drawing' +version: 0.4-0 +doi: 10.32614/CRAN.package.netplot +abstract: A graph visualization engine that emphasizes on aesthetics at the same time + providing default parameters that yield out-of-the-box-nice visualizations. The + package is built on top of 'The Grid Graphics Package' and seamlessly work with + 'igraph' and 'network' objects. +authors: +- family-names: Vega Yon + given-names: George + email: g.vegayon@gmail.com + orcid: https://orcid.org/0000-0002-3171-0844 +- family-names: Bischoff + given-names: Porter + email: portergbischoff@gmail.com + orcid: https://orcid.org/0009-0004-6742-6281 +preferred-citation: + type: manual + title: 'netplot: Beautiful Graph Drawing' + authors: + - family-names: Vega Yon + given-names: George + orcid: https://orcid.org/0000-0002-3171-0844 + email: g.vegayon@gmail.com + - family-names: Bischoff + given-names: Porter + orcid: https://orcid.org/0009-0004-6742-6281 + email: portergbischoff@gmail.com + year: '2026' + notes: R package version 0.4-0 + url: https://github.com/USCCANA/netplot + doi: 10.32614/CRAN.package.netplot +repository: https://CRAN.R-project.org/package=netplot +repository-code: https://github.com/USCCANA/netplot +url: https://usccana.github.io/netplot/ +contact: +- family-names: Vega Yon + given-names: George + email: g.vegayon@gmail.com + orcid: https://orcid.org/0000-0002-3171-0844