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 foresty

Last updated on 2026-10-24 11:51:01 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0 13.60 337.38 350.98 OK
r-devel-linux-x86_64-debian-gcc 0.2.0 8.73 228.30 237.03 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.0 10.00 224.52 234.52 OK
r-devel-linux-x86_64-fedora-gcc 0.2.0 9.00 217.45 226.45 OK
r-devel-windows-x86_64 0.2.0 16.00 306.00 322.00 OK
r-patched-linux-x86_64 0.2.0 14.19 316.45 330.64 OK
r-release-linux-x86_64 0.2.0 11.51 318.19 329.70 OK
r-release-macos-arm64 0.2.0 3.00 75.00 78.00 OK
r-release-macos-x86_64 0.2.0 9.00 230.00 239.00 OK
r-release-windows-x86_64 0.2.0 15.00 297.00 312.00 OK
r-oldrel-macos-arm64 0.2.0 4.00 89.00 93.00 OK
r-oldrel-macos-x86_64 0.2.0 9.00 227.00 236.00 OK
r-oldrel-windows-x86_64 0.2.0 20.00 401.00 421.00 OK

Check Details

Version: 0.2.0
Check: tests
Result: ERROR Running ‘testthat.R’ [148s/193s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(foresty) > > # Drawing a figure opens a device, and a device opened while the tests run is > # the default one, which writes an Rplots.pdf into the test directory and > # leaves it there. Sending that drawing to the null device instead keeps the > # directory -- and the tarball built from it -- clean. Tests that need a device > # of their own open and close it, and the null device is what they come back to. > grDevices::pdf(NULL) > > test_check("foresty") The model already contains the no2 by sex interaction; using it as it stands rather than updating it. The model already contains the no2 by sex interaction; using it as it stands rather than updating it. Saving _problems/test-model-classes-181.R The model already contains the urbanicity by sex interaction; using it as it stands rather than updating it. The model already contains the no2 by sex interaction; using it as it stands rather than updating it. boundary (singular) fit: see help('isSingular') boundary (singular) fit: see help('isSingular') boundary (singular) fit: see help('isSingular') boundary (singular) fit: see help('isSingular') refitting model(s) with ML (instead of REML) boundary (singular) fit: see help('isSingular') boundary (singular) fit: see help('isSingular') boundary (singular) fit: see help('isSingular') boundary (singular) fit: see help('isSingular') boundary (singular) fit: see help('isSingular') Saving _problems/test-person-time-7.R The standard errors are robust, and the likelihood ratio test takes no account of them, so the joint Wald test is reported instead. Ask for it with `test = "lrt"` to have it anyway. Saving _problems/test-robust-146.R [ FAIL 3 | WARN 0 | SKIP 54 | PASS 898 ] ══ Skipped tests (54) ══════════════════════════════════════════════════════════ • On CRAN (54): 'test-app.R:34:3', 'test-app.R:58:3', 'test-app.R:70:3', 'test-app.R:85:3', 'test-app.R:94:3', 'test-app.R:112:3', 'test-app.R:119:3', 'test-app.R:159:3', 'test-app.R:204:3', 'test-app.R:235:3', 'test-app.R:288:3', 'test-app.R:320:3', 'test-app.R:356:3', 'test-app.R:414:3', 'test-app.R:445:3', 'test-app.R:486:3', 'test-app.R:522:3', 'test-app.R:537:3', 'test-app.R:585:3', 'test-app.R:609:3', 'test-app.R:629:3', 'test-app.R:649:3', 'test-app.R:673:3', 'test-app.R:694:3', 'test-app.R:723:3', 'test-app.R:738:3', 'test-app.R:791:3', 'test-app.R:819:3', 'test-app.R:835:3', 'test-app.R:855:3', 'test-app.R:921:3', 'test-app.R:981:3', 'test-app.R:1011:3', 'test-app.R:1026:3', 'test-app.R:1044:3', 'test-app.R:1071:3', 'test-app.R:1093:3', 'test-app.R:1114:3', 'test-app.R:1141:3', 'test-app.R:1163:3', 'test-app.R:1206:3', 'test-app.R:1238:3', 'test-app.R:1303:3', 'test-app.R:1369:3', 'test-app.R:1409:3', 'test-app.R:1444:3', 'test-app.R:1476:3', 'test-app.R:1517:3', 'test-app.R:1568:3', 'test-app.R:1614:3', 'test-app.R:1639:3', 'test-app.R:1653:3', 'test-app.R:1690:3', 'test-app.R:1733:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-model-classes.R:181:3'): estimates survive a Cox model and count its events ── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. └─foresty::foresty_interaction(fit, exposure = "no2", interaction = "sex") at test-model-classes.R:181:3 2. ├─base::do.call(...) 3. └─base::lapply(...) 4. └─foresty (local) FUN(X[[i]], ...) 5. └─foresty:::fy_exposure_estimates(...) 6. └─foresty:::fy_contrast_matrix(...) 7. └─base::lapply(...) 8. └─foresty (local) FUN(X[[i]], ...) 9. └─foresty:::fy_design_matrix(info, nd) 10. └─stats::delete.response(stats::terms(fit)) 11. └─stats (local) off(a$specials[[i]]) ── Error ('test-person-time.R:7:3'): a Cox model reports the person-time behind each subgroup ── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─foresty:::fy_est(foresty_interaction(fit, exposure = "no2", interaction = "sex")) at test-person-time.R:7:3 2. │ └─base::as.data.frame(x) at ./helper-fits.R:19:3 3. └─foresty::foresty_interaction(fit, exposure = "no2", interaction = "sex") 4. ├─base::do.call(...) 5. └─base::lapply(...) 6. └─foresty (local) FUN(X[[i]], ...) 7. └─foresty:::fy_exposure_estimates(...) 8. └─foresty:::fy_contrast_matrix(...) 9. └─base::lapply(...) 10. └─foresty (local) FUN(X[[i]], ...) 11. └─foresty:::fy_design_matrix(info, nd) 12. └─stats::delete.response(stats::terms(fit)) 13. └─stats (local) off(a$specials[[i]]) ── Error ('test-robust.R:146:3'): a fit that is already robust is reported as robust ── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─testthat::expect_false(...) at test-robust.R:146:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─broom::glance(foresty_main(list(plain), exposure = "no2")) 5. └─foresty::foresty_main(list(plain), exposure = "no2") 6. └─base::Map(...) 7. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 8. └─foresty (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]]) 9. └─foresty:::fy_exposure_estimates(...) 10. └─foresty:::fy_contrast_matrix(...) 11. └─base::lapply(...) 12. └─foresty (local) FUN(X[[i]], ...) 13. └─foresty:::fy_design_matrix(info, nd) 14. └─stats::delete.response(stats::terms(fit)) 15. └─stats (local) off(a$specials[[i]]) [ FAIL 3 | WARN 0 | SKIP 54 | PASS 898 ] 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.