ci_update: Update Packages in a renv lockfile in GitHub Actions

View source: R/update.R

ci_updateR Documentation

Update Packages in a renv lockfile in GitHub Actions

Description

With actively developed projects, it can be beneficial to auto-update packages used in the project with a failsafe to roll back versions in case there are breaking changes that need to be fixed. This is noramlly accomplished via the function renv::update(), but that assumes that no new packages have been introduced into your workflow. This function searches for new packages, and updates existing packages.

Usage

ci_update(profile = "lesson-requirements", update = "true", repos = NULL)

Arguments

profile

the profile of the renv project

update

a character vector of 'true' (default) or 'false', which indicates whether or not the existing packages should be updated.

repos

the repositories to use in the search.


zkamvar/vise documentation built on Oct. 27, 2023, 9:18 a.m.