Learn R Programming

mark (version 0.8.2)

package_available: Check if package is available

Description

A wrapped requireNamespace

Usage

package_available(namespace)

Value

  • require_namespace(): None, called for side effects

  • package_available(): Visibly, TRUE or FALSE

Arguments

namespace

One or more packages to to require.