-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Perform tests in different operative systems #125
Conversation
@mdingemanse, your hypotheses was 100% right. Looking into |
The OS dependency of saved plots seems to be a serious issue. See for instance here. This is a big problem regarding snapshots. |
Next step: take a look at |
Just to note that while ragg may offer a solution for this micro issue, we risk getting rabbitholed quite far from the design goals of the package and the aims of the tests. For the functionality of I can live with the few times where we'd see a very subtle difference that is not a difference because we ran a test on different OSs. The main issue to solve when it comes to different Issues is the stray Rplots.pdf image being created on Windows, not *nix. |
Take a look, @mdingemanse. I hot-fixed it by running the snapshot tests conditionally, i.e.:, only in Linux. Surprisingly, there doesn't seem to be a more elegant way of guaranteeing identical outputs across OSs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay for now, though I think the more elegant solution will be to break the plot saving code out of the function fully and expect users to find their own OS-specific ways of doing it
No description provided.