R/summmary.R
as.character-DiffSummary-method.Rd
Generate Character Representation of DiffSummary Object
# S4 method for class 'DiffSummary'
as.character(x, ...)
the summary as a character vector intended to be cat
ed to
terminal
as.character(
summary(diffChr(letters, letters[-c(5, 15)], format="raw", pager="off"))
)
#> [1] "\nFound differences in 2 hunks:\n 0 insertions, 2 deletions, 24 matches (lines)\n\nDiff map (line:char scale is 1:1 for single chars, 1:1 for char seqs):\n ....D.........D...........\n"
#> attr(,"len")
#> [1] 7