knitr::opts_chunk$set(echo = TRUE)
Each of the functions in the textclass was evaluated using the examples provided in the vignette. Overall, the vignette provides an excellent overview of the package and its functionality.
AFICAdata datasetterm_frequency()n is too large, an appropriate error message is displayed to the userterm_frequency() accuracytidyDTM()tidyDTM() accuracyplot_topics()kplot_topics() accuracynormalize_metrics()values variable comes fromdidyDTM beta valuesnormalize_metrics accuracyplot_optimal_topics()plot_optimal_topics()rank_topics()didyDTM beta valuesrank_topics()textclass installs from github using devtools::install_github in documentation without error. The package runs with minor errors, however these errors are accompanied with explanations in the R console window.
The textclass vignette makes the package easy to use. The functions in the package all have documentation that explains how they are used in this package.
I was unable to find any package-crashing errors. The code ran as expected, and error messages displayed in the console were well documented. Consider wrapping the package in a shiny app or shiny gadget to make it easier for non-programmers or individuals unfamiliar with R to use in an internet browser.
Recommended Grade: 49/50
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.