Compare versions · code and quality diff
palr
Minor bump Structure
Exported functions ⓘ15→21+6
Internal functions ⓘ7→21+14
Total lines ⓘ1,601→2,328+727
R lines ⓘ1,040→1,247+207
Compiled (src) lines ⓘ0→0no change
Test lines ⓘ87→383+296
Namespace changes+6
added (6)
dirty_palimage_hexstretch_histeqstretch_linearstretch_logstretch_sqrtSymbols listed are the exported names whose presence in NAMESPACE changed between the two versions. Net export delta is +6 (6 added, 0 removed).
Files changed (37 files)+1246−458
DESCRIPTION+11−8MD5+35−26NAMESPACE+8NEWS.md+37R/bathy.R+3−17R/data_pal.R+9−1R/dirty.R+53R/element_pal.R−32R/image_hex.R+220R/image_pal.R+1R/palr-package.R+7−4R/palr.R+99−277R/stretch.R+146R/utils.R+1−1README.md+3−1build/vignette.rdsdata/chl.rdainst/doc/nasa_chla.Rmd+1−1inst/doc/nasa_chla.html+6−5inst/doc/palr.R+1−1inst/doc/palr.html+8−7inst/extdata/nt_20140320_f17_v01_s.binman/bathy_deep_pal.Rd+1−1man/chl_pal.Rd+3−13man/d_pal.Rd+3man/dirty_pal.Rd+33man/ice_pal.Rd+9−6man/image_hex.Rd+69man/oisst.Rd+7−2man/palr.Rd+27−1man/sst_pal.Rd+1−1man/stretch_linear.Rd+95tests/testthat/test-basic.R+46−47tests/testthat/test-image_hex.R+129tests/testthat/test-missing.R+14−5tests/testthat/test-stretch.R+159vignettes/nasa_chla.Rmd+1−1Lines added and removed per file, summed across the versions between the two compared releases.
Datasets
Datasets are matched by name; a content-fingerprint change means the stored data itself changed (a format change means only its storage encoding did). 1 unchanged.
Languages
R functions ⓘ22→42+20
C++ functions ⓘ0→0no change
C functions ⓘ0→0no change
Fortran functions ⓘ0→0no change
Rust functions ⓘ0→0no change
Compiled share ⓘ0%→0%no change
Documentation
Doc lines ⓘ348→572+224
Roxygen coverage ⓘ100%→100%no change
References coverage ⓘ40%→38.5%−1.5pp
Examples coverage ⓘ90%→92.3%+2.3pp
Help pages with examples ⓘ9→12+3
Undocumented params lower is better ⓘ0%→3%+3pp
Value docs ⓘ87.5%→100%+12.5pp
pkgdown site ⓘNo→Nono change
README ⓘYes→Yesno change
Vignettes ⓘYes→Yesno change
NEWS file ⓘYes→Yesno change
Testing
Test cases ⓘ9→45+36
Test/code ratio ⓘ0.08→0.31+0.22
Snapshot tests ⓘ0→0no change
Has tests ⓘYes→Yesno change
testthat edition ⓘ–→3–
Exported fn test linkage ⓘ93.3%→76.2%−17.1pp
Stochastic seed discipline ⓘ0%→66.7%+66.7pp
Complexity
Cyclomatic mean lower is better ⓘ2.82→2.81−0.01
Cyclomatic max lower is better ⓘ8→14+6
Cyclomatic median lower is better ⓘ2→1−1
Lines per function (mean) lower is better ⓘ23.95→19.02−4.93
Call graph
Functions (nodes) ⓘ22→42+20
Call edges ⓘ12→36+24
Max function degree ⓘ2→7+5
Mean function degree ⓘ1.09→1.71+0.62
Isolated functions ⓘ1→1no change
Connected components ⓘ9→8−1
Native call sites ⓘ0→0no change
Object system
S3 methods ⓘ0→0no change
S4 classes ⓘ0→0no change
S4 generics ⓘ0→0no change
S4 methods ⓘ0→0no change
R6 classes ⓘ0→0no change
S7 classes ⓘ0→0no change
RC classes ⓘ0→0no change
Quality & risk
Unsafe pattern score lower is better ⓘ0→0no change
Secret pattern count lower is better ⓘ0→0no change
Global-state write density lower is better ⓘ0.00→0.00no change
Deprecated idiom density lower is better ⓘ0.00→0.00no change
Triple-colon uses lower is better ⓘ0→0no change
Continuous integration
CI present ⓘNo→Nono change
CI matrix breadth ⓘ0→0no change
Dependencies−1
Direct dependencies lower is better ⓘ1→1no change
Dependency drift ⓘ–→1–
ImportsNo change
Suggests−viridis
Package sets are compared per dependency type from the DESCRIPTION of each version. Version constraints and the base R requirement are omitted.
Requirements
SPDX valid ⓘYes→Yesno change
OSI approved ⓘYes→Yesno change
People
Authors4→4no change
Release metadata
Package
palr
Version
0.4.0→0.5.0
Released
2023-11-06→2026-08-05
Maintainer
Michael D. Sumner
License
GPL-3
Requires R
3.6.0
Download size
177 KB
64 comparison rows · 11 improved, 4 regressed, 1 added, 1 removed, 47 unchanged. Hover any metric for its definition, or see the full glossary.