Tidypubmed package: Error in curl::curl_fetch_memory(url, handle = handle) : Failure when receiving data from the peer

I am trying to query PubMed data, using tidypubmed package.

I face an error. Looks like memory and size of the query.

Error in curl::curl_fetch_memory(url, handle = handle) : 
 Failure when receiving data from the peer

When I query the first one with 8000+ articles, I get an error. When I do just in titles for 3000+ articles - it works just fine. How to resolve it?

# Library
devtools::install_github("cstubben/tidypubmed")
library(tidypubmed)

# Search
la_res <- pubmed_search("query[TITLE]")
# la_res <- pubmed_search("query")
# Found 8930 in total and 3623 for title only

la_aq <- pubmed_fetch(la_res)

# Convert to the table
la_table <- pubmed_table(la_aq)

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.