pac_size: Size of the package

View source: R/size.R

pac_sizeR Documentation

Size of the package

Description

Size of package.

Usage

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

Arguments

pac

character a package name.

lib.loc

character vector. Default: .libPaths()

Value

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

Examples

## Not run: 
cat(pacs::pac_size("stats") / 10**6, "MB")

## End(Not run)

pacs documentation built on May 11, 2022, 1:09 a.m.