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
The parse_poll function doesn't properly parse polls with non-empty own_votes.
When own_votes is not empty, the following error occurs:
Error in `dplyr::bind_rows()` at rtoot/R/datastructure.R:117:8:
! Argument 1 must have names.
Run `rlang::last_error()` to see where the error occurred.
I would be happy to work on a fix, but I'm not sure how to add a failing test for this in keeping with the project's existing tests. I see the vcr fixtures, and the .Rds files under tests\testdata, but I'm not quite sure how to proceed.
The text was updated successfully, but these errors were encountered:
The
parse_poll
function doesn't properly parse polls with non-emptyown_votes
.When
own_votes
is not empty, the following error occurs:The JSON looks like this:
Copied from https://docs.joinmastodon.org/entities/Poll/#example
I would be happy to work on a fix, but I'm not sure how to add a failing test for this in keeping with the project's existing tests. I see the
vcr
fixtures, and the .Rds files undertests\testdata
, but I'm not quite sure how to proceed.The text was updated successfully, but these errors were encountered: