rupdate: Update packages

Description Usage Arguments Value

View source: R/rupdate.r

Description

Update packages. This includes multiple steps:

The collection file getConfigPath("packages") expects one package per line specified in a format which is parseable by stringToPackage. Leading and trailing whitespace characters will automatically be trimmed. Empty lines and lines starting with a “#” will be ignored.

Usage

1
rupdate(rebuild = FALSE, neverupgrade = FALSE, savemode = FALSE)

Arguments

rebuild

[logical(1)]
Rebuild R packages which are built using a different version of R.

neverupgrade

[codelogical(1)]
Passed to update_packages as upgrade = ifelse(neverupgrade, "never", "always"). Default is “FALSE” so all dependencies are upgraded.

savemode

[codelogical(1)]
Works slower but should handle most conflicts. Might be helpful after R-Version update or if packages are removed from CRAN.

Value

Invisibly returns TRUE on success.


rdatsci/rt documentation built on Dec. 6, 2020, 5:31 p.m.