The name of the last used module.
.Last.name
The name of the last used module.
A module is considered used last if it has just been:
defined or imported with a name without special meaning and not
reserved (see define
),
made or touched with a non-reserved name.
Other actions on modules do not alter the value of .Last.name
.
Do not assign to .Last.name
in the workspace, because this will always
mask the object of the same name in package:modulr
.
#> [2018-12-02T17:14:01 CET] Re-defining 'foo' ... OK.Last.name#> [1] "foo"#> [2018-12-02T17:14:01 CET] Defining 'bar/test' ... OK.Last.name#> [1] "foo"make("bar/test")#> [2018-12-02T17:14:01 CET] Making 'bar/test' ... #> [2018-12-02T17:14:01 CET] * Visiting and defining dependencies ... #> [2018-12-02T17:14:01 CET] * Constructing dependency graph ... OK #> [2018-12-02T17:14:01 CET] DONE ('bar/test' in 0.026 secs)#> NULL.Last.name#> bar/test #> "bar/test"