CRAN package ecosystem has more than 6000 packages.
The best way for beginners to answer this question is to mention that they would look for a package that follows good software development principles.
The next thing would be to look for user reviews and find out if other data scientists or analysts have been able to solve a similar problem.