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 was trying to multiply a pillar_num vector with a logical vector, which resulted in the following error:
> pillar::num(c(1:3)) * c(TRUE, TRUE, FALSE)
Error in vec_arith.pillar_num.default("*", e1, e2) :
is.numeric(y) is not TRUE
Since c(1:3) * c(TRUE, TRUE, FALSE) works fine I was expecting the above to work as well. I wasn't quite sure if the above failing is expected behaviour or a bug, so I'm flagging it just in case. Thank you!
The text was updated successfully, but these errors were encountered:
I was trying to multiply a pillar_num vector with a logical vector, which resulted in the following error:
Since
c(1:3) * c(TRUE, TRUE, FALSE)
works fine I was expecting the above to work as well. I wasn't quite sure if the above failing is expected behaviour or a bug, so I'm flagging it just in case. Thank you!The text was updated successfully, but these errors were encountered: