stan-dev / stan-dev/bayesplot

Running devtools::test() locally several vdiffr::expect_doppelganger tests fail

Open
#407 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
442
Forks
93
Avg merge
3h 11m
Merged PRs (30d)
1

Description

When running devtools::test() locally, several tests fail, all from vdiffr::expect_doppelganger().

Failing lines:

  • test-mcmc-nuts.R: 100, 103, 112, 115, 124, 127, 139
  • test-mcmc-scatter-and-parcoord.R: 444, 452, 460, 468

Can these snapshots be safely updated, or is further investigation needed?

Environment:

  • R version: 4.5.2
  • ggplot2 version: 4.0.1
  • OS: Linux Mint 22.2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Run devtools::test() and inspect the listed expect_doppelganger calls in test-mcmc-nuts.R and test-mcmc-scatter-and-parcoord.R. Compare the failures under R 4.5.2, ggplot2 4.0.1, and Linux Mint 22.2 to determine whether the snapshots can be safely updated or require further investigation; done means resolving the listed failures with a justified outcome.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data-visualization, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.