Check if total dataset size is within the specified range.
Accepts human-readable size strings (e.g., "100MB", "1GB").
Usage
size_between(total_size_bytes, min, max)
Arguments
- total_size_bytes
Numeric vector of sizes in bytes
- min
Minimum size (bytes or human-readable string like "100MB")
- max
Maximum size (bytes or human-readable string like "1GB")
Value
Logical vector, TRUE where size is within range
Examples
if (FALSE) { # \dontrun{
# Find medium-sized datasets
list_datasets(full = TRUE) |>
filter(size_between(total_size_bytes, "100MB", "1GB"))
} # }