globals: Identify Global Objects in R Expressions
Version 0.10.0

Identifies global ("unknown" or "free") objects in R expressions by code inspection using various strategies, e.g. conservative or liberal. The objective of this package is to make it as simple as possible to identify global objects for the purpose of exporting them in distributed compute environments.

Browse man pages Browse package API and functions Browse package files

AuthorHenrik Bengtsson [aut, cre, cph]
Date of publication2017-04-17 18:29:09 UTC
MaintainerHenrik Bengtsson <henrikb@braju.com>
LicenseLGPL (>= 2.1)
Version0.10.0
URL https://github.com/HenrikBengtsson/globals
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("globals")

Man pages

cleanup.Globals: Drop certain types of globals
Globals: A representation of a set of globals
globalsByName: Locates and retrieves a set of global variables by their...
globalsOf: Get all global objects of an expression
packagesOf.Globals: Identify the packages of the globals
walkAST: Walk the Abstract Syntax Tree (AST) of an R Expression

Functions

Globals Man page Source code
[.Globals Man page
as.Globals Man page Source code
as.Globals.Globals Man page Source code
as.Globals.list Man page Source code
as_function Source code
c.Globals Source code
cleanup Man page Source code
cleanup.Globals Man page Source code
collect_usage_function Source code
drop_missing_formals Source code
envname Source code
findGlobals Man page Source code
find_globals_conservative Source code
find_globals_liberal Source code
find_globals_ordered Source code
globalsByName Man page Source code
globalsOf Man page Source code
hexpr Source code
hpaste Source code
inject_tracer_to_function Source code
inject_tracer_to_walker Source code
is.base Source code
is_base_pkg Source code
is_internal Source code
mdebug Source code
names Man page
packagesOf Man page Source code
packagesOf.Globals Man page Source code
trim Source code
unique.Globals Source code
walkAST Man page Source code
where Source code

Files

tests
tests/utils.R
tests/conservative.R
tests/liberal.R
tests/dotdotdot.R
tests/walkAST.R
tests/Globals.R
tests/globalsOf.R
tests/zzz.R
tests/formulas.R
NAMESPACE
NEWS
R
R/packagesOf.R
R/utils.R
R/cleanup.R
R/walkAST.R
R/where.R
R/Globals-class.R
R/findGlobals.R
R/globalsOf.R
MD5
DESCRIPTION
man
man/globalsByName.Rd
man/walkAST.Rd
man/packagesOf.Globals.Rd
man/cleanup.Globals.Rd
man/globalsOf.Rd
man/Globals.Rd
globals documentation built on May 19, 2017, 8:33 p.m.