Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upIdentical files show non-visible diff #133
Comments
|
Oh, I note that this doesn't seem to have anything to do with white space: diffFile(x, y, format = "raw", trim = FALSE, ignore.white.space = TRUE,
convert.hz.white.space = FALSE)
#> No visible differences between objects, but objects are *not* `all.equal`:
#> - 1 string mismatch
#> < x
#> > y
#> @@ 1,2 / 1,2 @@
#> Hello
#> there |
|
This is a bug,
Thanks for reporting with reprex. I'll look into fixing it over the next couple of weeks. |
When I compare two files that should have the same contents,
diffFilereports a non-visible difference. Is this expected behavior? Is there a way to suppress reporting of this invisible difference, if it represents something real?Created on 2019-04-21 by the reprex package (v0.2.1)
Session info