The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

CRAN Package Check Results for Package Surrogate

Last updated on 2026-10-24 05:51:28 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 3.4.3 47.69 651.39 699.08 OK
r-devel-linux-x86_64-debian-gcc 3.4.3 34.48 330.12 364.60 ERROR
r-devel-linux-x86_64-fedora-clang 3.4.3 40.00 432.13 472.13 OK
r-devel-linux-x86_64-fedora-gcc 3.4.3 36.00 401.18 437.18 OK
r-devel-windows-x86_64 3.4.3 56.00 629.00 685.00 OK
r-patched-linux-x86_64 3.4.3 49.89 628.91 678.80 OK
r-release-linux-x86_64 3.4.3 49.48 633.97 683.45 OK
r-release-macos-arm64 3.4.3 12.00 123.00 135.00 OK
r-release-macos-x86_64 3.4.3 36.00 564.00 600.00 OK
r-release-windows-x86_64 3.4.3 53.00 620.00 673.00 OK
r-oldrel-macos-arm64 3.4.3 13.00 133.00 146.00 OK
r-oldrel-macos-x86_64 3.4.3 35.00 360.00 395.00 OK
r-oldrel-windows-x86_64 3.4.3 76.00 725.00 801.00 OK

Check Details

Version: 3.4.3
Check: examples
Result: ERROR Running examples in ‘Surrogate-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: fit_model_SurvSurv > ### Title: Fit Survival-Survival model > ### Aliases: fit_model_SurvSurv > > ### ** Examples > > if(require(Surrogate)) { + data("Ovarian") + #For simplicity, data is not recoded to semi-competing risks format, but is + #left in the composite event format. + data = data.frame(Ovarian$Pfs, + Ovarian$Surv, + Ovarian$Treat, + Ovarian$PfsInd, + Ovarian$SurvInd) + Surrogate::fit_model_SurvSurv(data = data, + copula_family = "clayton", + n_knots = 1) + } Loading required namespace: copula Error in a$specials[[i]] : subscript out of bounds Calls: <Anonymous> ... survfit.coxph -> model.matrix.coxph -> delete.response -> off Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 3.4.3
Check: tests
Result: ERROR Running ‘testthat.R’ [137s/191s] 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(Surrogate) > > test_check("Surrogate") Loading required namespace: cubature Loading required namespace: FNN Attaching package: 'fastmatrix' The following objects are masked from 'package:pracma': geomean, hadamard, hankel, lu Loading required namespace: parallel [1] "Starting parallel simulations" [1] "Finishing parallel simulations" Loading required namespace: copula Loading required namespace: fitdistrplus Loading required namespace: stringr Saving _problems/test-fit_model_SurvSurv-13.R Saving _problems/test-fit_model_SurvSurv-30.R [ FAIL 2 | WARN 0 | SKIP 9 | PASS 257 ] ══ Skipped tests (9) ═══════════════════════════════════════════════════════════ • On CRAN (9): 'test-fit_model_ContCont_copula.R:195:3', 'test-fit_model_SurvSurv.R:37:13', 'test-fit_model_SurvSurv.R:53:1', 'test-goodness_of_fit_SurvSurv.R:11:1', 'test-goodness_of_fit_copula_models.R:1:1', 'test-goodness_of_fit_copula_models.R:48:1', 'test-goodness_of_fit_copula_models.R:95:1', 'test-sensitivity_analysis_SurvSurv.R:46:3', 'test-sensitivity_intervals.R:195:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-fit_model_SurvSurv.R:11:13'): SurvivalSurvival model works with Clayton and Gaussian copula for Ovarian data ── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. └─Surrogate::fit_model_SurvSurv(...) at test-fit_model_SurvSurv.R:11:13 2. └─Surrogate:::twostep_SurvSurv(...) 3. └─Surrogate:::SurvSurv_starting_values(...) 4. └─flexsurv::flexsurvspline(...) 5. ├─base::do.call("flexsurvreg", args) 6. └─flexsurv::flexsurvreg(...) 7. └─dlist$inits(t = wt, mf = m, mml = mml, aux = inits.aux) 8. ├─survival::survfit(cox) 9. └─survival:::survfit.coxph(cox) 10. └─survival:::model.matrix.coxph(object, data = mf) 11. └─stats::delete.response(object$terms) 12. └─stats (local) off(a$specials[[i]]) ── Error ('test-fit_model_SurvSurv.R:28:13'): SurvivalSurvival model works with Clayton and Gumbel copula for Ovarian data and variable number of knots ── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. └─Surrogate::fit_model_SurvSurv(...) at test-fit_model_SurvSurv.R:28:13 2. └─Surrogate:::twostep_SurvSurv(...) 3. └─Surrogate:::SurvSurv_starting_values(...) 4. └─flexsurv::flexsurvspline(...) 5. ├─base::do.call("flexsurvreg", args) 6. └─flexsurv::flexsurvreg(...) 7. └─dlist$inits(t = wt, mf = m, mml = mml, aux = inits.aux) 8. ├─survival::survfit(cox) 9. └─survival:::survfit.coxph(cox) 10. └─survival:::model.matrix.coxph(object, data = mf) 11. └─stats::delete.response(object$terms) 12. └─stats (local) off(a$specials[[i]]) [ FAIL 2 | WARN 0 | SKIP 9 | PASS 257 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

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.