import_inops.control {tinycodet} | R Documentation |
import_inops.control
Description
Additional arguments to control exposing infix operators in the import_inops function.
Usage
import_inops.control(
exclude = NULL,
include.only = NULL,
overwrite = TRUE,
inherits = FALSE
)
Arguments
exclude |
a character vector,
giving the infix operators NOT to expose to the current environment. |
include.only |
a character vector,
giving the infix operators to expose to the current environment,
and the rest of the operators will not be exposed. |
overwrite |
logical, indicating if it is allowed to overwrite existing infix operators.
|
inherits |
logical. |
Details
You cannot specify both the exclude
and include.only
arguments.
Only one or the other, or neither.
Value
This function is used internally in the import_inops function.
See Also
import_inops()
, tinycodet_import()
Examples
# additional arguments (only used when exposing, not unexposing):
import_as(~ stri., "stringi")
import_inops(expose = stri., include.only = "%s==%")
import_inops(unexpose = stri.)
import_inops(expose = "stringi", exclude = "%s==%")
import_inops(unexpose = "stringi")
import_inops(expose = stri., overwrite = FALSE)
import_inops(unexpose = stri.)
import_inops(expose = "stringi", overwrite = FALSE)
import_inops(unexpose = "stringi")