You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get this hard-to-track error when I try to wrap a diffPrint (or any similar function) in another function and pass it dots:
library(diffobj)
fn<-function(target, current, ...) {
diffPrint(target, current, ...)
}
fn("a", "b", format="raw")
#> Error in match.call(definition = get.fun, call = found.call) : #> ... used in a situation where it does not exist#> < NULL #> > NULL #> @@ 1 / 1 @@ #> < [1] "a" #> > [1] "b"
The especially weird part is that while the error prints, it does not stop execution - I get the diff object back. And it is an error - it does not go away if I suppress messages or warnings.
Also a bug. The error is caught, but it doesn't have a subsequent diffobj level error that should happen, although this should all work fine in the first place. Problem is in extract_call.
I get this hard-to-track error when I try to wrap a diffPrint (or any similar function) in another function and pass it dots:
The especially weird part is that while the error prints, it does not stop execution - I get the diff object back. And it is an error - it does not go away if I suppress messages or warnings.
Created on 2019-04-21 by the reprex package (v0.2.1)
Session info
The text was updated successfully, but these errors were encountered: