Skip to content

Error get_songs()  #12

@alanponce

Description

@alanponce

Hi, I am following your tutorial. I am getting this error and it is not retrieving the dataset, could you please help me? Thanks in advance

-- Step 1: Getting the chords for some Janis Joplin songs
songs <- "janis-joplin" %>%
chorrrds::get_songs() %>%
dplyr::sample_n(5) # Just selecting a random sample of 5 songs

songs

Error in dplyr::sample_n():
! Problem while computing indices.
Caused by error:
! size must be less than or equal to 1 (size of data).
ℹ set replace = TRUE to use sampling with replacement.
Run rlang::last_error() to see where the error occurred.
Warning messages:
1: In xml2::read_html(paste0("https://www.cifraclub.com.br/", artist_formatted)) %>% :
restarting interrupted promise evaluation
2: In xml2::read_html(paste0("https://www.cifraclub.com.br/", artist_formatted)) %>% :
internal error -3 in R_decompress1


packageVersion("chorrrds")
[1] ‘0.1.9.4’

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions