Static Analysis of R-Code Dependencies
Overview
A minimal R-package to approximately detect global and imported functions or variables from R-source code or R-packages by static code analysis.
- Convert
checkglobalsobject to sarif json - Added sarif-upload example gh-workflow
From NEWS.md in the release
Install
Health
NOTER code for possible problemsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64
Found calls to structure() using deprecated special names: checkglobals/R/as.R (.Names: 1) checkglobals/R/print.R (.Names: 1) '.Names' should be changed to 'names'.
- NOTE8 OK, 5 NOTENow
- NOTE11 OK, 2 NOTE2026-07-16
- OK13 OK2026-05-02
- NOTE11 OK, 1 NOTE2026-04-25
- OK14 OK2026-04-16
- NOTE13 OK, 1 NOTE2026-03-28
Show 1 earlier changeHide 1 earlier change
- OK14 OK2026-03-10
Documentation
- Help pages
- 21
- Examples that run
- 100%19 run in a plain check
- Exported functions with examples
- 60%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
Stars over time
Releases over time
9 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/jorischau/checkglobals on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2025-10-01 · The repository has a site deploy workflow
pkgdown site last built 2025-10-01
Show all practicesHide 2 practices
Dependencies
Installing checkglobals adds no packages beyond those that come with R.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.1.4Latest
- RR 4.5.0 released · 2025-04-11
- 0.1.32025-02-06 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 0.1.02023-06-02
- RR 4.3.0 released · 2023-04-21
Package metadata
- First published
- 2023-06-02
- Total releases
- 3 / 3 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1.0
- Download size
- 34 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("checkglobals")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.