From 92e9f659cedc6a0d825901b0eabdc790f24d1020 Mon Sep 17 00:00:00 2001 From: masurp Date: Tue, 28 May 2024 15:35:13 +0200 Subject: [PATCH] Small fix. --- R/generics.r | 2 +- R/specr-package.r | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/R/generics.r b/R/generics.r index cd7880e..9ff180e 100644 --- a/R/generics.r +++ b/R/generics.r @@ -923,7 +923,7 @@ summary.specr.boot <- function(x, group = NULL, ...) { group_by(grp = str_c('Column', rep(1:2, length.out = n()))) %>% mutate(rn = row_number()) %>% ungroup %>% - pivot_wider(names_from = grp, values_from = value) %>% + tidyr::pivot_wider(names_from = grp, values_from = value) %>% select(-rn) |> rename(type = key, estimate = Column1, p.value = Column2) diff --git a/R/specr-package.r b/R/specr-package.r index b6bbac1..d78d0ad 100644 --- a/R/specr-package.r +++ b/R/specr-package.r @@ -3,7 +3,7 @@ #' @import dplyr #' @importFrom lme4 VarCorr lmer #' @importFrom glue glue -#' @importFrom tidyr expand_grid unnest unite +#' @importFrom tidyr expand_grid unnest unite pivot_wider #' @importFrom rlang enquo enquos .data #' @importFrom tibble tibble as_tibble lst #' @importFrom igraph graph_from_data_frame