Endjin - Home

Automating R Unit Tests With VSTS

by Jess Panni

header-auto-r-unit-test-vsts-1024px

I recently demonstrated how it was possible to automate the deployment of R models to Azure Machine Learning through VSTS. Of course, this is only part of the story; what about testing? It is important to ensure that all production code is adequately tested, and R is no different. Writing unit tests for R models is straight-forward using the popular testthat R package. With the help of some PowerShell it is possible to run these tests as part a continuous integration build and deployment pipeline.

Check out the video to see it in action.

Automating R Unit Tests With VSTS from endjin on Vimeo.

About the author

Jess has over 18 years’ experience helping companies succeed through the smart use of technology. He has spent most of his career working for leading Microsoft partners across the UK and Australia and is now Principal at endjin, working with clients to envision and execute disciplined innovation programmes. You can follow Jess on twitter.