pac_true_size {pacs} | R Documentation |
True size of the package
Description
True size of the package as it takes into account its all dependencies, recursively.
Usage
pac_true_size(
pac,
fields = c("Depends", "Imports", "LinkingTo"),
lib.loc = .libPaths(),
exclude_joint = 0L
)
Arguments
pac |
|
fields |
|
lib.loc |
|
exclude_joint |
|
Value
numeric
size in bytes, to get MB then divide by 10**6
.
Note
R base packages are not counted. The default value of fields
should be suited for almost all scenarios.
Examples
## Not run:
# size in MB, with all its dependencies
pacs::pac_true_size("memoise") / 10**6
## End(Not run)