You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I'm using the pvalue snapshot file twice over. The logic is
fig2=pvalue & fig4=pvalue => fig2=fig4 .
This works fine locally, but on github it has a problem with re-using the pvalue snapshot file
Error in testthat::expect_snapshot_file(testcase, name = file, cran = cran, variant = variant, compare = testthat::compare_file_text): Snapshot file names must be unique. name has already been used.
Activity
trevorld commentedon Feb 20, 2026
I speculate that locally you have an older version of
{testthat}whereas github is running a newer version of{testthat}.The release notes for
{testthat}3.3.0 (released on Nov. 13th, 2025) state that:so this seems like the "expected" behavior going forward.