Package: globals 0.16.2

globals: Identify Global Objects in R Expressions

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.

Authors:Henrik Bengtsson [aut, cre, cph], Davis Vaughan [ctb]

globals_0.16.2.tar.gz
globals_0.16.2.zip(r-4.5)globals_0.16.2.zip(r-4.4)globals_0.16.2.zip(r-4.3)
globals_0.16.2.tgz(r-4.4-any)globals_0.16.2.tgz(r-4.3-any)
globals_0.16.2.tar.gz(r-4.5-noble)globals_0.16.2.tar.gz(r-4.4-noble)
globals_0.16.2.tgz(r-4.4-emscripten)globals_0.16.2.tgz(r-4.3-emscripten)
globals.pdf |globals.html
globals/json (API)
NEWS

# Install 'globals' in R:
install.packages('globals', repos = c('https://henrikbengtsson.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/henrikbengtsson/globals/issues

Pkgdown site:https://globals.futureverse.org

On CRAN:

code-inspection

10.35 score 28 stars 1.2k packages 258 scripts 173k downloads 8 exports 1 dependencies

Last updated 2 years agofrom:e857de3009 (on master). Checks:5 OK, 2 NOTE. Indexed: no.

TargetResultLatest binary
Doc / VignettesOKJan 09 2025
R-4.5-winNOTEJan 09 2025
R-4.5-linuxNOTEJan 09 2025
R-4.4-winOKJan 09 2025
R-4.4-macOKJan 09 2025
R-4.3-winOKJan 09 2025
R-4.3-macOKJan 09 2025

Exports:as.GlobalscleanupfindGlobalsGlobalsglobalsByNameglobalsOfpackagesOfwalkAST

Dependencies:codetools

Readme and manuals

Help Manual

Help pageTopics
Drop certain types of globalscleanup cleanup.Globals
Get all global objects of an expressionfindGlobals globalsOf
A representation of a set of globalsas.Globals as.Globals.Globals as.Globals.list Globals names [.Globals
Locates and retrieves a set of global variables by their namesglobalsByName
Identify the packages of the globalspackagesOf packagesOf.Globals