R Observatory
Search
install.packages("survdnn")
CRAN 30-day downloads, method
283−18.2% down on the 30 days before, the worse direction
Test coverage, method
2%of lines run by tests

Provides deep learning models for right-censored survival data using the 'torch' backend. Supports multiple loss functions, including Cox partial likelihood, L2-penalized Cox, time-dependent Cox, and accelerated failure time (AFT) loss.

Full description

Provides deep learning models for right-censored survival data using the 'torch' backend. Supports multiple loss functions, including Cox partial likelihood, L2-penalized Cox, time-dependent Cox, and accelerated failure time (AFT) loss. Offers a formula-based interface, built-in support for cross-validation, hyperparameter tuning, survival curve plotting, and evaluation metrics such as the C-index, Brier score, and integrated Brier score. For methodological details, see Kvamme et al. (2019) <https://www.jmlr.org/papers/v20/18-424.html>. The package is described in El Badisy (2026) <doi:10.32614/RJ-2026-008>.

Maintainer
Imad El Badisy
Latest release
22 Aug 2026
First release
22 Jul 2025

Compare with another package

More details
Releases
6
Needs compilation
No
Needs R
>= 4.1.0
Config/testthat/edition
3
RoxygenNote
7.3.3
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' entry:

citation("survdnn")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.32614/rj-2026-008.

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 survdnn version 1.0.0 [Data set]. HJJB, LLC. Data release v2026-10-27. https://doi.org/10.5281/zenodo.21843040
About

From data release v2026-10-27, 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.0.0
    Time taken
    151 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    1.0.0
    Time taken
    105 s
  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    1.0.0
    Time taken
    131 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    1.0.0
    Time taken
    95 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    1.0.0
    Time taken
    239 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    1.0.0
    Time taken
    38 s
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    1.0.0
    Time taken
    127 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    1.0.0
    Time taken
    186 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    1.0.0
    Time taken
    139 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    1.0.0
    Time taken
    136 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    1.0.0
    Time taken
    34 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    1.0.0
    Time taken
    129 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    1.0.0
    Time taken
    139 s
  • 13 OK

Over time

No change since 4 Aug 2026

As a list (5)
ChangedWorst statusOKNotesWarningsErrors
4 Aug 2026OK13000
1 Aug 2026Note12100
9 Jun 2026OK13000
8 Jun 2026Error12001
10 Mar 2026OK14000

Since March 2026

Check results on CRAN

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

CRAN rank

14,731 of 26,529

CRAN

283 downloads in the last 30 days

Rank
14,731 of 26,529
Change
−18.2% down on the 30 days before, the worse direction

It is in the total. Take it out

r2u

4 downloads in the last 30 days

Rank
10,337 of 30,526
Change
−79% down on the 30 days before, the worse direction

It is in the total. Take it out

autoCRAN

2 downloads in the last 30 days

Rank
22,388 of 29,212
Change
−83.3% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
13
Dependent packages
1
Suggested by
0
Needs (13)
Installing it adds
50 packages, 37.7 MB of source
Of those, need compilation
26
Optional extras (3)
Dependent packages (1)
PackageTitleDownloads in 30 days
survalisInterpretable Survival Machine Learning Framework223
Functions
31
Public exports
17
Lines of R code
2,252
Median complexity
4
Functions (31)
Size and composition

Lines by kind (4,182)

KindLinesShare
R code2,25254%
Tests1,07426%
Documentation85620%

Lines by language

LanguageLinesShare
R3,32680%
Rd85621%

Languages are counted from file extensions.

Files
55
R functions
31
Object systems
S3: 4 methods
Complexity
Median
4
Mean
8
Highest
48
Median lines per function
37
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
31
Calls
27
Unconnected
10
Groups
1
Growth (6 releases)
Total lines by release
2,430 on 22 Jul 20254,182 on 22 Aug 2026
Release changes

The tests ran and coverage was measured.

Lines run by tests
2.5%
Expressions run by tests
2.9%
Test cases
44
Exports named in tests
82.4%
Coverage by file (13)
Coverage run
Lines counted
1,090
Lines the tests ran
27
Tests passed
Yes
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
testthat
Test cases
44
Lines of tests
1,074
Test lines per line of code
0.48
Exports documented
100%
Arguments documented
100%
Return value documented
100%
Help pages with examples
55.6%
Examples run in checks
0%
Other documentation
README
Yes, 886 words
Release notes file
Yes
Help pages
18
Lines of documentation
856

ielbadisy / survdnn on github.com

Stars
6no change on 30 days ago
Forks
1
Open issues
2
Last commit
19 Sep 2026
Activity
Commits
251
Open pull requests
0
Tagged releases
3
Latest tagged release
v0.7.6, 17 Apr 2026
In development
Default branch at 1.0.2, ahead of CRAN 1.0.0 (checked 2026-10-25)
Issues closed in
80 days (median)
Pull requests closed in
0 days (median)
Pull requests merged
100%
Created
9 Jul 2025
Licence file reads as
–
Development practices (5)
KindFound
Continuous integrationGitHub Actions, R CMD check workflow
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Docs sourceREADME.Rmd
CRAN release processcran-comments.md
Lint, format, editorRStudio project

Method, repository practices

Across ielbadisy

R releases
  • On CRAN
  • Release
VersionReleasedR
1.0.0 current22 Aug 20264.6.1
0.7.629 Apr 20264.6.0
0.7.58 Jan 20264.5.2
0.7.023 Dec 20254.5.2
0.6.330 Oct 20254.5.1
0.6.022 Jul 20254.5.1
Release notes (1.0.0)

CRAN resubmission update

  • Milestone release: the package's methods paper is now published in The R Journal (El Badisy 2026, <doi:10.32614/RJ-2026-008>), cited in DESCRIPTION's Description field and a matching inst/CITATION file.
  • Standardized the maintainer's family-name casing to "El Badisy" (title case) in Authors@R, matching the rest of the package suite. Daniel Falbel remains listed as a contributor (ctb).