ggplot2
Comparing two versions.
Metadata
Release dates
3.0.0 2018-07-034.0.0 2025-09-11Major bump
License
MIT + file LICENSEwas GPL-2 | file LICENSEchanged
Requirements
Minimum R ≥ 4.1 was 3.1Download size 3.6 MB +922 KB
Contributors+4 -1
Hadley Wickhamaut
Winston Changaut
Lionel Henryaut
Thomas Lin Pedersenaut, cre
Kohske Takahashiaut
Claus Wilkeaut
Kara Wooaut
newHiroaki Yutaniaut
newDewey Dunningtonaut
newTeun van den Brandaut
newPosit, PBCcph, fnd
removedRStudiocph
Structure
| Metric | 3.0.0 | 4.0.0 | Change |
|---|---|---|---|
| Exported functions | 451 | 643 | +192 |
| Internal functions | 344 | 509 | +165 |
| Total lines | 46,092 | 95,229 | +49,137 |
| R lines | 25,359 | 47,724 | +22,365 |
| Compiled (src) lines | 0 | 0 | 0 |
| Test lines | 5,221 | 17,565 | +12,344 |
Documentation
| Metric | 3.0.0 | 4.0.0 | Change |
|---|---|---|---|
| Doc lines | 13,638 | 27,939 | +14,301 |
| Roxygen coverage | 1.00 | 1.00 | +0.00 |
| References coverage | 0.03 | 0.02 | -0.01 |
Dependencies
| Metric | 3.0.0 | 4.0.0 | Change |
|---|---|---|---|
| Direct dependencies | 14 | 12 | -2 |
Complexity
| Metric | 3.0.0 | 4.0.0 | Change |
|---|---|---|---|
| Cyclomatic mean | 2.21 | 2.71 | +0.50 |
| Cyclomatic max | 27 | 29 | +2 |
Testing
| Metric | 3.0.0 | 4.0.0 | Change |
|---|---|---|---|
| Test cases | 328 | 849 | +521 |
| Test/code ratio | 0.82 | 1.06 | +0.24 |
| Snapshot tests | 0 | 511 | +511 |
Object system
| Metric | 3.0.0 | 4.0.0 | Change |
|---|---|---|---|
| S3 methods | 118 | 118 | 0 |
| S4 classes | 0 | 0 | 0 |
| S4 generics | 0 | 0 | 0 |
| S4 methods | 0 | 0 | 0 |
| R6 classes | 0 | 0 | 0 |
| S7 classes | 0 | 15 | +15 |
| RC classes | 0 | 0 | 0 |
Namespace / exported symbols
Exported symbols451 643 +192
+192Added
.expose_data.ignore_dataCoordRadialCoordTransformGeomBin2dGeomContourFilledGeomDensity2dFilledGeomFunctionGuideGuideAxisGuideAxisLogticksGuideAxisStackGuideAxisThetaGuideBinsGuideColourbarGuideColourstepsGuideCustomGuideLegendGuideNoneGuideOldScaleBinnedScaleBinnedPositionStatAlignStatConnect+168 more
-0Removed
None
Object kinds
Internal functions344 509 +165
S3 methods118 118
S7 classes0 15 +15
Exported symbol names come from the package NAMESPACE for each release. S3 and S4 exports are counted; R5/RC, R6, and S7 detection is limited.
Files +366 files
Total files646 1,012 +366
R source177 206 +29
Tests258 530 +272
Vignettes7 5 -2
File counts by type are compared here. Per-file line-level churn (lines added and deleted per file) is produced by the cran-code-metrics pipeline but is not yet merged into the viewer database.
Dependencies +6 -8
+ cli+ grDevices+ isoband+ lifecycle+ S7+ vctrs
- digest- lazyeval- MASS- mgcv- plyr- reshape2- tibble- viridisLite
Imports in 4.0.0
Only Imports are compared per version. Changes to Depends, Suggests, LinkingTo, or Enhances are not tracked per version yet.
Size and language
R source lines25,359 47,724 +22,365
3.0.0
25,359
4.0.0
47,724
Documentation (Rd)13,638 27,939 +14,301
3.0.0
13,638
4.0.0
27,939
Total lines46,092 95,229 +49,137
3.0.0
46,092
4.0.0
95,229
Other languages (lines)
Markdown– 2,715
R Markdown1,874 2,001 +127
Test coverage
Coverage is not tracked per version yet; only the latest release is measured. See the current call graph and coverage for the latest release.
Call graph diff
Per-version call graphs are not archived yet, so a function and edge diff is not tracked per version yet. See the current call graph and coverage for the latest release.