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
Hi all, I started using snapshot to take errors on a package, the use is pretty simple, of the library and how snapshot works, I followed docs to implement it, I have also implemented it in other places.
So, the main point in this issue is how to use snapshots with github, for some reason, actually we can run snapshots locally and all will works just fine, until we try to run the same snapshots on github and for some reason, some package or R it self change the behavior of print things and the tests fails.
So the question would be, how can we get sure to normalize the output of packages or waldo to be able to run the tests locally and on github.
Hi all, I started using snapshot to take errors on a package, the use is pretty simple, of the library and how snapshot works, I followed docs to implement it, I have also implemented it in other places.
So, the main point in this issue is how to use snapshots with github, for some reason, actually we can run snapshots locally and all will works just fine, until we try to run the same snapshots on github and for some reason, some package or R it self change the behavior of print things and the tests fails.
So the question would be, how can we get sure to normalize the output of packages or waldo to be able to run the tests locally and on github.
Here is a sample: CIT-UAI/geotypes#20
You can see there how and why fails, and is because something on printing changed on CI, while locally all is fine.
Maybe, instead update docs, would be possible to when is done
library(testthat)
execute some statements to be sure the output format is common.I think would be useful have some docs about this.
Thx!
The text was updated successfully, but these errors were encountered: