Skip to content

Test R package for azure pipelines in R 3.5 and 3.6

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

sk-sahu/r-azure-pipelines

 
 

Repository files navigation

Build Status

R CI with Azure Pipelines

This repository includes templates for using azure pipelines with R packages, as well as a simple R package for testing.

Features

  • 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

Setup

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

This forked and modified on following things

  1. Only testing on 3.5 or higher R versions.
  2. Wanrings are not treated as errors.

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

About

Test R package for azure pipelines in R 3.5 and 3.6

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%