Closed eddyzhang2018 closed 4 years ago
This issue originate in textdata and have been fixed. Related to https://github.com/EmilHvitfeldt/textdata/issues/31.
You can download the version with
remotes::install_github("EmilHvitfeldt/textdata")
Thank you so much @EmilHvitfeldt for your quick handling of the underlying problem! 🙏
Hello @juliasilge,
I got the same problem even when using lexicon_afinn() running in DataCamp workspace with the latest version 4.1.2.
Any chance to update the URL in this function?
Thank you.
@ThanhDatIU The function works with the current CRAN version of textdata (0.4.1) so I believe we are all good to go with that.
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.
Hi Julia,
it looks like the afin data url has changed:
if use lexicon_afin() will encounter following error:
Do you want to download: Name: AFINN-111 URL: http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6010 License: Open Database License (ODbL) v1.0 Size: 78 KB (cleaned 59 KB) Download mechanism: https
1: Yes 2: No
Selection: 1 trying URL 'https://www2.imm.dtu.dk/pubdb/views/edoc_download.php/6010/zip/imm6010.zip' Warning in download.file(url = "https://www2.imm.dtu.dk/pubdb/views/edoc_download.php/6010/zip/imm6010.zip", : cannot open URL 'https://www2.imm.dtu.dk/pubdb/views/edoc_download.php/6010/zip/imm6010.zip': HTTP status was '404 Not Found' Error in download.file(url = "https://www2.imm.dtu.dk/pubdb/views/edoc_download.php/6010/zip/imm6010.zip", : cannot open URL 'https://www2.imm.dtu.dk/pubdb/views/edoc_download.php/6010/zip/imm6010.zip'`
they move the website to http://www2.imm.dtu.dk/pubdb/pubs/6010-full.html, so the downloading now host at http://www2.imm.dtu.dk/pubdb/edoc/imm6010.zip.
Any chance to update the url in this function?
Thank you.