Size of package.

pac_size(pac, lib.loc = .libPaths())

Arguments

pac

character a package name.

lib.loc

character vector of search paths with local packages. Default: .libPaths()

Value

numeric size in bytes, to get MB ten divide by 10**6.

Examples

if (FALSE) { # \dontrun{
cat(pacs::pac_size("stats") / 10**6, "MB")
} # }