RobertMyles / tidyRSS

An R package for extracting 'tidy' data frames from RSS, Atom and JSON feeds
https://robertmyles.github.io/tidyRSS/
Other
82 stars 20 forks source link

tidyfeed error in tibble: columns must have compatible sizes #78

Open jzadra opened 7 months ago

jzadra commented 7 months ago

For this feed: independent.com/feed, I get the following error from tidyfeed():

Error in `tibble()`:
! Tibble columns must have compatible sizes.
• Size 10: Existing data.
• Size 9: Column `item_guid`.
ℹ Only values of size one are recycled.

It looks to me like one of the items doesn't have a parameter set for item_guid. Perhaps rss_parse() could handle an empty column and fill it with NA? It looks like there is lots of logic in the entries <- ... code to fill default values with def (NAcharacter), but for some reason it isn't handling item_guid.