Error when calling get_user_content
Opened this issue · 1 comments
When I call the get_user_content function, I get the following warning message:
test <- get_user_content(c("memes", "nationalgeographic"))
parsing user memes...
parsing URLs on page 1...
parsing user nationalgeographic...
parsing URLs on page 1...
Warning messages:
1: In file(con, "r") : invalid 'description' argument
2: In file(con, "r") : invalid 'description' argument
The test list results in three NA values: for about, comment ant threads.
I'm running R version 4.1.1 and RedditExtractoR 3.0.9
Do you have any idea where this error stems from?
Same issue:
R version 4.2.3
RedditExtractoR 3.0.9
test <- get_user_content(c("memes", "nationalgeographic"))
parsing user memes...
parsing URLs on page 1...
parsing user nationalgeographic...
parsing URLs on page 1...
Warning messages:
1: In !file.exists(content) && length(grep("^[[:space:]][[{]", content)) :
'length(x) = 621 > 1' in coercion to 'logical(1)'
2: In file(con, "r") : invalid 'description' argument
3: In !file.exists(content) && length(grep("^[[:space:]][[{]", content)) :
'length(x) = 621 > 1' in coercion to 'logical(1)'
4: In file(con, "r") : invalid 'description' argument