R Observatory
Search
install.packages("scuba")
CRAN 30-day downloads, method
399−11.3% down on the 30 days before, the worse direction

Code for describing and manipulating scuba diving profiles (depth-time curves) and decompression models, for calculating the predictions of decompression models, for calculating maximum no-decompression time and decompression tables, and for performing mixed gas calculations.

Maintainer
Adrian Baddeley
Licence
GPL (>= 2)
Latest release
18 Oct 2022
First release
5 Jan 2006

Compare with another package

More details
Releases
17
Needs compilation
Yes
Needs R
>= 3.5.0
Date
2022-10-18
LazyData
true
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' preferred citation:

citation("scuba")
APA
Baddeley, A., Bassom, A., Broglio, V., Buzzacott, P., Leishman, A., & Neves, P. A. (2022). scuba: Diving Calculations and Decompression Models (Version 1.11-1) [Computer software]. https://doi.org/10.32614/CRAN.package.scuba
About

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA
Balamuta, J. J. (2026). R Observatory: Metrics for scuba version 1.11-1 [Data set]. HJJB, LLC. Data release v2026-10-26. https://doi.org/10.5281/zenodo.21843040
About

From data release v2026-10-26, which the citation names so these numbers can be found later.

All 13 check platforms pass.

  • r-devel-linux-x86_64-debian-clang

    The unreleased R on Linux, x86_64, debian-clang

    OK

    Version checked
    1.11-1
    Time taken
    59 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    1.11-1
    Time taken
    43 s
  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    1.11-1
    Time taken
    42 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    1.11-1
    Time taken
    43 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    1.11-1
    Time taken
    161 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    1.11-1
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    1.11-1
    Time taken
    61 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    1.11-1
    Time taken
    93 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    1.11-1
    Time taken
    52 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    1.11-1
    Time taken
    50 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    1.11-1
    Time taken
    21 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    1.11-1
    Time taken
    78 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    1.11-1
    Time taken
    96 s
  • 13 OK

Over time

No change since 4 Aug 2026

As a list (3)
ChangedWorst statusOKNotesWarningsErrors
4 Aug 2026OK13000
1 Aug 2026Note12100
10 Mar 2026OK14000

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
405−17% down on the 30 days before, the worse directionIt is the sum of 3 channels: CRAN, r2u and autoCRAN.

CRAN rank

8,381 of 26,529

CRAN

399 downloads in the last 30 days

Rank
8,381 of 26,529
Change
−11.3% down on the 30 days before, the worse direction

It is in the total. Take it out

r2u

2 downloads in the last 30 days

Rank
14,902 of 30,526
Change
−88.9% down on the 30 days before, the worse direction

It is in the total. Take it out

autoCRAN

4 downloads in the last 30 days

Rank
13,361 of 29,130
Change
−80% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
3
Dependent packages
0
Suggested by
0
Needs (3)
  • graphics
  • stats
  • utils
Installing it adds
0 packages, 0 KB of source
Of those, need compilation
0
Functions
63
Public exports
63
Lines of R code
2,360
Median complexity
3
Functions (63)
Size and composition

Lines by kind (7,196)

KindLinesShare
R code2,36033%
Documentation3,24545%
Guides1,45020%
Compiled code1412%

Lines by language

LanguageLinesShare
Rd3,24545%
R2,36033%
Vignettes1,27818%
Other1722%
C1412%

Languages are counted from file extensions.

Files
69
R functions
61
Compiled functions
2
Object systems
S3: 13 methods
Complexity
Median
3
Mean
6.2
Highest
59
Median lines per function
12
About complexity

Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.

Call graph figures
R functions
61
Calls
115
Unconnected
9
Groups
1
Growth (17 releases)
Total lines by release
1,478 on 4 Jan 20067,196 on 18 Oct 2022
Release changes

The package was built and has no tests to run.

Lines of tests
0
Exports named in tests
0%
Test suite
Has tests
No
Test frameworks
No tests in this release
Test lines per line of code
0
Exports documented
100%
Arguments documented
86.8%
Return value documented
87.9%
Help pages with examples
85.4%
Examples run in checks
97.1%
Guides (1)
Other documentation
README
No
Release notes file
Yes
Help pages
41
Lines of documentation
3,245
DatasetSizeColumns
BookspanTissue data from Bookspan's booklength 3
BuehlmannL16ADecompression model ZH-L16A17 × 4id, halftime, a, b
Workman65Decompression model of Workman 19659 × 3halftime, M0, A
baronReal Scuba Dive Profile606 × 6time, depth, temp, bar, RBT, WL
deepmineExtremely Deep Decompression Divelength 5
pedro902Real Scuba Dive Profileslength 5
pedro903Real Scuba Dive Profileslength 5
pedro904Real Scuba Dive Profileslength 5
pedro922Real Scuba Dive Profileslength 5
pedro943Real Scuba Dive Profileslength 5
pedro944Real Scuba Dive Profileslength 5
pedro945Real Scuba Dive Profileslength 5
More datasets (4)
DatasetSize
pedro946Real Scuba Dive Profileslength 5
pedro948Real Scuba Dive Profileslength 5
pedro949Real Scuba Dive Profileslength 5
pedro950Real Scuba Dive Profileslength 5

No repository on record

R releases
  • On CRAN
  • Release
VersionReleasedR
1.11-1 current18 Oct 20224.2.1
1.11-014 May 20214.0.5
1.10-015 May 20204.0.0
1.9-13 Apr 20173.3.3
1.8-02 Jul 20153.2.1
1.7-015 Dec 20133.0.2
1.6-022 Nov 20133.0.2
1.5-030 May 20122.15.0
Earlier versions (9)
VersionReleasedR
1.4-029 Aug 20112.13.1
1.2-313 Oct 20092.9.2
1.2-22 Nov 20082.8.0
1.2-123 Jun 20082.7.1
1.1-927 Oct 20072.6.0
1.1-81 Sep 20072.5.1
1.1-616 Apr 20072.4.1
1.1-519 Jan 20062.2.1
1.1-25 Jan 20062.2.1