Skip to content

Commit

Permalink
append ggplot2:: prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
m7pr committed Apr 12, 2024
1 parent 36511b9 commit 58686ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion R/tm_g_bivariate.R
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,7 @@ bivariate_ggplot_call <- function(x_class,
Reduce(function(x, y) call("+", x, y), args)
}

plot_call <- substitute(ggplot(data_name), env = list(data_name = as.name(data_name)))
plot_call <- substitute(ggplot2::ggplot(data_name), env = list(data_name = as.name(data_name)))

# Single data plots
if (x_class == "numeric" && y_class == "NULL") {
Expand Down
1 change: 1 addition & 0 deletions tests/testthat/helper-TealAppDriver.R
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ simple_cdisc_data <- function(datasets = c("ADSL", "ADRS", "ADTTE")) {
app_driver_tm_g_association <- function() {
data <- within(teal.data::teal_data(), {
require(nestcolor)
require(ggplot2)
CO2 <- CO2
factors <- names(Filter(isTRUE, vapply(CO2, is.factor, logical(1L))))
CO2[factors] <- lapply(CO2[factors], as.character)
Expand Down

0 comments on commit 58686ee

Please sign in to comment.