From 6942cceb0a3c49518259a43823751f1cfe8661f3 Mon Sep 17 00:00:00 2001 From: Hadley Wickham Date: Thu, 5 Jan 2023 11:53:07 -0600 Subject: [PATCH] Suppress backtrace in docs --- man/purrr_error_indexed.Rd | 9 +-------- man/rmd/indexed-error.Rmd | 2 +- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/man/purrr_error_indexed.Rd b/man/purrr_error_indexed.Rd index b3361475..067d68c0 100644 --- a/man/purrr_error_indexed.Rd +++ b/man/purrr_error_indexed.Rd @@ -32,17 +32,10 @@ cnd$location cnd$name #> NULL -cnd$parent +print(cnd$parent, backtrace = FALSE) #> #> Error in `.f()`: #> ! This is an error -#> --- -#> Backtrace: -#> 1. rlang::catch_cnd(map(c(1, 4, 2), f)) -#> 8. purrr::map(c(1, 4, 2), f) -#> 9. purrr:::map_("list", .x, .f, ..., .progress = .progress) -#> at purrr/R/map.R:129:2 -#> 12. purrr (local) .f(.x[[i]], ...) }\if{html}{\out{}} If the input vector is named, \code{name} will be non-\code{NULL}: diff --git a/man/rmd/indexed-error.Rmd b/man/rmd/indexed-error.Rmd index 314852a1..87f95ad6 100644 --- a/man/rmd/indexed-error.Rmd +++ b/man/rmd/indexed-error.Rmd @@ -23,7 +23,7 @@ cnd$location cnd$name -cnd$parent +print(cnd$parent, backtrace = FALSE) ``` If the input vector is named, `name` will be non-`NULL`: