Skip to content

gbutils

Utilities for Simulation, Plots, Quantile Functions and Programming

v0.5.1 · Dec 18, 2025 · GPL (>= 2)

Description

Plot density and distribution functions with automatic selection of suitable regions. Numerically invert (compute quantiles) distribution functions. Simulate real and complex numbers from distributions of their magnitude and arguments. Optionally, the magnitudes and/or arguments may be fixed in almost arbitrary ways. Create polynomials from roots given in Cartesian or polar form. Small programming utilities: check if an object is identical to NA, count positional arguments in a call, set intersection of more than two sets, check if an argument is unnamed, compute the graph of S4 classes in packages.

Downloads

CRAN

10K

Last 30 days

1167th

37.9K

Last 90 days

167K

Last year

Trend: -32.8% (30d vs prior 30d)

r2u CRAN

80

Last 30 days

277

Last 90 days

1.1K

Last year

Trend: +12.7% (30d vs prior 30d)

autoCRAN

6

Last 7 days

21

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

conda-forge CRAN

67

Last 30 days

190

Last 90 days

1.1K

Last year

Trend: -19.3% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Line coverage

Expression

Tests / Examples

Functions

19 19 exported

Complexity

3.5 avg / 18 max

Call network

19 nodes / 3 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Code

Structure

Lines of code

2,028

Files

46

Compiled share

0%

Has compiled src

No

Language breakdown

R 451 (22.2%)Tests 54 (2.7%)Docs 1,383 (68.2%)Vignettes 140 (6.9%)

API

Exported functions

21

Internal functions

0

Recent export changes

v0.5+1 rpoly
v0.4-0+1 pseudoInverse

Testing & CI

Has tests

Yes

Test-to-code ratio

0.12

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

6.3%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

33.3%

Unsafe pattern score

0

Dep constraint coverage

25%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

System requirements

C++ standard

License

GPL (>= 2)

License flags

SPDX valid, OSI approved

History

Versions

6

First release

2016-01-08

Latest release

2025-12-18

Avg cadence

636 days

Cold removal rate

Dep drift

1

LOC over versions

v0.2-0: 1,028 LOCv0.2-1: 1,439 LOCv0.3-0: 1,693 LOCv0.4-0: 1,788 LOCv0.5: 2,030 LOCv0.5.1: 2,028 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (5)

Dependency Network

Dependencies Reverse dependencies Rdpack cvar discSurv mcompanion mixAR pcts gbutils

Version History

7 tracked
new 0.5.1 Mar 10, 2026
updated 0.5.1 ← 0.5 diff Dec 17, 2025
updated 0.5 ← 0.4-0 diff May 26, 2022
updated 0.4-0 ← 0.3-0 diff Oct 4, 2018
updated 0.3-0 ← 0.2-1 diff Aug 11, 2018
updated 0.2-1 ← 0.2-0 diff Oct 4, 2017
new 0.2-0 Jan 7, 2016