From 48b2769abcf425b018ef2eea94d18f461b2da6b9 Mon Sep 17 00:00:00 2001 From: James Laird-Smith Date: Tue, 20 Aug 2024 21:51:31 +0100 Subject: [PATCH] Docs tweak (#1135) --- R/list-simplify.R | 6 +++--- man/list_simplify.Rd | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/R/list-simplify.R b/R/list-simplify.R index da6fa165..ab5f82d1 100644 --- a/R/list-simplify.R +++ b/R/list-simplify.R @@ -7,9 +7,9 @@ #' [list_flatten()]. #' #' @param x A list. -#' @param strict What should happen if simplification fails? If `TRUE`, -#' it will error. If `FALSE` and `ptype` is not supplied, it will return `x` -#' unchanged. +#' @param strict What should happen if simplification fails? If `TRUE` +#' (the default) it will error. If `FALSE` and `ptype` is not supplied, +#' it will return `x` unchanged. #' @param ptype An optional prototype to ensure that the output type is always #' the same. #' @inheritParams rlang::args_dots_empty diff --git a/man/list_simplify.Rd b/man/list_simplify.Rd index f072b1f6..1b16e3b2 100644 --- a/man/list_simplify.Rd +++ b/man/list_simplify.Rd @@ -11,9 +11,9 @@ list_simplify(x, ..., strict = TRUE, ptype = NULL) \item{...}{These dots are for future extensions and must be empty.} -\item{strict}{What should happen if simplification fails? If \code{TRUE}, -it will error. If \code{FALSE} and \code{ptype} is not supplied, it will return \code{x} -unchanged.} +\item{strict}{What should happen if simplification fails? If \code{TRUE} +(the default) it will error. If \code{FALSE} and \code{ptype} is not supplied, +it will return \code{x} unchanged.} \item{ptype}{An optional prototype to ensure that the output type is always the same.}