Running examples in ‘collateral-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: has
> ### Title: Filter elements that contain a type of side effect.
> ### Aliases: has has_results has_errors has_warnings has_messages
> ###   has_output
> 
> ### ** Examples
> 
> 
> library(magrittr)
> 
> list("a", 10, 100) %>% map_safely(log) %>% has_errors()
[1]  TRUE FALSE FALSE
> list(5, -12, 103) %>% map_quietly(log) %>% has_warnings()
[1] FALSE  TRUE FALSE
> 
> suppressMessages(library(tidyverse))
> 
> # if you're working with list-columns, the tally functions are useful
> # in conjunction with dplyr::summarise()
> mtcars %>%
+   rownames_to_column(var = "car") %>%
+   as_data_frame() %>%
+   select(car, cyl, disp, wt) %>%
+   # spike some rows in cyl == 4 to make them fail
+   mutate(wt = dplyr::case_when(
+     wt < 2 ~ -wt,
+     TRUE ~ wt)) %>%
+   # nest and do some operations quietly()
+   nest(-cyl) %>%
+   mutate(qlog = map_quietly(data, ~ log(.$wt))) %>%
+   filter(has_warnings(qlog))
Warning: All elements of `...` must be named.
Did you want `data = c(car, disp, wt)`?
Error: Input must be a vector, not a `quietly_mapped` object.
Backtrace:
     █
  1. ├─(function (x, ...) ...
  2. ├─tibble:::print.tbl(x)
  3. │ ├─cli::cat_line(format(x, ..., n = n, width = width, n_extra = n_extra))
  4. │ │ └─base::paste0(..., collapse = "\n")
  5. │ ├─base::format(x, ..., n = n, width = width, n_extra = n_extra)
  6. │ └─tibble:::format.tbl(x, ..., n = n, width = width, n_extra = n_extra)
  7. │   └─tibble::trunc_mat(x, n = n, width = width, n_extra = n_extra)
  8. │     ├─base::as.data.frame(head(x, n))
  9. │     ├─utils::head(x, n)
 10. │     └─utils:::head.data.frame(x, n)
 11. │       ├─x[seq_len(n), , drop = FALSE]
 12. │       └─tibble:::`[.tbl_df`(x, seq_len(n), , drop = FALSE)
 13. │         └─tibble:::tbl_subset_row(xo, i = i, i_arg)
 14. │           └─base::lapply(unclass(x), vec_slice, i = i)
 15. │             └─vctrs:::FUN(X[[i]], ...)
 16. └─vctrs:::stop_s
Execution halted