diffobj
diffobj copied to clipboard
Compare R Objects with a Diff
Works as expected normally: ``` > diffPrint(1:100, (1:100)[-45], context=1, format="raw") < 1:100 > (1:100)[-45] @@ 5,3 @@ @@ 5,3 @@ [33] 33 34 35 36 37 38 39 40 [33]...
Need a mechanism of tracking both the top level guidelines that belong to the actual high level structure (e.g. `, , x, y, x` for the array, `$a$b$c` for the...
The `interactive` parameter to the `diff*` funs doesn't necessarily control all the instances of interactive. One possible issue is `make_blocking_fun` since that uses readline, but doesn't directly access the diff...
Switch `align_eq` to use a real diff, with the equal tokens set up in such way that the position of matching tokens matter, e.g. `_ _ 2` is not equal...
 Looks like the escaped quotes are tricking the regexp. Also opens up the issue of whether we should allow breaking up of...
Notice how `disp.width` does not help in the least avoid wrapping: ``` > my.pal my.style my.style@[email protected] my.pal["ansi256", "light", "rgb"] ## Output has no format now for format/color.mode/brightness > ## we...
Really intended to address this message: ``` No meaningful visible differences between objects, but there are some differences suppressed by `ignore.white.space`, `convert.hz.white.space`, and/or `trim`. Set all those arguments to FALSE...
Low priority, may not be worth it, but it would be nice if for this type of error: ``` > diffPrint(letters, LETTERS, trim=function(x, y) stop("boom")) Error in trim_fun(obj, obj.as.chr) :...
 Not sure if we'll do this. Pretty big departure from line by line diff, but it does seem like some spacial treatment...