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 March 18, 2022, 6:54 p.m.