Skip to content

Commit

Permalink
Update test cases for ggplot2 3.4.0-rc
Browse files Browse the repository at this point in the history
  • Loading branch information
aphalo committed Oct 25, 2022
1 parent 5319e74 commit 389ddb4
Show file tree
Hide file tree
Showing 17 changed files with 86 additions and 85 deletions.
1 change: 1 addition & 0 deletions R/geom-text-linked.r
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,7 @@ compute_just2d <- function(data,
ab_orig <- paste(ab, "_orig", sep = "")
position <- just == "position"
if (!all(unique(ab_orig) %in% colnames(data))) {
# this needs to be silent as it is normal behaviour
just[position] <- "middle"
} else {
just[position] <-
Expand Down
Binary file modified tests/testthat/Rplots.pdf
Binary file not shown.
22 changes: 11 additions & 11 deletions tests/testthat/_snaps/geom-plot/geom-plot-npc-sf1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 11 additions & 11 deletions tests/testthat/_snaps/geom-plot/geom-plot-npc-sf2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions tests/testthat/_snaps/position-nudge/dodge-nudge1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions tests/testthat/_snaps/position-nudge/dodge-nudge2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions tests/testthat/_snaps/position-nudge/dodge-nudge3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions tests/testthat/_snaps/position-nudge/dodge-nudge4.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions tests/testthat/_snaps/position-nudge/nudge-keep1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions tests/testthat/_snaps/position-nudge/nudge-keep2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions tests/testthat/_snaps/position-nudge/nudge-keep3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions tests/testthat/_snaps/position-nudge/nudge-keep4.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 389ddb4

Please sign in to comment.