Skip to content

Commit

Permalink
Merge pull request #286 from OHDSI/plot_temporal_symmetry_updated
Browse files Browse the repository at this point in the history
minor update
  • Loading branch information
xihang-chen authored Nov 27, 2024
2 parents e388161 + a41dd3f commit fbde3d5
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 fbde3d5

Please sign in to comment.