R/update.R
natverse_update.Rd
This will check to see if all natverse packages (and by default, when
recursive = TRUE
), their dependencies ) are up-to-date, and will
update them (optionally, if update = TRUE
) if they are missing or are
not up-to-date!
natverse_update( update = FALSE, install_missing = update, recursive = TRUE, upgrade = c("default", "ask", "always", "never"), ... )
update | If |
---|---|
install_missing | If |
recursive | If |
upgrade | Whether or not to ask you about updating the dependencies of
natverse packages. The 'default' value will ask in interactive session. Set
to 'always' to install all dependencies without prompts. See
|
... | extra arguments to pass to |
if (FALSE) { # check status of natverse and its dependencies natverse_update() # ... actually install any updates natverse_update(update=TRUE) # update any indirect dependencies without requesting your confirmation natverse_update(update=TRUE, upgrade='always') }