I'm trying to scrap a webpage and this is my code.
url_base <- "https://cran.r-project.org/web/packages/available_packages_by_name.html"
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
I end up with the following error.
Error: object 'packages' not found
Excuse me if its a very stupid doubt. Thank you :)