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

On CRAN:

code-inspection

11.59 score 28 stars 1.2k packages 258 scripts 300k downloads 8 exports 1 dependencies

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

TargetResultDate
Doc / VignettesOKNov 10 2024
R-4.5-winNOTENov 10 2024
R-4.5-linuxNOTENov 10 2024
R-4.4-winOKNov 10 2024
R-4.4-macOKNov 10 2024
R-4.3-winOKNov 10 2024
R-4.3-macOKNov 10 2024

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