Skip to content

Commit 22ff531

Browse files
committed
add warning on ggplot
1 parent ffd0abe commit 22ff531

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Imports:
3131
edgeR,
3232
ComplexHeatmap,
3333
ggh4x,
34-
ggplot2 (<= 3.5.2),
34+
ggplot2,
3535
ggpubr,
3636
grid,
3737
gridExtra,

R/zzz.R

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.onAttach <- function(libname, pkgname) {
2+
if (packageVersion("ggplot2") > "3.5.2") {
3+
packageStartupMessage(
4+
"Warning: markeR has been tested with ggplot2 <= 3.5.2. ",
5+
"Using newer versions may cause incompatibilities."
6+
)
7+
}
8+
}

0 commit comments

Comments
 (0)