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.5-any)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'))

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

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

On CRAN:

Conda:

code-inspection

10.51 score 29 stars 1.2k packages 258 scripts 234k downloads 8 exports 1 dependencies

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

TargetResultLatest binary
Doc / VignettesOKMar 10 2025
R-4.5-winNOTEMar 10 2025
R-4.5-macNOTEMar 10 2025
R-4.5-linuxNOTEMar 10 2025
R-4.4-winOKMar 10 2025
R-4.4-macOKMar 10 2025
R-4.4-linuxOKMar 10 2025
R-4.3-winOKMar 10 2025
R-4.3-macOKMar 10 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