Skip to content

Commit

Permalink
Update depreciation messages
Browse files Browse the repository at this point in the history
  • Loading branch information
william-hutchison committed Jun 24, 2024
1 parent e769d3f commit 21f9fe8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion R/fhs.R
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
##' }
##' @importFrom graphics locator lines points
fhs <- function(data, mark = TRUE, names = TRUE, ...) {
lifecycle::deprecate_warn("1.0.0", "tidygate::fhs()")
lifecycle::deprecate_warn("1.0.0", "tidygate::fhs()", with = "tidygate::gate_interactive()")

cat("Mark region on plot.\n")
if (!(is.data.frame(data) || is.matrix(data))) stop("data must be a data frame or matrix")
Expand Down
4 changes: 2 additions & 2 deletions R/methods.R
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ gate_chr <- function(.dim1,

gate_list = NULL,
...) {
lifecycle::deprecate_warn("1.0.0", "tidygate::gate_chr()")
lifecycle::deprecate_warn("1.0.0", "tidygate::gate_chr()", with = "tidygate::gate_interactive()")
UseMethod("gate_chr")
}

Expand Down Expand Up @@ -145,7 +145,7 @@ gate_int <- function(.dim1,
.group_by = NULL,
gate_list = NULL,
...) {
lifecycle::deprecate_warn("1.0.0", "tidygate::gate_int()")
lifecycle::deprecate_warn("1.0.0", "tidygate::gate_int()", with = "tidygate::gate_interactive()")
UseMethod("gate_int")
}

Expand Down

0 comments on commit 21f9fe8

Please sign in to comment.