This is primarily for package developers. It allows the testing of what the recursive dependencies would be if a package was removed from the immediate dependencies.

pkgDepIfDepRemoved(pkg = character(), depsRemoved = character())

## Arguments

pkg A package name to be testing the dependencies A vector of package names who are to be "removed" from the pkg immediate dependencies

## Value

A character vector of the packages that would removed from recursive dependencies of pkg if depsRemoved were removed from first level dependencies

## Examples

if (FALSE) {
pkgDepIfDepRemoved("Require", "remotes")
}