%-=% wraps for base::rm()

env %-=% x

Arguments

env

(environment, string) An environment or name of an environment

x

(string[]) A collection of strings representing the names of the objects to remove from env.

Value

The target environment, invisibly

See also

Other Chapter 2 - Environment Integrity: %+=%(), %must.have%(), check.env()