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
Error in as.environment(where) : using 'as.environment(NULL)' is defunct
> traceback()
2: exists("Relation", x$edges)
1: evamtools:::cpm2tm(ex_XOR_AND_OR)
So we probably want to:
Check for the existance of the edges component and error early and with a clear message (like "No edges component in input. You are calling this function in an unintended way and/or with the wrong input").
Use "Relation" %in% colnames(x$edges) instead of exists("Relation", x$edges): the second fails when x$edges does not exist.
The text was updated successfully, but these errors were encountered:
A user might try this
which fails as
So we probably want to:
"Relation" %in% colnames(x$edges)
instead ofexists("Relation", x$edges)
: the second fails whenx$edges
does not exist.The text was updated successfully, but these errors were encountered: