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).

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