From ed3f9550bbdc9edc425a84aa9cd2733648628ff8 Mon Sep 17 00:00:00 2001 From: Vincent van Hees Date: Wed, 6 Nov 2024 13:35:18 +0100 Subject: [PATCH] message users of legacy function g.shell.GGIR() that they can just use GGIR() --- R/g.shell.GGIR.R | 3 +++ 1 file changed, 3 insertions(+) diff --git a/R/g.shell.GGIR.R b/R/g.shell.GGIR.R index 2ddade7fa..71108ce4c 100644 --- a/R/g.shell.GGIR.R +++ b/R/g.shell.GGIR.R @@ -1,4 +1,7 @@ g.shell.GGIR = function(...) { + message(paste0("Please note that instead of g.shell.GGIR() you can just write ", + "GGIR(), because all g.shell.GGIR does is forward its input to ", + "function GGIR()."), call. = FALSE) .args <- as.list(match.call()[-1]) do.call(GGIR, .args) }