Skip to content

Add more tests#5

Merged
stitam merged 9 commits intomainfrom
tests
Mar 3, 2026
Merged

Add more tests#5
stitam merged 9 commits intomainfrom
tests

Conversation

@stitam
Copy link
Copy Markdown
Collaborator

@stitam stitam commented Mar 3, 2026

In PR #4 a few tests failed on ubuntu-devel. I updated these tests so they are more robust to numerical drift.

I also added tests regarding parallelisation. These tests will be skipped on CRAN for simplicity, but they will be included in checks. covr::package_coverage() runs as CRAN by default, so I modified README.Rmd to tell covr to include these tests when calculating coverage.

Plotting functions seem difficult to test on CI. I kept vdiffr tests so these are tested locally, but for the CI and specifically for covr I added a hack in which I am only testing that the returned objects are ggplot objects.. Since I always run tests locally before opening a PR, I feel that this hack is acceptable.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 3, 2026

Updated repo README file.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 3, 2026

Repo README file is up to date. Nothing to commit.

@stitam stitam merged commit 02cb9e3 into main Mar 3, 2026
6 checks passed
@stitam stitam deleted the tests branch March 3, 2026 21:38
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.

1 participant