18 Sustainment and Deployment of Solutions
Keywords
model sustainment, reproduceability, environments, deployment, containers, cloud, ML Ops, CI-CD
18.1 Introduction
18.1.1 Learning Outcomes
- Create strategies for sustaining and deploying R solutions in a changing world.
- Employ coding styles and function documentation to ease code maintenance.
- Use the {renv} package to maintain the set of packages used for a solution.
- Implement Continuous-Integration-Continuous-Development (CI-CD) workflows using GitHub Actions.
- Deploy a solution to a cloud environment.
18.1.2 References:
- Hadley Wickham Keynote Address at the NYR10 Conference R in Production Wickham (2024)
- The Tidyverse Style Guide Wickham (2021)
- {styler} package Muller, Walthert, and Patil (2024)
- {lintr} package Hester et al. (2024)
- {roxygen2} package Wickham et al. (2022)
- {testthat} package Wickham (n.d.), Wickham (2011)
- {renv} package Wickham and Ushey (2024)
- GitHub Actions Documentation GitHub (2024)
- Docker Guides Inc (11:50:25 -0700 -0700)
- The Rocker Project
- An Introduction to Rocker: Docker Containers for R} Boettiger and Eddelbuettel (2017)
- {paws} Package for Amazon Web Services in R AWS Open Source promotional credits program (n.d.)
18.1.2.1 Other References
- Implementing MLOps in the Enterprise Haviv and Gift (2023)
- R Packages Wickham and Bryan (2023)
- Engineering Production Ready Shiny Apps Fay et al. (2023)
18.2 Context
This section is a work in progress