update_all_packages: Update all missing and outdated packages

View source: R/checks.R

update_all_packagesR Documentation

Update all missing and outdated packages

Description

Update all missing and outdated packages

Usage

update_all_packages(
  max_failures = 10,
  update_cache_after = 100,
  error_on_failure = TRUE
)

Arguments

max_failures

Maximum number of failures. Many failures will cause the updates to stop.

update_cache_after

Update cache after this many iterations.

error_on_failure

Whether to error if an update fails.

Value

Data frame, similar to the return value of get_mirror_status(), with the extra result column, which is "success" for successful, "failure" for unsuccessful updated, and NA otherwise.


metacran/cranatgh documentation built on Feb. 11, 2024, 2:20 p.m.