Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement unit testing #53

Open
oneillkza opened this issue Sep 13, 2016 · 0 comments
Open

Implement unit testing #53

oneillkza opened this issue Sep 13, 2016 · 0 comments

Comments

@oneillkza
Copy link
Owner

Right now, we have sort-of testing in the form of the examples that get run on package build. This at least tests that things don't completely crash. However, it might be a good idea to have proper unit testing, to ensure that functions behave in an expected way.

The testthat framework would probably be a good one to use for this.

https://cran.r-project.org/web/packages/testthat/index.html

I don't know when I'd be able to get to this, but I'd be happy to set up the Travis build to hook into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant