| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/null-and-default.R |
| 3 |
\name{null_tidiers} |
| 4 |
\alias{null_tidiers} |
| 5 |
\alias{tidy.NULL} |
| 6 |
\alias{glance.NULL} |
| 7 |
\alias{augment.NULL} |
| 8 |
\title{Tidiers for NULL inputs} |
| 9 |
\usage{ |
| 10 |
\method{tidy}{`NULL`}(x, ...) |
| 11 |
|
| 12 |
\method{glance}{`NULL`}(x, ...) |
| 13 |
|
| 14 |
\method{augment}{`NULL`}(x, ...) |
| 15 |
} |
| 16 |
\arguments{ |
| 17 |
\item{x}{The value \code{NULL}.} |
| 18 |
|
| 19 |
\item{...}{Additional arguments (not used).} |
| 20 |
} |
| 21 |
\value{ |
| 22 |
An empty \link[tibble:tibble]{tibble::tibble}. |
| 23 |
} |
| 24 |
\description{ |
| 25 |
\code{tidy(NULL)}, \code{glance(NULL)} and \code{augment(NULL)} all return an empty |
| 26 |
\link[tibble:tibble]{tibble::tibble}. This empty tibble can be treated a tibble with zero |
| 27 |
rows, making it convenient to combine with other tibbles using |
| 28 |
functions like \code{\link[purrr:map_dfr]{purrr::map_df()}} on lists of potentially \code{NULL} objects. |
| 29 |
} |
| 30 |
\seealso{ |
| 31 |
\link[tibble:tibble]{tibble::tibble} |
| 32 |
} |