We have some code using dplyr::first() on an S4 input that's broken by the change to 1.1.0.
I don't see this mentioned in the NEWS, so I'm filing this bug in case it's unintentional / to find workarounds.
minimal-ish Reprex:
library(RProtoBuf)
example("asMessage", package="RProtoBuf")
x = asMessage( tutorial.Person )
## before 1.1.0
dplyr::first(x)
# [1] "Person"
## after 1.1.0
dplyr::first(x)
# Error in vec_size(x) : `x` must be a vector, not a <Message> object.
We have some code using
dplyr::first()on an S4 input that's broken by the change to 1.1.0.I don't see this mentioned in the NEWS, so I'm filing this bug in case it's unintentional / to find workarounds.
minimal-ish Reprex: