Check for and optionally install packages used by document.
needsPackages.Rd
This function checks for needed packages
Arguments
- pkgs
A list of names of packages to check.
- install
Whether to install missing packages.
- update
Whether to update all packages that can be updated.
- load
Whether to load namespaces for packages.
- attach
Whether to run library calls.