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 of search paths with local packages. 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 Aug. 19, 2023, 1:08 a.m.