Skip to content

Commit

Permalink
wrap plot_plate ggpattern examples in \donttest as they are slow
Browse files Browse the repository at this point in the history
  • Loading branch information
idavydov committed Mar 13, 2024
1 parent 2b7fb89 commit dc3db6a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,12 @@ plot_design <- function(.tbl, ..., .color, .alpha = NULL) {
#' .color = Treatment, .alpha = Timepoint
#' )
#'
#' \donttest{
#' plot_plate(bc$get_samples(),
#' plate = plate, column = column, row = row,
#' .color = Treatment, .pattern = Timepoint
#' )
#' }
plot_plate <- function(.tbl, plate = plate, row = row, column = column,
.color, .alpha = NULL, .pattern = NULL,
title = paste("Layout by", rlang::as_name(rlang::enquo(plate))),
Expand Down
2 changes: 2 additions & 0 deletions man/plot_plate.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit dc3db6a

Please sign in to comment.