pac_true_size | R Documentation |
True size of the package as it takes into account its all dependencies, recursively.
pac_true_size( pac, fields = c("Depends", "Imports", "LinkingTo"), lib.loc = .libPaths(), exclude_joint = 0L )
pac |
character a package name. |
fields |
a character vector listing the types of dependencies, a subset of |
lib.loc |
character vector. Default: |
exclude_joint |
integer exclude packages which are dependencies of at least N other packages, not count main package dependencies. Default: 0 |
numeric size in bytes, to get MB then divide by 10**6
.
R base packages are not counted. The default value of fields
should be suited for almost all scenarios.
## Not run: # size in MB, with all its dependencies pacs::pac_true_size("memoise") / 10**6 ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.