From 22677c3ebd0d5bac37329615dc8b2b1220499734 Mon Sep 17 00:00:00 2001 From: Andrew Bruce Date: Mon, 11 Nov 2024 19:02:00 -0800 Subject: [PATCH] fixed erroring examples --- R/helpers.R | 4 ++-- R/redundant.R | 2 +- man/empty.Rd | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/R/helpers.R b/R/helpers.R index 1caf990..a38cd77 100644 --- a/R/helpers.R +++ b/R/helpers.R @@ -137,9 +137,9 @@ max_vlen <- \(x) collapse::fmax(vlen(x)) #' #' empty(list()) #' -#' empty(list(character(0)) +#' empty(list(character(0))) #' -#' empty(list(x = character(0)) +#' empty(list(x = character(0))) #' #' @autoglobal #' diff --git a/R/redundant.R b/R/redundant.R index f9fa597..f0d93ab 100644 --- a/R/redundant.R +++ b/R/redundant.R @@ -53,7 +53,7 @@ rr <- \(...) contrast(...) #' split_lengths() |> #' remove_redundant() #' -#' @importFrom collapse %=% .c +#' @importFrom collapse .c %=% #' #' @export #' diff --git a/man/empty.Rd b/man/empty.Rd index 31eb07e..f057819 100644 --- a/man/empty.Rd +++ b/man/empty.Rd @@ -26,8 +26,8 @@ empty(NA) empty(list()) -empty(list(character(0)) +empty(list(character(0))) -empty(list(x = character(0)) +empty(list(x = character(0))) }