NathanSkene / EWCE

Expression Weighted Celltype Enrichment. See the package website for up-to-date instructions on usage.
https://nathanskene.github.io/EWCE/index.html
53 stars 25 forks source link

Setup one initial unit test with testthat and understand how it works with travis #29

Closed NathanSkene closed 3 years ago

NathanSkene commented 3 years ago

A good initial test would be to confirm that when a simple CTD is created, the mean is calculated correctly (I did actually have an edit a while back, that was intended to speed up generation of the CTD, which meant it stopped calculating the mean properly)

NathanSkene commented 3 years ago

Can't see where the actual test is in this commit: https://github.com/NathanSkene/EWCE/commit/b8904802bdec92c97501786636f1f9aef65100aa

Can only see where testthat was added to travis.yml and description?

Al-Murphy commented 3 years ago

Sorry, my fault, I didn't commit the test folder in the dev-Initaltestthat commit. However, if you look in the dev branch in EWCE/test/ you will find it there. Once I have an issue sorted I'll commit it to dev.