alysonvanraalte / LifeIneq

An R-package to calculate measures of lifespan variation from a life table
7 stars 6 forks source link

added in a few basic tests, with patterns that can be followed by all… #2

Closed timriffe closed 4 years ago

timriffe commented 4 years ago

This PR adds a unit testing setup. There is a new folder called /tests/ that has those files. In the file test-indices.R I've started a few systematic tests, and there are some patterns to follow for that. These will be invoked when you do check(), and in other ways too.