import {mark}R Documentation

Import

Description

Import a single function from a package

Usage

import(pkg, fun, overwrite = FALSE)

Arguments

pkg

String, name of the package

fun

String, fun name of the function

overwrite

Logical, if TRUE and fun is also found in the current environment, will overwrite assignment

Value

None, called for side effects

Examples

# assigns `add` -- test with caution
import("magrittr", "add")

[Package mark version 0.8.0 Index]