zip_size: Compressed file sizes and ratios

Description Usage Arguments Value Examples

View source: R/size.R

Description

zip_size() returns the uncompressed size of files within an archive.

zip_ratio() returns the division of uncompressed size by compressed size.

Usage

1
2
3
zip_size(archive, sum = FALSE)

zip_ratio(archive, sum = FALSE)

Arguments

archive

Path to an existing ZIP archive.

sum

Whether to return a single size or ratio from the sum of sizes.

Value

A named numeric vector of compression ratios or file sizes.

Examples

1
2

kiernann/zippr documentation built on Feb. 17, 2021, 5:59 p.m.