diff --git a/R/Object_Utilities.R b/R/Object_Utilities.R index a33dbbb02c..b6fa356ac7 100644 --- a/R/Object_Utilities.R +++ b/R/Object_Utilities.R @@ -1039,7 +1039,7 @@ Add_Sample_Meta <- function( #' @concept object_util #' #' @examples -#' \donttest{ +#' \dontrun{ #' library(Seurat) #' pbmc_small[["batch"]] <- sample(c("batch1", "batch2"), size = ncol(pbmc_small), replace = TRUE) #' diff --git a/man/Extract_Sample_Meta.Rd b/man/Extract_Sample_Meta.Rd index bf1cd1aa45..9965d37ebd 100644 --- a/man/Extract_Sample_Meta.Rd +++ b/man/Extract_Sample_Meta.Rd @@ -42,7 +42,7 @@ Returns a by identity meta.data data.frame with one row per sample. Useful for quick view of sample breakdown, meta data table creation, and/or use in pseudobulk analysis } \examples{ -\donttest{ +\dontrun{ library(Seurat) pbmc_small[["batch"]] <- sample(c("batch1", "batch2"), size = ncol(pbmc_small), replace = TRUE)