dir_size: Size of the package

View source: R/utils.R

dir_sizeR Documentation

Size of the package

Description

size of package.

Usage

dir_size(path = ".", recursive = TRUE)

Arguments

path

character path to the shiny app. Default: "."

recursive

logical if to assess the dependencies recursively. Default: TRUE

Value

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

Examples

## Not run: 
cat(pacs::dir_size(system.file(package = "stats")) / 10**6, "MB")

## End(Not run)

pacs documentation built on Aug. 19, 2023, 1:08 a.m.