Skip to content

gdi

Volumetric Analysis using Graphic Double Integration

v1.10.0 · Nov 25, 2025 · GPL (>= 3)

Description

Tools implementing an automated version of the graphic double integration technique (GDI) for volume implementation, and some other related utilities for paleontological image-analysis. GDI was first employed by Jerison (1973) <ISBN:9780323141086> and Hurlburt (1999) <doi:10.1080/02724634.1999.10011145> and is primarily used for volume or mass estimation of (extinct) animals. The package 'gdi' aims to make this technique as convenient and versatile as possible. The core functions of 'gdi' provide utilities for automatically measuring diameters from digital silhouettes provided as image files and calculating volume via graphic double integration with simple elliptical, superelliptical (following Motani 2001 <doi:10.1666/0094-8373(2001)027%3C0735:EBMFST%3E2.0.CO;2>) or complex cross-sectional geometries (see also Zhao 2024 <doi:10.7717/peerj.17479>). Additionally, the package provides functions for estimating the center of mass position (COM), the moment of inertia (I) for 3D shapes and the second moment of area (Ix, Iy, Iz) of 2D cross-sections, as well as for the visualization of results.

Downloads

CRAN

257

Last 30 days

19136th

552

Last 90 days

4.5K

Last year

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

r2u CRAN

0

Last 30 days

24

Last 90 days

99

Last year

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

autoCRAN

5

Last 7 days

20

Last 30 days

0

All-time

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

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 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

PDF version of manual

Rd conversion errors:
Converting parsed Rd's to LaTeX .Warning in file(out, "wt") :
  cannot open file '/tmp/RtmpxL7SKQ/file12333f3ae3731': No space left on device
Warning in file(con, "r") :
  cannot open file '/tmp/RtmpxL7SKQ/file12333f3ae3731': No such file or directory
Error in file(con, "r") : cannot open the connection
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

2,414

Files

41

Compiled share

0%

Has compiled src

No

Language breakdown

R 1,307 (54.1%)Tests 122 (5.1%)Docs 618 (25.6%)Vignettes 367 (15.2%)

API

Exported functions

15

Internal functions

3

Recent export changes

v1.5.4+2 csI, rotI
v1.4.1+3 hCOM, plot_sil, vCOM

Testing & CI

Has tests

Yes

Test-to-code ratio

0.09

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

93.3%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

System requirements

C++ standard

License

GPL (>= 3)

License flags

SPDX valid, OSI approved

History

Versions

6

First release

2023-05-04

Latest release

2025-11-25

Avg cadence

61 days

Cold removal rate

Dep drift

0

LOC over versions

v1.1.1: 459 LOCv1.2.2: 791 LOCv1.4.1: 1,315 LOCv1.5.4: 1,897 LOCv1.6.0: 1,957 LOCv1.10.0: 2,414 LOC

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

Dependency Network

Dependencies Reverse dependencies jpeg png gdi

Version History

7 tracked
new 1.10.0 Mar 10, 2026
updated 1.10.0 ← 1.6.0 diff Nov 24, 2025
updated 1.6.0 ← 1.5.4 diff Apr 20, 2024
updated 1.5.4 ← 1.4.1 diff Sep 6, 2023
updated 1.4.1 ← 1.2.2 diff Aug 6, 2023
updated 1.2.2 ← 1.1.1 diff Jun 6, 2023
new 1.1.1 May 3, 2023