Learn R Programming

globals (version 0.16.3)

Identify Global Objects in R Expressions

Description

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

Copy Link

Version

Install

install.packages('globals')

Monthly Downloads

300,502

Version

0.16.3

License

LGPL (>= 2.1)

Issues

Pull Requests

Stars

Forks

Last Published

March 8th, 2024

Functions in globals (0.16.3)

globalsByName

Locates and retrieves a set of global variables by their names
walkAST

Walk the Abstract Syntax Tree (AST) of an R Expression
findGlobals

Get all global objects of an expression
packagesOf.Globals

Identify the packages of the globals
.length

Gets the length of an object without dispatching
Globals

A representation of a set of globals
cleanup.Globals

Drop certain types of globals