This repository includes templates for using azure pipelines with R packages, as well as a simple R package for testing.
-
Uses RStudio docker containers to test on R 3.2, 3.3, 3.4, 3.5, 3.6
-
Installs package dependencies using remotes
-
Build and checks packages using rcmdcheck
-
Run code coverage using covr
-
Linux
- Matrix builds of minor R versions from 3.2+
- Package caching
-
Windows
- RTools installation
-
macOS
Add a yaml file named azure-pipelines.yml
with the following content, this
will setup your repo to use the tidyverse default configuration.
You need to replace REPLACE-ME with the name of your Service Connection to GitHub.
resources:
repositories:
- repository: r-azure-pipelines
type: github
name: r-lib/r-azure-pipelines
endpoint: REPLACE-ME
jobs:
- template: azure-tidyverse.yml@r-azure-pipelines
To use this add followings to your azure-pipelines.yml
resources:
repositories:
- repository: r-azure-pipelines
type: github
name: sk-sahu/r-azure-pipelines
endpoint: sk-sahu
jobs:
- template: azure-tidyverse.yml@r-azure-pipelines