Skip to content

Conversation

@d-morrison
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings December 3, 2025 22:46
Copilot finished reviewing on behalf of d-morrison December 3, 2025 22:47
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a bug in the example code for the expect_snapshot_data() function. The example was incorrectly passing the bare name iris to the name parameter, when it should have been passing the character string "iris" since the function signature expects a character value. The example has also been wrapped in \dontrun{} to prevent it from executing during package checks, which is appropriate since this is a testing utility function that requires a testthat context.

  • Fixed the name parameter in the example from iris (bare name) to "iris" (character string)
  • Wrapped the example in \dontrun{} to prevent execution during package checks
  • Incremented development version from 0.0.0.9043 to 0.0.0.9044

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
R/expect_snapshot_data.R Fixed example to use string literal for name parameter and wrapped in \dontrun{}
man/expect_snapshot_data.Rd Regenerated documentation reflecting the corrected example
DESCRIPTION Incremented development version number

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov
Copy link

codecov bot commented Dec 3, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

Files with missing lines Coverage Δ
R/expect_snapshot_data.R 100.00% <ø> (ø)

@github-actions
Copy link

github-actions bot commented Dec 3, 2025

📖 https://ucd-serg.github.io/serodynamics/preview/pr139
Preview documentation for this PR (at commit 5d9fe00)

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants