tuber icon indicating copy to clipboard operation
tuber copied to clipboard

Error in if (n_replies[i] == 1) { : missing value where TRUE/FALSE needed

Open balthasars opened this issue 4 years ago • 1 comments

Was just running get_all_comments() for this video which has received comments. For some reason however, the request fails.

Any ideas on why this might happen?

get_all_comments("xwvk_yKjmdI")
Error in if (n_replies[i] == 1) { : missing value where TRUE/FALSE needed
In addition: Warning messages:
1: In seq_len(n_replies) : first element used of 'length.out' argument
2: In seq_len(n_replies) : first element used of 'length.out' argument
3: In seq_len(n_replies) : first element used of 'length.out' argument
Called from: process_page(a_res)

balthasars avatar Apr 13 '21 17:04 balthasars

Hey everyone, first of all, thank you very much for that amazing package! However, does anyone have a solution for this issue? I also was running get_all_comments and it failed for some videos with the same message as above "Error in if (n_replies[i] == 1) { : missing value where TRUE/FALSE needed". This happened for example with the video "10xEw59q6_g". Would be great if someone could help. Best regards

JanGniza avatar Mar 25 '22 14:03 JanGniza