CRAN Package Check Results for Package survdnn

Last updated on 2025-10-23 17:51:05 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.6.0 26.70 254.91 281.61 OK
r-devel-linux-x86_64-debian-gcc 0.6.0 20.24 211.53 231.77 OK
r-devel-linux-x86_64-fedora-clang 0.6.0 26.00 208.02 234.02 OK
r-devel-linux-x86_64-fedora-gcc 0.6.0 54.00 342.04 396.04 OK
r-devel-windows-x86_64 0.6.0 12.00 5.00 17.00 ERROR
r-patched-linux-x86_64 0.6.0 27.15 239.83 266.98 OK
r-release-linux-x86_64 0.6.0 25.88 241.84 267.72 OK
r-release-macos-arm64 0.6.0 24.00 59.00 83.00 OK
r-release-macos-x86_64 0.6.0 41.00 105.00 146.00 OK
r-release-windows-x86_64 0.6.0 12.00 5.00 17.00 ERROR
r-oldrel-macos-arm64 0.6.0 23.00 65.00 88.00 OK
r-oldrel-macos-x86_64 0.6.0 49.00 109.00 158.00 OK
r-oldrel-windows-x86_64 0.6.0 17.00 9.00 26.00 ERROR

Check Details

Version: 0.6.0
Check: whether package can be installed
Result: ERROR Installation failed. Flavors: r-devel-windows-x86_64, r-release-windows-x86_64

Version: 0.6.0
Check: whether package can be installed
Result: WARN Found the following significant warnings: Warning: Torch libraries are installed but loading them caused a segfault. Flavor: r-oldrel-windows-x86_64

Version: 0.6.0
Check: examples
Result: ERROR Running examples in 'survdnn-Ex.R' failed The error most likely occurred in: > ### Name: brier > ### Title: Brier Score for Right-Censored Survival Data at a Fixed Time > ### Aliases: brier > > ### ** Examples > > library(survival) Attaching package: 'survival' The following object is masked from 'package:survdnn': brier > data(veteran, package = "survival") Warning in data(veteran, package = "survival") : data set 'veteran' not found > mod <- survdnn(Surv(time, status) ~ + age + karno + celltype, data = veteran, epochs = 50, verbose = FALSE) Error in cpp_torch_float32() : Lantern is not loaded. Please use `install_torch()` to install additional dependencies. Calls: survdnn ... <Anonymous> -> <Anonymous> -> <Anonymous> -> cpp_torch_float32 Execution halted Flavor: r-oldrel-windows-x86_64

Version: 0.6.0
Check: tests
Result: ERROR Running 'testthat.R' [10s] Running the tests in 'tests/testthat.R' failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(survdnn) Warning message: Torch libraries are installed but loading them caused a segfault. Please reinstall torch with `install_torch(reinstall = TRUE)` You can disable this check by setting `TORCH_VERIFY_LOAD` to "FALSE" ! callr subprocess failed: could not start R, exited with non-zero status, has crashed or was killed > > test_check("survdnn") [ FAIL 5 | WARN 0 | SKIP 21 | PASS 0 ] ══ Skipped tests (21) ══════════════════════════════════════════════════════════ • On CRAN (21): 'test-cv_survdnn.R:2:3', 'test-cv_survdnn.R:25:3', 'test-evaluate_survdnn.R:2:3', 'test-evaluate_survdnn.R:21:3', 'test-metrics.R:2:3', 'test-metrics.R:20:3', 'test-metrics.R:38:3', 'test-metrics.R:56:3', 'test-plot.survdnn.R:2:3', 'test-plot.survdnn.R:15:3', 'test-plot.survdnn.R:32:3', 'test-predict.survdnn.R:2:3', 'test-predict.survdnn.R:17:3', 'test-predict.survdnn.R:35:3', 'test-predict.survdnn.R:50:3', 'test-print.survdnn.R:2:3', 'test-summary.survdnn.R:2:3', 'test-survdnn.R:2:3', 'test-tune_survdnn.R:2:3', 'test-tune_survdnn.R:62:3', 'test-tune_survdnn.R:92:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-losses.R:5:3'): cox_loss returns scalar tensor ───────────────── <std::runtime_error/C++Error/error/condition> Error in `torch_tensor_cpp(data, dtype, device, requires_grad, pin_memory)`: Lantern is not loaded. Please use `install_torch()` to install additional dependencies. Backtrace: ▆ 1. └─torch::torch_tensor(runif(20, 1, 100)) at test-losses.R:5:3 2. └─Tensor$new(data, dtype, device, requires_grad, pin_memory) 3. └─methods$initialize(NULL, NULL, ...) 4. └─torch:::torch_tensor_cpp(...) ── Error ('test-losses.R:16:3'): cox_l2_loss returns penalized scalar tensor ─── <std::runtime_error/C++Error/error/condition> Error in `torch_tensor_cpp(data, dtype, device, requires_grad, pin_memory)`: Lantern is not loaded. Please use `install_torch()` to install additional dependencies. Backtrace: ▆ 1. └─torch::torch_tensor(runif(20, 1, 100)) at test-losses.R:16:3 2. └─Tensor$new(data, dtype, device, requires_grad, pin_memory) 3. └─methods$initialize(NULL, NULL, ...) 4. └─torch:::torch_tensor_cpp(...) ── Error ('test-losses.R:29:3'): aft_loss returns scalar tensor (uncensored only) ── <std::runtime_error/C++Error/error/condition> Error in `torch_tensor_cpp(data, dtype, device, requires_grad, pin_memory)`: Lantern is not loaded. Please use `install_torch()` to install additional dependencies. Backtrace: ▆ 1. └─torch::torch_tensor(runif(20, 1, 100)) at test-losses.R:29:3 2. └─Tensor$new(data, dtype, device, requires_grad, pin_memory) 3. └─methods$initialize(NULL, NULL, ...) 4. └─torch:::torch_tensor_cpp(...) ── Error ('test-losses.R:40:3'): aft_loss returns 0 for fully censored data ──── <std::runtime_error/C++Error/error/condition> Error in `torch_tensor_cpp(data, dtype, device, requires_grad, pin_memory)`: Lantern is not loaded. Please use `install_torch()` to install additional dependencies. Backtrace: ▆ 1. └─torch::torch_tensor(runif(10, 1, 100)) at test-losses.R:40:3 2. └─Tensor$new(data, dtype, device, requires_grad, pin_memory) 3. └─methods$initialize(NULL, NULL, ...) 4. └─torch:::torch_tensor_cpp(...) ── Error ('test-losses.R:56:3'): coxtime_loss implements partial likelihood faithfully ── <std::runtime_error/C++Error/error/condition> Error in `(function (size, options) { .Call(`_torch_cpp_torch_namespace_randn_size_IntArrayRef`, size, options) })(size = c(50, 1), options = list(dtype = NULL, layout = NULL, device = NULL, requires_grad = FALSE))`: Lantern is not loaded. Please use `install_torch()` to install additional dependencies. Backtrace: ▆ 1. └─torch::torch_randn(c(n, 1)) at test-losses.R:56:3 2. ├─base::do.call(.torch_randn, args) 3. └─torch (local) `<fn>`(options = `<named list>`, size = `<dbl>`) 4. └─torch:::call_c_function(...) 5. └─torch:::do_call(f, args) 6. ├─base::do.call(fun, args) 7. └─torch (local) `<fn>`(size = `<dbl>`, options = `<named list>`) [ FAIL 5 | WARN 0 | SKIP 21 | PASS 0 ] Error: Test failures Execution halted Flavor: r-oldrel-windows-x86_64

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.