Skip to content

Out of bound error! #1

@abhayhm

Description

@abhayhm

Error message:

[1] "** Starting creation of index table (STEP1)"
Error in map():
ℹ In index: 1.
Caused by error in .[[1]]:
! subscript out of bounds

Error is in line 77:

tables <- map(table_xpaths, ~homepage %>%
read_html() %>%
html_nodes(xpath = .x) %>%
html_table(fill = TRUE, header = FALSE) %>%
.[[1]] %>% #take first element of list
.[-1,]) #remove header

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions