title: How to Make azure-pipeline.yml for CI for a R package?
body: <p>I have been trying to get an Azure pipeline working for my companies internal R packages. I would like the pipeline to:</p>
  
  <ol>
  <li><code>Check()</code> the package</li>
  <li>Run the tests in /testthat</li>
  <li>Check code coverage with covr</li>
  </ol>
  
  <p>We use Azure DevOps and use the Azure Repos within that. The few examples I find mainly focus on GitHub solutions. I have tried working with <a href="https://github.com/r-lib/r-azure-pipelines" rel="nofollow noreferrer">https://github.com/r-lib/r-azure-pipelines</a>, however, with not a lot of knowledge on how to set up pipelines in the first place I find it very difficult to learn and move forward. I have also posted on RStudio Community <a href="https://community.rstudio.com/t/creating-an-azure-pipelines-yml-for-azure-devops-testing-packages-shiny-scripts/32471" rel="nofollow noreferrer">here</a>, however my current method does not run <code>check()</code>. I want to try to use all the test functionality that Azure DevOps supplies.</p>