checkForPackageWithVersion: Check for an Installed Package with a Particular Version or...

View source: R/checkForPackageWithVersion.R

checkForPackageWithVersionR Documentation

Check for an Installed Package with a Particular Version or Newer

Description

Utility function for making sure a package is available with a particular version or newer.

Usage

checkForPackageWithVersion(pkg, vers)

Arguments

pkg

Character. The name of the package to check.

vers

Character. The minimum acceptable version of the package. Will only be checked to the major.minor level.

Value

If the package with the required version or higher is available, TRUE is returned invisibly. Otherwise FALSE is returned.

Author(s)

Bryan A. Hanson (DePauw University).


ChemoSpecUtils documentation built on May 29, 2024, 3:12 a.m.