Learn R Programming

broom (version 1.0.4)

null_tidiers: Tidiers for NULL inputs

Description

tidy(NULL), glance(NULL) and augment(NULL) all return an empty tibble::tibble. This empty tibble can be treated a tibble with zero rows, making it convenient to combine with other tibbles using functions like purrr::map_df() on lists of potentially NULL objects.

Usage

# S3 method for `NULL`
tidy(x, ...)

# S3 method for `NULL` glance(x, ...)

# S3 method for `NULL` augment(x, ...)

Value

An empty tibble::tibble.

Arguments

x

The value NULL.

...

Additional arguments (not used).

See Also