From 7dd8b55f3d5b8f2787b9a00e8a99373b471216e9 Mon Sep 17 00:00:00 2001 From: John Blischak Date: Fri, 27 Oct 2023 12:51:22 -0400 Subject: [PATCH] Move tidyr to Suggests --- DESCRIPTION | 4 ++-- R/simfix2simPWSurv.R | 1 - data-raw/DATASET.R | 2 +- man/simfix2simpwsurv.Rd | 1 - 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 80465322..44861556 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -48,7 +48,6 @@ Imports: stats, survival, tibble, - tidyr, utils Suggests: Matrix, @@ -62,7 +61,8 @@ Suggests: rmarkdown, stringr, survMisc, - testthat + testthat, + tidyr LinkingTo: Rcpp Roxygen: list(markdown = TRUE) diff --git a/R/simfix2simPWSurv.R b/R/simfix2simPWSurv.R index f6fe0300..81c36351 100644 --- a/R/simfix2simPWSurv.R +++ b/R/simfix2simPWSurv.R @@ -42,7 +42,6 @@ #' @export #' #' @examples -#' library(tidyr) #' library(dplyr) #' library(tibble) #' diff --git a/data-raw/DATASET.R b/data-raw/DATASET.R index 37a5b679..da826a7d 100644 --- a/data-raw/DATASET.R +++ b/data-raw/DATASET.R @@ -1,5 +1,5 @@ ## code to prepare `DATASET` dataset goes here -library(tidyr) +library(tibble) set.seed(6671) ds <- simPWSurv( n = 200, diff --git a/man/simfix2simpwsurv.Rd b/man/simfix2simpwsurv.Rd index 698ae2d6..ccc810e4 100644 --- a/man/simfix2simpwsurv.Rd +++ b/man/simfix2simpwsurv.Rd @@ -31,7 +31,6 @@ to analyze or otherwise evaluate individual simulations in ways that \code{\link[=sim_fixed_n]{sim_fixed_n()}} does not. } \examples{ -library(tidyr) library(dplyr) library(tibble)