module({
export("foo")
foo <- function() "foo"
bar <- function() "bar"
})
module({
export("foo")
foo <- function() "foo"
export("bar")
bar <- function() "bar"
})
module({
export("foo", "bar")
foo <- function() "foo"
bar <- function() "bar"
})
module({
export("^f.*$")
foo <- function() "foo"
bar <- function() "bar"
})
module({
export(bar = foo)
foo <- function() "foo"
})
Run the code above in your browser using DataLab