This blog is updated daily.
‘all.equal(f, g)’ for ‘function’s now by default also compares their ‘environment(.)’s, notably via new ‘all.equal’ method for class ‘function’. Comparison of ‘nls()’ fits, e.g., may now need ‘all.equal(m1, m2, check.environments=FALSE)’.