It is surprising that it worked before but then stopped given you're loading the sentiment library in the script. Would you be able to share the workbook? Also the imagine in the screenshot seems to have a different message that appears to be potentially due to special characters e.g. the type of " being used. R can be picky about those.
Can you replace your sentiment object formula as below.
classify_polarity(.arg1, algorithm = "bayes", verbose = TRUE)[,4]', ATTR([Status Text]))
It should work.
CRAN doesn't have the sentiment package anymore. The alternatives are sentimentr or SentimentAnalysis. however, they have different methods and functions so NONE of the above code will work. It needs to be re written completely. Any takers?