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 upall.equal.recmap : (target, current) -> {TRUE, FALSE} / if is not TRUE, then a string is returned #11
Comments
commit e98cee0 |
if all.equal(target$x, current$x) is not TRUE, then a string is
returned indicating what the difference is. This precludes the
combination with & and leads to when this function is called and objects
are not equal:
Error in all.equal(target$x, current$x) & all.equal(target$y, current$y) :
operations are possible only for numeric, logical or complex types
At least the use of isTRUE() should be considered to ensure that
scalar logicals are combined with &.
thanks to Bettina Gruen