I'm trying to get_sentiments("afinn") and the "nrc" but I get this message:
Error: The textdata package is required to download the NRC word-emotion association lexicon. Install the textdata package to access this dataset.
How can I install the textdata package?
Thanks