1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-12 09:41:49 +02:00

(v1.7.1.9020) autoplot generics

This commit is contained in:
2021-07-12 20:24:49 +02:00
parent fc946564d1
commit 6838f03bde
27 changed files with 197 additions and 341 deletions

View File

@ -44,9 +44,9 @@ expect_silent(plot(as.disk(c(10, 20, 40))))
expect_silent(plot(as.disk(c(10, 20, 40)), expand = FALSE))
expect_silent(plot(as.disk(c(10, 20, 40)), mo = "esco", ab = "cipr"))
if (AMR:::pkg_is_available("ggplot2")) {
expect_inherits(ggplot(as.disk(c(10, 20, 40))), "gg")
expect_inherits(ggplot(as.disk(c(10, 20, 40)), expand = FALSE), "gg")
expect_inherits(ggplot(as.disk(c(10, 20, 40)), mo = "esco", ab = "cipr"), "gg")
expect_inherits(autoplot(as.disk(c(10, 20, 40))), "gg")
expect_inherits(autoplot(as.disk(c(10, 20, 40)), expand = FALSE), "gg")
expect_inherits(autoplot(as.disk(c(10, 20, 40)), mo = "esco", ab = "cipr"), "gg")
}
expect_stdout(print(as.disk(12)))