selfupdate {natmanager}R Documentation

Update the 'natmanager' package itself.

Description

Update the 'natmanager' package itself.

Usage

selfupdate(
  source = c("GITHUB", "CRAN"),
  upgrade.dependencies = TRUE,
  force = FALSE,
  method = c("pak", "remotes"),
  ...
)

Arguments

source

Location from which to obtain a newer version of natmanager. Defaults to GITHUB since this may well have a newer version than the CRAN package repository.

upgrade.dependencies

Whether to upgrade dependencies of requested packages See the upgrade argument of pak::pkg_install or install_github for details. The default value (FALSE) will do the minimum amount to enable you to install the package(s) you have requested. In contrast TRUE will go ahead and upgrade all dependencies to the latest version; pak will potentially install source packages to do this.

force

Force self update even if there doesn't seem to be an update (default FALSE)

method

Whether to use the pak (now the default) or install_github package for installation.

...

extra arguments to pass to pak::pkg_install or remotes::install_github.

Value

Logical indicating whether an update was required (invisibly).

See Also

install

Examples

## Not run: 
natmanager::selfupdate()

## End(Not run)

[Package natmanager version 0.5.1 Index]