If I compare two character strings:
chr1 <- "This is a poem,
a poem about nothing,
Just used for testing,
Not made for thinking,
Just let it go
Still just a poem
Not a great poem
But it's for testing
And thus it's a poem
The end"
chr2 <- ""
waldo::compare(chr1, chr2)
This prints the entire diff.
But if I add another line to my poem:
chr1 <- "This is a poem,
a poem about nothing,
Just used for testing,
Not made for thinking,
Just let it go
Still just a poem
Not a great poem
But it's for testing
And thus it's a poem
The end
Wait one more"
chr2 <- ""
waldo::compare(chr1, chr2)
The last line of the diff gets cut off. I think it stops printing after 10 diff lines? I'm guessing there is a Sys.env I might need to change?
If I compare two character strings:
This prints the entire diff.
But if I add another line to my poem:
The last line of the
diffgets cut off. I think it stops printing after 10 diff lines? I'm guessing there is aSys.envI might need to change?