Skip to content

Commit 1e1fb29

Browse files
committed
Add ggpp and one ggplot2 call
1 parent aa3fc3c commit 1e1fb29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/tm_g_distribution.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ srv_distribution <- function(id,
681681
)
682682
)
683683

684-
qenv <- teal.code::eval_code(qenv, 'library("forcats")') # nolint quotes
684+
qenv <- teal.code::eval_code(qenv, 'library("forcats");library("ggpp")') # nolint quotes
685685
qenv <- teal.code::eval_code(
686686
qenv,
687687
substitute(
@@ -1065,7 +1065,7 @@ srv_distribution <- function(id,
10651065
if (isTRUE(input$qq_line)) {
10661066
plot_call <- substitute(
10671067
expr = plot_call +
1068-
stat_qq_line(distribution = mapped_dist, dparams = params),
1068+
ggplot2::stat_qq_line(distribution = mapped_dist, dparams = params),
10691069
env = list(plot_call = plot_call, mapped_dist = as.name(unname(map_dist[t_dist])))
10701070
)
10711071
}

0 commit comments

Comments
 (0)