R/is.installed.R

Defines functions is.installed

#' @importFrom utils installed.packages
is.installed <- function(pkg) {
  pkg %in% installed.packages()[, "Package"]
}

Try the icesTAF package in your browser

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

icesTAF documentation built on March 31, 2023, 5:20 p.m.