testthat
testthat copied to clipboard
Problem formatting test output expect_snapshot on GitHub CI actions
Please help with the problem of different output on the received snapshot in the local PC and compare with the created snapshot on CI (GitHub action). The only difference is the formatting of the output due to the width, which will result in a test failure. See my picture.

Thank you for solving the problem. Any workaround would also help.
Is you package public? Can you share the code?
Unfortunately, I do not have permission to publish the code. Repository is private. However, the output of the tested function is the list inside which is the tibble object.
I have problems with test results on other developer computers too (screenshots from snapshot_review):

I think you're mostly likely to find help asking at the tibble repo, as they might have some idea why you're seeing differences.