Skip to content

Commit

Permalink
add soft deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
chantelwetzel-noaa committed Aug 26, 2024
1 parent 35b5846 commit 76f2337
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions R/GetSpp.fn.R
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 76f2337

Please sign in to comment.