validate_installed_package: Checks whether a package has already been installed. If it...

Description Usage Arguments Value

Description

Checks whether a package has already been installed. If it has, and if the version corresponds to the required package version, then it returns TRUE. If it has been installed and the version does not correspond to the required version, then it throws an exception. Otherwise, it returns false.

Usage

1

Arguments

package

the package to check

version

the required version

compare

the comparison operator

Value

whether we should install the package


rbundler documentation built on May 2, 2019, 11:27 a.m.