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
Layer() now ensures that the layer names are set early (simplifying name map extraction), and performs some additional checks around network attributes, including checking for reserved vertex attributes.
if (length(found)) warning(type, " attribute ", dQuote(res), " found in layer(s) ", dQuote(found), " is reserved by ", sQuote("Layer()"), " and will be overwritten.", immediate.=TRUE)
38
+
}
39
+
36
40
if(length(extra_attrs))
37
-
message(type, " attribute(s) ", paste.and(sQuote(extra_attrs)), " are not found in the first layer and will not be visible to the ", sQuote("formula"), " in ", sQuote("L(formula, Ls)"), ".")
41
+
message(type, " attribute(s) ", paste.and(dQuote(extra_attrs)), " are not found in the first layer and will not be visible to the ", sQuote("formula"), " in ", sQuote("L(formula, Ls)"), ".")
function(nw, al) if(a%in%al) identical(getter(nw, a, unlist=FALSE), getter(nwl[[1]], a, unlist=FALSE)) elseTRUE
45
49
) %>% all())
46
50
if(any(differing))
47
-
message(type, " attribute(s) ", paste.and(sQuote(attrs1[differing])), " have values different from those in the first layer; ", sQuote("formula"), " in ", sQuote("L(formula, Ls)"), " will not see them.")
51
+
message(type, " attribute(s) ", paste.and(dQuote(attrs1[differing])), " have values different from those in the first layer; ", sQuote("formula"), " in ", sQuote("L(formula, Ls)"), " will not see them.")
if(!is.list(.active) || length(.active) != length(nwl)) stop(sQuote(".active="), " argument if given must be a list of attribute specifications, one for each layer.")
0 commit comments