R/checkKeyArg.R

Defines functions checkKeyArg

checkKeyArg <- function(assessmentKey, ...) {
  if (missing(assessmentKey)) {
    dots <- list(...)
    if ("key" %in% names(dots)) {
      assessmentKey <- dots$key
      warning("key argument is depreciated, use assessmentKey instead.", call. = FALSE)
    }
  }
  assessmentKey
}

Try the icesSAG package in your browser

Any scripts or data that you put into this service are public.

icesSAG documentation built on June 8, 2025, 10:29 a.m.