Reintegrating R, trying to add integrated tests to travis build