Description Usage Arguments Details Value See Also Examples
List defined modules.
1 2 3 4 5 6 7 8 9 | list_modules(regexp, reserved = FALSE, wide = TRUE, full = FALSE,
formatted = TRUE, absolute = FALSE, cols = c("name", "version",
"storage", "along", "type", "weight", "calls", "dependencies", "uses", "size",
"lines", "modified"))
lsmod(regexp, reserved = FALSE, wide = TRUE, full = FALSE,
formatted = TRUE, absolute = FALSE, cols = c("name", "version",
"storage", "along", "type", "weight", "calls", "dependencies", "uses", "size",
"lines", "modified"))
|
regexp |
A regular expression. If not missing, the regular expression is used to filter the names of the modules to be made. |
reserved |
A flag. Should special modules with a reserved name be considered? |
wide |
A flag. Should the function return a data frame instead of a characted vector? |
full |
A flag. Should all columns be included in the data frame? |
formatted |
A flag. Should columns with units be string formatted? |
absolute |
A flag. Should the file paths be absolute? |
cols |
A character vector. Details returned in the columns of the data frame. |
For each module, the following details can be returned in the columns of the data frame:
namename.
versionversion of the module.
storagestorage of the module, 'in-memory' or 'on-disk'.
alongname of the on-disk module along which the definition takes place.
filepathfile path of the 'on-disk' module.
typetype of the object returned.
weightmemory size of the object.
callsnumber of explicit make calls.
dependenciesnumber of direct dependencies.
usesnumber of modules requiring the module.
sizememory size occupied by the definition.
linesnumber of lines of the provider.
charsnumber of characters of the provider.
durationduration of the evaluation.
modifiedtimestamp of last modification.
createdtimestamp of creation.
digestdigest (cf. get_digest).
A character vector or a data frame containing module informations.
define, make,
reset, and touch.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | reset()
list_modules()
define("foo", NULL, function() Sys.sleep(1L))
list_modules()
list_modules(reserved = TRUE)
list_modules(reserved = TRUE, wide = FALSE)
invisible(make("foo"))
list_modules(reserved = TRUE, full = TRUE)
list_modules(
reserved = TRUE,
formatted = FALSE,
cols = c("weight", "size", "modified", "created"))
define("bar", NULL, function() Sys.sleep(1L))
define("foobar", list(f = "foo", b = "bar"), function(f, b) NULL)
invisible(make("foobar"))
Sys.sleep(1L)
touch("foo")
list_modules(".oo.*", cols = c("weight", "size", "modified", "created"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.