diffObj

0th

Percentile

Diff Objects

Compare either the printed or str screen representation of R objects depending on which is estimated to produce the most useful diff. The selection process tries to minimize screen lines while maximizing differences shown subject to display constraints. The decision algorithm is likely to evolve over time, so do not rely on this function making a particular selection under specific circumstances. Instead, use diffPrint or diffStr if you require one or the other output.

Usage
diffObj(target, current, ...)
Arguments
target
the reference object
current
the object being compared to target
...
unused, for compatibility of generics with methods
Value

a Diff object; see diffPrint.

See Also

diffPrint for details on the diff* functions, diffStr, diffChr to compare character vectors directly diffDeparse to compare deparsed objects

Aliases
  • diffObj
Documentation reproduced from package diffobj, version 0.1.2, License: GPL-3

Community examples

Looks like there are no examples yet.