Not sure how to write unit tests, etc... for R beyond what is in Travis CI. Maybe extend Travis or look into other testing frameworks.