require_namespace {fuj}R Documentation

Require namespace

Description

Require namespace

Usage

require_namespace(package, ...)

Arguments

package, ...

Package names

Value

TRUE (invisibly) if found; otherwise errors

Examples

isTRUE(require_namespace("base")) # returns invisibly
try(require_namespace("1package")) # (using a purposefully bad name)
require_namespace("base", "utils")
try(require_namespace("base>=3.5", "utils>4.0", "fuj==10.0"))

[Package fuj version 0.2.1 Index]