☰
Debian Codegraph
@
0.2.0+dfsg-2
/
/
tests
/
testthat
/
test-6-ggdendrogram.R
☽
☼
tests/testthat/test-6-ggdendrogram.R
code
plain
raw
GPL-2
or
GPL-3
2015-2016 Andrie de Vries,; Brian D. Ripley (author of package tree)
debian/copyright
1
test_that("ggdendrogram plots and accepts ... parameters", {
2
require(ggplot2)
3
hc <- hclust(dist(USArrests), "ave")
4
p1 <- ggdendrogram(hc)
5
expect_s3_class(p1, "ggplot")
6
p2 <- ggdendrogram(hc, size = 2)
7
expect_s3_class(p2, "ggplot")
8
})