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
This leads to AlignAssign incorrectly formatting code of the following form
if (type=="parametric") c(.ns, .fn) %<-% c("metafor", "rma")
if (type=="robust") c(.ns, .fn) %<-% c("metaplus", "metaplus")
if (type=="bayes") c(.ns, .fn) %<-% c("metaBMA", "meta_random")
to
if (type=="parametric") c(.ns, .fn) %<-% c("metafor", "rma")
if (type=="robust") c(.ns, .fn) % <-% c("metaplus", "metaplus")
if (type=="bayes") c(.ns, .fn) % <-% c("metaBMA", "meta_random")
A way around this is either to make guess_operator() smart enough to detect multiple assignment operator, or to just add support for the multiple assignment operator.
The text was updated successfully, but these errors were encountered:
The zeallot package provides multiple assignment operator
%<-%
, but{AlignAssign}
detects it as assignment operator.Created on 2021-11-11 by the reprex package (v2.0.1)
This leads to
AlignAssign
incorrectly formatting code of the following formto
A way around this is either to make
guess_operator()
smart enough to detect multiple assignment operator, or to just add support for the multiple assignment operator.The text was updated successfully, but these errors were encountered: