Standardise dependencies using the same logical as install.packages
Source:R/deps.R
standardise_dep.RdStandardise dependencies using the same logical as install.packages
Arguments
- x
The dependencies to standardise. A character vector (selecting from "Depends", "Imports", "LinkingTo", "Suggests", or "Enhances"), or a logical vector.
TRUEis shorthand for "Depends", "Imports", "LinkingTo" and "Suggests".NAis shorthand for "Depends", "Imports" and "LinkingTo" and is the default.FALSEis shorthand for no dependencies.The value "soft" means the same as
TRUE, "hard" means the same asNA.Any additional values that don't match one of the standard dependency types are filtered out.
See also
https://r-pkgs.org/description.html for additional information on what each dependency type means.