This function (by default) checks if any animovement package is missing and installs the missing package(s).
Usage
animovement_install(
...,
only.missing = TRUE,
install = TRUE,
repos = animovement_repos()
)Arguments
- ...
comma-separated package names, quoted or unquoted, or vectors of package names. If left empty, all packages returned by
animovement_packagesare checked.- only.missing
logical.
TRUEonly installs packages that are unavailable.FALSEinstalls all packages, even if they are available.- install
logical.
TRUEwill proceed to install packages, whereasFALSE(recommended) will print the installation command asking you to run it in a clean R session.- repos
the repositories to install from. Defaults to
animovement_repos(), which adds the animovement R-universe togetOption("repos").
Note
There is also the possibility to set options(animovement.install = TRUE) before library(animovement), which will call animovement_install() before loading any packages to make sure all packages are available.
If you are using a .animovement configuration file inside a project (see vignette), you can also place _opt_animovement.install = TRUE before the list of packages in that file.