summaryrefslogtreecommitdiff
path: root/tests/testthat/text-heatmap.R
diff options
context:
space:
mode:
authorChris Sobczak <chris@sobczak.family>2026-06-17 00:23:03 -0700
committerChris Sobczak <chris@sobczak.family>2026-06-17 00:23:03 -0700
commitc9febb74dddab29b7e60488c91564796387f2785 (patch)
tree389dc3744bec3568dd2621eb9ed75ede3efb4bee /tests/testthat/text-heatmap.R
parentc9155f21e709ff2d2b84f132f2e8bdf62f0078b8 (diff)
Rename corplot to heatmap
Diffstat (limited to 'tests/testthat/text-heatmap.R')
-rw-r--r--tests/testthat/text-heatmap.R5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/testthat/text-heatmap.R b/tests/testthat/text-heatmap.R
new file mode 100644
index 0000000..94ea14e
--- /dev/null
+++ b/tests/testthat/text-heatmap.R
@@ -0,0 +1,5 @@
+test_that("returns a ggplot object", {
+ x <- matrix(data = rnorm(100), nrow = 10)
+ p <- heatmap(x)
+ inherits(p, 'ggplot')
+})