Skip to content

[codex] Add CITATION.cff - #91

Merged
gvegayon merged 1 commit into
masterfrom
codex/add-citation-cff
Sep 11, 2026
Merged

gvegayon merged 1 commit into
masterfrom
codex/add-citation-cff

Conversation

@gvegayon

Copy link
Copy Markdown
Member

GitHub cannot presently discover structured citation metadata for this R package. This pull request adds a root CITATION.cff, preserves the repository's existing citation preference, excludes the repository-only file from the R source tarball, and adds a read-only schema-validation workflow.

The existing inst/CITATION remains authoritative for citation(); the new CFF enables GitHub and other CFF consumers without changing package behavior.

Validated with cffconvert --validate, cffr::cff_validate(), and R CMD build --no-build-vignettes; the source tarball excludes CITATION.cff.

Note: This pull request was prepared by GPT-5.6 Terra on behalf of gvegayon.

@github-actions

Copy link
Copy Markdown

Version bump check ✅

group base head bump
netdiffuseR 1.25.0 1.25.0 ⏭️ skipped

Checked 1 group(s) against ac9bd4cbb71ac77fcfdcb7772312041884ddaf85 · please-bump

@gvegayon
gvegayon marked this pull request as ready for review September 11, 2026 05:38
Copilot AI lite review requested due to automatic review settings September 11, 2026 05:38
@gvegayon
gvegayon merged commit a58cc04 into master Sep 11, 2026
11 of 12 checks passed
@gvegayon
gvegayon deleted the codex/add-citation-cff branch September 11, 2026 05:38

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Split the article page range into separate start and end fields in CITATION.cff.

Pull request overview

Adds structured citation metadata for GitHub/CFF consumers while preserving R package citation behavior and validating the metadata in CI.

Changes:

  • Adds root CITATION.cff.
  • Excludes it from R source tarballs.
  • Adds a read-only schema-validation workflow.
File summaries
File Summary
CITATION.cff Adds package and article citation metadata; the page range should use separate start and end fields.
.Rbuildignore Excludes CITATION.cff from source tarballs.
.github/workflows/validate-citation-cff.yml Validates CFF syntax and schema.
Review details

Suppressed comments (1)

CITATION.cff:49

  • start is the first-page field in CFF, not a pages-range field. Recording 235-248 here makes the whole range the start page and omits the end page, so structured consumers can render the preferred citation incorrectly. Split the range into separate start and end values.
  start: 235-248
  • Files reviewed: 3/3 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants