Error get_songs()
Opened this issue · 0 comments
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’