use build matrix for building against R-stable and R-dev