From 76f23379e5f7f826582336d2aaaf5bccd8e4161f Mon Sep 17 00:00:00 2001 From: Chantel Wetzel Date: Mon, 26 Aug 2024 11:01:33 -0700 Subject: [PATCH] add soft deprecation warning --- R/GetSpp.fn.R | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/R/GetSpp.fn.R b/R/GetSpp.fn.R index 1dc523b..7f7f60c 100644 --- a/R/GetSpp.fn.R +++ b/R/GetSpp.fn.R @@ -35,6 +35,13 @@ #' ) #' GetSpp.fn <- function(species, unident = FALSE) { + + lifecycle::deprecate_soft( + when = "2.5", + what = "nwfscSurvey::GetSpp.n()", + details = "Please switch to get_species_info()." + ) + # background information sppnames <- nwfscSurvey::PullSpp.fn() if (!unident) {