Skip to content

Update tutorials-late episodes for {epidemics} v0.5.0 - #175

Merged
avallecam merged 10 commits into
mainfrom
epidemics-v050
Jul 20, 2026
Merged

Update tutorials-late episodes for {epidemics} v0.5.0#175
avallecam merged 10 commits into
mainfrom
epidemics-v050

Conversation

@joshwlambert

Copy link
Copy Markdown
Member
  • Please check if the PR fulfills these requirements
  • I have read the CONTRIBUTING guidelines
  • A new item has been added to NEWS.md
  • [ ] Tests for the changes have been added (for bug fixes / features) Not applicable
  • Docs have been added / updated (for bug fixes / features)
  • Checks have been run locally and pass
  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

This PR updates the episodes/ in tutorials-late to use the latest version of {epidemics} (v0.5.0).

  • What is the current behavior? (You can also link to an open issue here)

The current behaviour was using the previous release of {epidemics} (v0.4.0).

  • What is the new behavior (if this is a feature change)?

The episodes/ are updated to use the new {epidemics} functions correctly, e.g. not transposing the contact matrix before running epidemics::model_*() as this is now handled internally in {epidemic} v0.5.0.

  • Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

This has breaking changes to the tutorials scripts, but this is required to keep up-to-date with the latest version of the {epidemics} Epivers-TRACE package.

  • Other information:

None.

@joshwlambert
joshwlambert requested a review from avallecam July 20, 2026 10:11
@github-actions

Copy link
Copy Markdown
Contributor

🆗 Pre-flight checks passed 😃

This pull request has been checked and contains no modified workflow files or spoofing.

Results of any additional workflows will appear here when they are done.

@joshwlambert

Copy link
Copy Markdown
Member Author

The {renv} lock file will need to be updated either in this PR or straight afterwards to ensure the tutorials are using {epidemics} v0.5.0. @avallecam please let me know how to proceed as I'm unsure if the package versions used are handled automatically or manually.

@avallecam avallecam left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

accepting to incorporate the transposition step

@avallecam
avallecam merged commit b549375 into main Jul 20, 2026
8 checks passed
@avallecam
avallecam deleted the epidemics-v050 branch July 20, 2026 18:23
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