Skip to content

Commit

Permalink
minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
xihang-chen committed Nov 27, 2024
1 parent e388161 commit a41dd3f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions R/plotSequenceRatios.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ plotSequenceRatios <- function(result,
colours = c("red", "blue"),
facet = NULL
){

rlang::check_installed("ggplot2")

# validate checks
result <- omopgenerics::validateResultArgument(result)

Expand Down
3 changes: 3 additions & 0 deletions R/plotTemporalSymmetry.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ plotTemporalSymmetry <- function(result,
xlim = c(-12, 12),
colours = c("blue", "red"),
scales = "free") {

rlang::check_installed("ggplot2")

# checks
checkInputPlotTemporalSymmetry(result = result,
plotTitle = plotTitle,
Expand Down

0 comments on commit a41dd3f

Please sign in to comment.