options_detach: Detachment based on options

Description Usage Arguments Value

View source: R/options_detach.R

Description

This function does the opposite of options_attach, that is to say, it can use the options created by options_attach to detach the specified components from the search-path.

Usage

1
options_detach(cleanup = FALSE, target)

Arguments

cleanup

Logical value, default FALSE. This can be used to get rid of all the stuff that options_attach added to the search-path. The target-argument will be ignored when cleanup is given as TRUE, and does not need to be specified in that case.

target

A character string that has to be one of the options set by options_attach.

Value

The result of this function will be that components added to the search-path by options_attach will be detached.


LAJordanger/UnderConstruction documentation built on May 3, 2019, 5 p.m.