Learn R Programming

⚠️There's a newer version (0.19.0) of this package.Take me there.

globals (version 0.12.5)

Identify Global Objects in R Expressions

Description

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.

Copy Link

Version

Install

install.packages('globals')

Monthly Downloads

292,976

Version

0.12.5

License

LGPL (>= 2.1)

Issues

Pull Requests

Stars

Forks

Maintainer

Henrik Bengtsson

Last Published

December 7th, 2019

Functions in globals (0.12.5)

.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