TommyJones / textmineR

An aid for text mining in R, with a syntax that should be familiar to experienced R users. Provides a wrapper for several topic models that take similarly-formatted input and give similarly-formatted output. Has additional functionality for analyzing and diagnostics for topic models.
Other
106 stars 34 forks source link

Write tests for CalcJSDivergence #48

Open TommyJones opened 6 years ago

TommyJones commented 6 years ago
  1. Put them in tests/testthat/test-distance_functions.R
  2. Try to write a test for every argument or contingency the code anticipates