Build r-tests with the same packages as r