Description Usage Arguments Details Value Examples
The summary()
method for a safely_mapped
or quietly_mapped
list (or list-column) prints out the total number of elements (rows), as well
as the number that each returned results and errors (for
safely_mapped
) or returned results, output, messages and warnings (for
quietly_mapped
). It also invisibly returns a named vector with these
counts.
1 2 3 4 5 6 7 8 |
object |
A |
... |
Other arguments passed to |
Although the output can be used in tidy workflows (for automated testing, for
example), tally functions like tally_results()
tend to be more
convenient for this purpose.
Importantly, the summary()
method tells you how many elements were
returned a type of side effect, not the number of those side
effects. Some list elements might return more than one warning, for
example, and these are not counted separately.
A named vector containing counts of the components named in
map_safely()
.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.