Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error get_songs() #12

Open
alanponce opened this issue Oct 22, 2022 · 0 comments
Open

Error get_songs() #12

alanponce opened this issue Oct 22, 2022 · 0 comments

Comments

@alanponce
Copy link

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’

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant