Skip to content
| Marketplace
Sign in
Azure DevOps>Azure Pipelines>Install R Packages
Install R Packages

Install R Packages

cse-nyc

|
99 installs
| (0) | Free
Install specified R packages from CRAN
Get it free

Install R Packages Task for Azure DevOps

Install R Packages Extension (Azure DevOps Marketplace)

The task in this extension allows for the installation of R packages within a CI/CD pipeline in Azure DevOps. Provided a list of R package names, the task will install each of them from CRAN.

Requirements

The only prerequisite for running this task is that the build agent running the task must have R installed and configured in the PATH.

Build Agent Compatibility

Provided that R is installed, this task can run on any supported build agent environment (i.e. Windows, Ubuntu, and macOS)

Installing R Packages

When adding this task to an Azure Pipeline, provide a list of R package names separated by commas into the R Package Names (rPackageNames) field to have them installed on the build agent. These packages will then be available for use in any R scripts being run in the pipeline.

In YAML, this should look something like:

- task: InstallRPackages@0
  displayName: Install R Packages
  inputs:
    rPackageNames: stringr, testthat

Credit

The R logo has been sourced from the the R Project website and is being used under the CC-BY-SA 4.0 license.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft