Skip to content

Miscellaneous updates for v1.0.0 release - #235

Merged
joshwlambert merged 32 commits into
epiforecasts:mainfrom
joshwlambert:misc-v1.0.0
Jun 15, 2026
Merged

joshwlambert merged 32 commits into
epiforecasts:mainfrom
joshwlambert:misc-v1.0.0

Conversation

@joshwlambert

@joshwlambert joshwlambert commented Jun 1, 2026 •

Copy link
Copy Markdown
Collaborator

This PR makes a range of minor updates to the package to release v1.0.0 (#233). Changes are:

  • Add cran-comments.md file
  • Increment version number to v1.0.0
  • Update license year
  • Normalise DESCRIPTION (desc::desc_normalize())
  • Add hex logo (Hex logo? #129)
  • Add new installation instructions to README
  • Update README text and add citations to README
  • Change @pearsonca role from ctb -> aut
  • Add spell checking (EN-GB) (spelling::spell_check_setup())
  • Update package title and description in DESCRIPTION
  • Add pkgdown/favicon/
  • Move scenario_sim() to top of pkgdown reference site in _pkgdown.yml

Summary by CodeRabbit

  • New Features

    • Added spell-check testing with configurable word list.
  • Documentation

    • Updated package title and description to reflect targeted intervention capabilities.
    • Enhanced installation instructions with additional setup options.
    • Added bibliography support with research references.
    • Corrected typos in documentation and vignettes.
  • Chores

    • Version bumped to 1.0.0.
    • Updated copyright year range to 2020–2026.

@joshwlambert
joshwlambert requested review from pearsonca and sbfnk June 1, 2026 13:13
@coderabbitai

coderabbitai Bot commented Jun 1, 2026 •

Copy link
Copy Markdown

Review Change Stack

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 549fd912-5685-453c-879a-ffd21e0b51d2

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Walkthrough

The PR prepares the ringbp package for version 1.0.0 release by updating core metadata (version, title, description, authors, copyrights), refreshing user-facing documentation with installation guidance and references, modernising the package help text, extending bibliography entries, and introducing spelling validation infrastructure with supporting word lists and vignette corrections.

Changes

Version 1.0.0 Release

Layer / File(s) Summary
Package version and release metadata
DESCRIPTION, NEWS.md, LICENSE, LICENSE.md, .Rbuildignore, cran-comments.md
Version bumped to 1.0.0 with title/description rewritten for branching-process targeted-intervention model; authors reformatted with updated roles and ORCIDs; language set to en-GB; licence copyright year extended to 2020–2026; Suggests now includes spelling and testthat (>= 3.0.0); CRAN release notes added.
User-facing documentation and installation
README.Rmd, README.md
README refactored with bibliography support, logo in title, rewritten introduction, expanded installation options (CRAN, R-universe, development), plot example transparency removed, extinction probability output adjusted, and new References section added.
Package help and formal documentation
man/ringbp-package.Rd
Package documentation expanded to describe branching-process transmission simulation with flexible epidemiological parameters and targeted interventions; Hellewell et al. (2020) citation added; seealso links normalised.
Bibliography and references
vignettes/references.bib
New BibTeX entry (Kucharski2016) added for ring vaccination literature, supporting expanded documentation references.
Quality checks and vignette corrections
tests/spelling.R, inst/WORDLIST, vignettes/ringbp-model.Rmd, vignettes/ringbp.Rmd
Conditional spelling test added for vignettes; static word-list created with 66 entries to suppress false positives; typo fixed in scenario description (happense → happens); intervention defaults clarified (quarantine explicitly noted as inactive by default).

Possibly related PRs

  • epiforecasts/ringbp#223: Modifies DESCRIPTION author roles and contributor attribution, overlapping with this PR's Authors@R restructuring.
  • epiforecasts/ringbp#201: Updates DESCRIPTION Suggests to position tinyplot and modifies vignettes/ringbp.Rmd, directly overlapping with changes here.
  • epiforecasts/ringbp#160: Updates DESCRIPTION to use testthat (>= 3.0.0) and Config/testthat settings, matching this PR's test configuration changes.

Suggested labels

documentation

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title is vague and generic, using the non-descriptive term 'Miscellaneous updates' which does not convey meaningful information about the primary change despite the PR containing substantial modifications across multiple files for the v1.0.0 release. Consider using a more specific title that highlights the primary change, such as 'Release v1.0.0: update package metadata, documentation, and add spell checking' or similar.
✅ Passed checks (4 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot 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.

Actionable comments posted: 4

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@README.md`:
- Line 2: The README's header image tag (<img ... />) lacks alt text which
impairs accessibility; update the <img> element in the header line (the `<img>`
tag next to the project title `{ringbp}`) to include a meaningful alt attribute
(e.g., alt="ringbp logo" or a short descriptive phrase) so screen readers and
assistive technologies receive context.
- Around line 7-13: The README badge URLs use an invalid repository path string
"joshwlambert/ringbpepiforecasts/ringbp"; find all occurrences of that exact
substring in the README (look for the badge lines containing the shields.io,
GitHub Actions, and Codecov URLs) and replace them with the correct owner/repo
format (e.g., "owner/repo") appropriate for this project so each badge link is a
valid "owner/repo" path and Codecov/Actions branch params are correct; ensure
the updated badge URLs (shields.io, GitHub Actions badge, and codecov links)
point to the actual repo and branch names instead of the malformed
triple-segment path.

In `@README.Rmd`:
- Line 17: The inline image tag in README.Rmd lacks an alt attribute; update the
<img> element (the logo image tag) to include a meaningful alt text (e.g.,
alt="ringbp package logo" or alt="Logo: ringbp infectious disease simulation
package") while keeping the existing attributes (align="right" width="120") to
provide screen-reader support and accessibility.

In `@vignettes/references.bib`:
- Line 27: The BibTeX entry uses a non-standard capitalized month macro "month =
Jan,"; update the month macro to the standard lowercase form by replacing "month
= Jan" with "month = jan" in the vignettes/references.bib entry so it uses the
canonical BibTeX month identifier.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 47484568-28af-4c34-aa96-ae9060e2acac

📥 Commits

Reviewing files that changed from the base of the PR and between 0ef2fee and c6dd06e.

⛔ Files ignored due to path filters (2)
  • man/figures/README-plot-1.png is excluded by !**/*.png
  • man/figures/logo.svg is excluded by !**/*.svg
📒 Files selected for processing (14)
  • .Rbuildignore
  • DESCRIPTION
  • LICENSE
  • LICENSE.md
  • NEWS.md
  • README.Rmd
  • README.md
  • cran-comments.md
  • inst/WORDLIST
  • man/ringbp-package.Rd
  • tests/spelling.R
  • vignettes/references.bib
  • vignettes/ringbp-model.Rmd
  • vignettes/ringbp.Rmd

Comment thread README.md Resolved
Comment thread README.md Resolved
Comment thread README.Rmd Resolved
Comment thread vignettes/references.bib Resolved

@pearsonca pearsonca left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM - minor items, take em or leave em.

Comment thread man/figures/logo.svg Resolved
Comment thread man/figures/README-plot-1.png Resolved
Comment thread README.Rmd Resolved
@joshwlambert

Copy link
Copy Markdown
Collaborator Author

{ringbp} has been submitted to CRAN. Once accepted I will merge this PR and then make a GitHub release for v1.0.0.

@joshwlambert

Copy link
Copy Markdown
Collaborator Author

Updates from CRAN reviewer requests. {ringbp} has now been resubmitted to CRAN.

@joshwlambert

Copy link
Copy Markdown
Collaborator Author

{ringbp} is now hosted on CRAN: https://cran.r-project.org/package=ringbp.

@joshwlambert
joshwlambert added this pull request to the merge queue Jun 15, 2026
Merged via the queue into epiforecasts:main with commit 80d6a1f Jun 15, 2026
8 checks passed
@joshwlambert
joshwlambert deleted the misc-v1.0.0 branch June 15, 2026 14:11
@joshwlambert joshwlambert mentioned this pull request Jun 15, 2026
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