Learn R Programming

pacs (version 0.6.0)

pac_size: Size of the package

Description

Size of package.

Usage

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

Value

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

Arguments

pac

character a package name.

lib.loc

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

Examples

Run this code
if (FALSE) {
cat(pacs::pac_size("stats") / 10**6, "MB")
}

Run the code above in your browser using DataLab