From 536607f309a0954226c78dbb1c879a0b8ab846c6 Mon Sep 17 00:00:00 2001 From: "George G. Vega Yon" Date: Thu, 10 Sep 2026 23:21:45 -0600 Subject: [PATCH] Add CITATION.cff --- .Rbuildignore | 3 +- .github/workflows/validate-citation-cff.yml | 24 +++++++ CITATION.cff | 74 +++++++++++++++++++++ 3 files changed, 100 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/validate-citation-cff.yml create mode 100644 CITATION.cff diff --git a/.Rbuildignore b/.Rbuildignore index 3ce2338..db81b4a 100755 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -40,4 +40,5 @@ makefile netdiffuseR\.Rcheck ^\.devcontainer$ ^\.vscode$ -^scripts$ \ No newline at end of file +^scripts$ +^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..7403e33 --- /dev/null +++ b/CITATION.cff @@ -0,0 +1,74 @@ +cff-version: 1.2.0 +message: 'To cite package "netdiffuseR" in publications use:' +type: software +license: MIT +title: 'netdiffuseR: Analysis of Diffusion and Contagion Processes on Networks' +version: 1.25.0 +doi: 10.32614/CRAN.package.netdiffuseR +abstract: 'Empirical statistical analysis, visualization and simulation of diffusion + and contagion processes on networks. The package implements algorithms for calculating + network diffusion statistics such as transmission rate, hazard rates, exposure models, + network threshold levels, infectiousness (contagion), and susceptibility. The package + is inspired by work published in Valente, et al., (2015) ; + Valente (1995) , Myers (2000) , Iyengar + and others (2011) , Burt (1987) ; + among others.' +authors: +- family-names: Vega Yon + given-names: George + email: g.vegayon@gmail.com + orcid: https://orcid.org/0000-0002-3171-0844 +- family-names: Valente + given-names: Thomas + email: tvalente@usc.edu + orcid: https://orcid.org/0000-0002-8824-5816 +- family-names: Olivera Morales + given-names: Anibal + orcid: https://orcid.org/0009-0000-3736-7939 +preferred-citation: + type: article + title: Diffusion/Contagion Processes on Social Networks + authors: + - family-names: Valente + given-names: Thomas + orcid: https://orcid.org/0000-0002-8824-5816 + email: tvalente@usc.edu + - family-names: Vega Yon + given-names: George + orcid: https://orcid.org/0000-0002-3171-0844 + email: g.vegayon@gmail.com + journal: Health Education & Behavior + year: '2020' + month: '2' + volume: '47' + issue: '2' + issn: 1090-1981 + doi: 10.1177/1090198120901497 + url: https://doi.org/10.1177/1090198120901497 + notes: 'PMID: 32090655' + start: 235-248 +repository: https://CRAN.R-project.org/package=netdiffuseR +repository-code: https://github.com/USCCANA/netdiffuseR +url: https://USCCANA.github.io/netdiffuseR/ +contact: +- family-names: Vega Yon + given-names: George + email: g.vegayon@gmail.com + orcid: https://orcid.org/0000-0002-3171-0844 +references: +- type: manual + title: 'netdiffuseR: Analysis of Diffusion and Contagion Processes on Networks' + authors: + - family-names: Vega Yon + given-names: George + orcid: https://orcid.org/0000-0002-3171-0844 + - family-names: Olivera Morales + given-names: Anibal + orcid: https://orcid.org/0009-0000-3736-7939 + - family-names: Valente + given-names: Thomas + orcid: https://orcid.org/0000-0002-8824-5816 + year: '2026' + notes: R package version 1.25.0 + url: https://github.com/USCCANA/netdiffuseR + doi: 10.32614/CRAN.package.netdiffuseR