quietRemotesInstall: Quietly update a package from a remote repository

View source: R/quietRemotesInstall.R

quietRemotesInstallR Documentation

Quietly update a package from a remote repository

Description

Simple wrapper for remotes functions that fail gracefully (well, don't fail at all, just don't do what they're supposed to do) when there's no internet connection).

Usage

quietRemotesInstall(
  x,
  func,
  unloadNamespace = TRUE,
  dependencies = FALSE,
  upgrade = FALSE,
  quiet = TRUE,
  errorInvisible = TRUE,
  ...
)

quietGitLabUpdate(
  x,
  unloadNamespace = TRUE,
  dependencies = FALSE,
  upgrade = FALSE,
  quiet = TRUE,
  errorInvisible = TRUE,
  ...
)

Arguments

x

The repository name (e.g. "r-packages/ufs")

func

The remotes function to use

unloadNamespace

Whether to first unload the relevant namespace

dependencies, upgrade

Whether to install dependencies or upgrade

quiet

Whether to suppress messages and warnings

errorInvisible

Whether to suppress errors

...

Additional arguments are passed on to the remotes function

Value

The result of the call to the remotes function


ufs documentation built on July 9, 2023, 6:07 p.m.