I'm scrap a web page. This is my code:
url_base <- "https://cran.r-project.org/web/packages/available_packages_by_name.html"
map_df(1:100, function(i){
page <- read_html(sprintf(url_base,i))
data.frame(IssueID = html_text(html_nodes(page,"h1")),
heading = html_text(html_nodes(page,"td")),
description = html_text(html_nodes(page,"td")))
}) -> packages
and I'm getting the following error when I try to execute it.
Error in open.connection(x, "rb") :
Timeout was reached: Operation timed out after 10000 milliseconds with 0 out of 0 bytes received