pkgname {options}R Documentation

Grab package name, at runtime

Description

Lazily grab packageName() within calling environment, not within function environment.

Usage

pkgname(env = parent.frame())

Arguments

env

An environment in which to search for a package name

Value

A package name or "globalenv" if not found


[Package options version 0.2.0 Index]