check_object_size: Validate the size of a object

Description Usage Arguments Value

View source: R/check_functions.R

Description

A function to check the size of a data variable whether is in the right range.

Usage

1
check_object_size(object, max_ram = 2, target_unit = "Gb")

Arguments

object

An object that is required to check.

max_ram

The maximum size of the target object.

target_unit

The target unit that is constrained. The value is one of c('bytes', 'Kb', 'Mb', 'Gb', 'Tb', 'Pb').

Value

A NULL value if there is no issue raised.


migrbc documentation built on July 1, 2020, 8:14 p.m.