christopherkenny / bskyr

Interact with Bluesky Social
http://christophertkenny.com/bskyr/
Other
7 stars 1 forks source link

Bskyr:::proc error for posts with video #4

Open jamesftierney opened 3 days ago

jamesftierney commented 3 days ago

Thanks for contributing this package! I am wondering if bskyr:::proc needs to be updated to reflect the new video capabilities, in particular new columns aspectRatio, video, and captions. Calling bs_get_post_thread to a post with a video reports back the following error, which I think traces back to how dplyr is turning the lists into a tibble. Calling that function to a post with no video does not report back the error. I don't know where else bskyr:::proc or related processes create lists or tibbles as to which the new video capabilities will require new variables, but wanted to flag it. Not asking for video capabilities in bskyr, which I assume will require a bigger update, but just wanted to note an error that is thrown for a certain kind of post. Thanks!

! Tibble columns must have compatible sizes.
• Size 2: Column `aspectRatio`.
• Size 4: Column `video`.
• Size 5: Column `captions`.
ℹ Only values of size one are recycled.
christopherkenny commented 2 days ago

Thanks for using the package and letting me know. It almost surely needs an update and I'll give it a look this week.