globals v0.12.5


Monthly downloads



Identify Global Objects in R Expressions

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.

Functions in globals

Name Description
.length Gets the length of an object without dispatching
cleanup.Globals Drop certain types of globals
globalsByName Locates and retrieves a set of global variables by their names
packagesOf.Globals Identify the packages of the globals
findGlobals Get all global objects of an expression
Globals A representation of a set of globals
walkAST Walk the Abstract Syntax Tree (AST) of an R Expression
No Results!

Last month downloads


License LGPL (>= 2.1)
LazyLoad TRUE
ByteCompile TRUE
RoxygenNote 7.0.2
NeedsCompilation no
Packaged 2019-12-07 20:32:40 UTC; hb
Repository CRAN
Date/Publication 2019-12-07 21:10:02 UTC
imports codetools
depends R (>= 3.1.2)

Include our badge in your README