Undefine a module by dropping it definition from the modulr internal state.
undefine(name = .Last.name)
name | A string (character vector of lenght one). A module name can contain letters, figures and some special characters,
namely Names containing The name "modulr" corresponds to a special module and is therefore reserved. |
---|
It is considered a very bad practice to define, touch, undefine, load, make, reset, or perform any other operation from within a module definition that may alterate the internal state of modulr.
define
, list_modules
,
and reset
.
reset()#> [2018-12-02T17:14:13 CET] Resetting modulr state ... OK#> [2018-12-02T17:14:13 CET] Defining 'foo' ... OK#> name version storage along type weight calls dependencies uses size #> 1 foo <NA> in-memory <NA> <NA> <NA> 0 0 0 984 bytes #> lines modified #> 1 2 2018-12-02T17:14:13 CETundefine("foo")#> [2018-12-02T17:14:13 CET] Undefining 'foo' ... OK