bschilder / ThreeWayTest

Summary statistics-based association test for identifying the pleiotropic effects with set of genetic variants

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add unit tests

bschilder opened this issue · comments

Adding unit tests is a great way to ensure your code always works as expected. It will also improve your code coverage, which is a metric that get displayed as a badge in your README (see here for an example):

Screenshot 2023-02-17 at 15 03 12

testthat is my preferred methods for implementing unit tests.
See here for some examples.