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

8 exports 29 stars 12.59 score 1 dependencies 1106 dependents 258 scripts 178.7k downloads

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

TargetResultDate
Doc / VignettesOKAug 12 2024
R-4.5-winOKAug 12 2024
R-4.5-linuxOKAug 12 2024
R-4.4-winOKAug 12 2024
R-4.4-macOKAug 12 2024
R-4.3-winOKAug 12 2024
R-4.3-macOKAug 12 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