Once again a post praising XML. đ These are notes from a quite particular use case: what if you want to replace the usage of a function with another one in many scripts, without manual edits and without touching lines that do not contain a call to replace?
The real life example that inspired this post is the replacement of all calls to expect_that(…, equals(…))
, like expect_that(a, equals(1))
, in igraph tests with expect_equal()
. If you’re a newer package developer who grew up with …