Skip to content

Commit 2438b42

Browse files
committed
updates to fix R cmd check problems
1 parent 963c237 commit 2438b42

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

R/ppc-discrete.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ ppc_rootogram <- function(y,
310310
graph <- graph +
311311
geom_yrep +
312312
geom_y +
313-
aes(x = xpos) +
313+
aes(x = .data$xpos) +
314314
scale_y_sqrt() +
315315
scale_fill_manual("", values = get_color("d"), guide = "none") +
316316
scale_color_manual("", values = get_color("lh"), labels = yrep_label()) +

tests/testthat/_snaps/ppc-discrete/ppc-rootogram-style-discrete-prob-size-bound-distinct-false.svg renamed to tests/testthat/_snaps/ppc-discrete/ppc-rootogram-discrete-prob-size-bound-distinct-false.svg

Lines changed: 1 addition & 1 deletion
Loading

tests/testthat/test-ppc-discrete.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ test_that("ppc_rootogram renders correctly", {
200200
)
201201

202202
vdiffr::expect_doppelganger(
203-
title = "ppc_rootogram (style='discrete', prob, size, bound_distinct=FALSE)",
203+
title = "ppc_rootogram ('discrete', prob, size, bound_distinct=FALSE)",
204204
fig = p_discrete_nonbound)
205205
})
206206

0 commit comments

Comments
 (0)