CRAN Package Check Results for Package bage

Last updated on 2025-01-09 01:49:38 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.7.4 ERROR
r-devel-linux-x86_64-debian-gcc 0.9.0 157.66 321.04 478.70 OK
r-devel-linux-x86_64-fedora-clang 0.9.0 1116.05 OK
r-devel-linux-x86_64-fedora-gcc 0.9.0 1294.72 OK
r-devel-windows-x86_64 0.7.4 173.00 296.00 469.00 OK
r-patched-linux-x86_64 0.7.4 201.31 214.89 416.20 OK
r-release-linux-x86_64 0.7.4 200.25 218.14 418.39 OK
r-release-macos-arm64 0.9.0 306.00 NOTE
r-release-macos-x86_64 0.9.0 396.00 NOTE
r-release-windows-x86_64 0.7.4 175.00 280.00 455.00 NOTE
r-oldrel-macos-arm64 0.9.0 388.00 ERROR
r-oldrel-macos-x86_64 0.9.0 619.00 ERROR
r-oldrel-windows-x86_64 0.7.4 228.00 360.00 588.00 NOTE

Check Details

Version: 0.7.4
Check: package dependencies
Result: ERROR Packages required but not available: 'matrixStats', 'poputils', 'rvec' See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’ manual. Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.9.0
Check: installed package size
Result: NOTE installed size is 90.1Mb sub-directories of 1Mb or more: doc 4.9Mb libs 83.7Mb Flavors: r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64

Version: 0.7.4
Check: installed package size
Result: NOTE installed size is 5.5Mb sub-directories of 1Mb or more: libs 3.4Mb Flavors: r-release-windows-x86_64, r-oldrel-windows-x86_64

Version: 0.9.0
Check: tests
Result: ERROR Running ‘testthat.R’ [44s/68s] 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/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(bage) Loading required package: rvec Attaching package: 'rvec' The following objects are masked from 'package:stats': sd, var The following object is masked from 'package:base': rank > > test_check("bage") [ FAIL 11 | WARN 0 | SKIP 7 | PASS 2246 ] ══ Skipped tests (7) ═══════════════════════════════════════════════════════════ • On CRAN (7): 'test-bage_mod-methods.R:2242:5', 'test-bage_mod-methods.R:2257:5', 'test-bage_prior-methods.R:10095:3', 'test-bage_ssvd-methods.R:162:3', 'test-make-inputs.R:1719:3', 'test-make-inputs.R:1728:3', 'test-make-inputs.R:1735:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-bage_prior-methods.R:1701:3'): 'draw_vals_effect' works with bage_prior_svd_rw2random - age and sex ── Error in `crossprod(x, y)`: requires numeric/complex matrix/vector arguments Backtrace: ▆ 1. ├─bage:::draw_vals_effect(...) at test-bage_prior-methods.R:1701:3 2. └─bage:::draw_vals_effect.bage_prior_svd_rw2random(...) 3. └─bage:::make_matrix_effectfree_effect_inner(...) 4. ├─bage:::make_matrix_sub_orig(...) 5. └─bage:::make_matrix_sub_orig.bage_prior_svd_rw2random(...) 6. └─bage:::make_matrix_sub_orig_svd(...) 7. └─base::crossprod(m_constr, ans) ── Error ('test-bage_prior-methods.R:1739:3'): 'draw_vals_effect' works with bage_prior_svd_rw2zero - age and sex ── Error in `crossprod(x, y)`: requires numeric/complex matrix/vector arguments Backtrace: ▆ 1. ├─bage:::draw_vals_effect(...) at test-bage_prior-methods.R:1739:3 2. └─bage:::draw_vals_effect.bage_prior_svd_rw2zero(...) 3. └─bage:::make_matrix_effectfree_effect_inner(...) 4. ├─bage:::make_matrix_sub_orig(...) 5. └─bage:::make_matrix_sub_orig.bage_prior_svd_rw2zero(...) 6. └─bage:::make_matrix_sub_orig_svd(...) 7. └─base::crossprod(m_constr, ans) ── Error ('test-bage_prior-methods.R:4835:3'): 'forecast_term' works with bage_prior_svd_ar - con is 'by' ── Error in `crossprod(x, y)`: requires numeric/complex matrix/vector arguments Backtrace: ▆ 1. ├─bage:::forecast_term(...) at test-bage_prior-methods.R:4835:3 2. └─bage:::forecast_term.bage_prior_svd_ar(...) 3. ├─bage:::make_matrix_effectfree_effect(...) 4. └─bage:::make_matrix_effectfree_effect.bage_prior_svd_ar(...) 5. └─bage:::make_matrix_effectfree_effect_inner(...) 6. ├─bage:::make_matrix_sub_orig(...) 7. └─bage:::make_matrix_sub_orig.bage_prior_svd_ar(...) 8. └─bage:::make_matrix_sub_orig_svd(...) 9. └─base::crossprod(m_constr, ans) ── Error ('test-bage_prior-methods.R:4926:3'): 'forecast_term' works with bage_prior_svd_rwrandom - con is 'by' ── Error in `crossprod(x, y)`: requires numeric/complex matrix/vector arguments Backtrace: ▆ 1. ├─bage:::forecast_term(...) at test-bage_prior-methods.R:4926:3 2. └─bage:::forecast_term.bage_prior_svd_rwrandom(...) 3. └─bage:::make_matrix_effectfree_effect_inner(...) 4. ├─bage:::make_matrix_sub_orig(...) 5. └─bage:::make_matrix_sub_orig.bage_prior_svd_rwrandom(...) 6. └─bage:::make_matrix_sub_orig_svd(...) 7. └─base::crossprod(m_constr, ans) ── Error ('test-bage_prior-methods.R:4989:3'): 'forecast_term' works with bage_prior_svd_rw2zero - con is 'by' ── Error in `crossprod(x, y)`: requires numeric/complex matrix/vector arguments Backtrace: ▆ 1. ├─bage:::forecast_term(...) at test-bage_prior-methods.R:4989:3 2. └─bage:::forecast_term.bage_prior_svd_rw2zero(...) 3. └─bage:::make_matrix_effectfree_effect_inner(...) 4. ├─bage:::make_matrix_sub_orig(...) 5. └─bage:::make_matrix_sub_orig.bage_prior_svd_rw2zero(...) 6. └─bage:::make_matrix_sub_orig_svd(...) 7. └─base::crossprod(m_constr, ans) ── Error ('test-bage_prior-methods.R:9869:3'): 'make_matrix_sub_orig' works with bage_prior_svd_ar - sex x time x age interaction, con is 'by' ── Error in `crossprod(x, y)`: requires numeric/complex matrix/vector arguments Backtrace: ▆ 1. ├─bage:::make_matrix_sub_orig(...) at test-bage_prior-methods.R:9869:3 2. └─bage:::make_matrix_sub_orig.bage_prior_svd_ar(...) 3. └─bage:::make_matrix_sub_orig_svd(...) 4. └─base::crossprod(m_constr, ans) ── Error ('test-mapping-matrices.R:789:3'): 'make_matrix_effectfree_effect' works with SVD-based matrix_sub_orig, con is 'by' ── Error in `crossprod(x, y)`: requires numeric/complex matrix/vector arguments Backtrace: ▆ 1. └─bage:::make_matrix_effectfree_effect_inner(...) at test-mapping-matrices.R:789:3 2. ├─bage:::make_matrix_sub_orig(...) 3. └─bage:::make_matrix_sub_orig.bage_prior_svd_rwrandom(...) 4. └─bage:::make_matrix_sub_orig_svd(...) 5. └─base::crossprod(m_constr, ans) ── Error ('test-mapping-matrices.R:864:3'): 'make_matrix_perm_along_to_front' works with 2 dimensions, along second ── Error in `crossprod(x, y)`: requires numeric/complex matrix/vector arguments Backtrace: ▆ 1. ├─testthat::expect_identical(as.matrix(crossprod(m)), diag(6)) at test-mapping-matrices.R:864:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::as.matrix(crossprod(m)) 5. └─base::crossprod(m) ── Error ('test-mapping-matrices.R:872:3'): 'make_matrix_perm_along_to_front' works with 3 dimensions, along second ── Error in `crossprod(x, y)`: requires numeric/complex matrix/vector arguments Backtrace: ▆ 1. ├─testthat::expect_identical(as.matrix(crossprod(m)), diag(12)) at test-mapping-matrices.R:872:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::as.matrix(crossprod(m)) 5. └─base::crossprod(m) ── Error ('test-mapping-matrices.R:911:3'): 'make_matrix_sub_orig_svd' works with bage_prior_svd_ar - time x age interaction, con is 'none' ── Error in `crossprod(x, y)`: requires numeric/complex matrix/vector arguments Backtrace: ▆ 1. └─bage:::make_matrix_sub_orig_svd(...) at test-mapping-matrices.R:911:3 2. └─base::crossprod(m_constr, ans) ── Error ('test-mapping-matrices.R:928:3'): 'make_matrix_sub_orig_svd' works with bage_prior_svd_ar - sex x time x age interaction, con is 'none' ── Error in `crossprod(x, y)`: requires numeric/complex matrix/vector arguments Backtrace: ▆ 1. └─bage:::make_matrix_sub_orig_svd(...) at test-mapping-matrices.R:928:3 2. └─base::crossprod(m_constr, ans) [ FAIL 11 | WARN 0 | SKIP 7 | PASS 2246 ] Error: Test failures Execution halted Flavor: r-oldrel-macos-arm64

Version: 0.9.0
Check: tests
Result: ERROR Running ‘testthat.R’ [69s/104s] 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/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(bage) Loading required package: rvec Attaching package: 'rvec' The following objects are masked from 'package:stats': sd, var The following object is masked from 'package:base': rank > > test_check("bage") [ FAIL 11 | WARN 0 | SKIP 7 | PASS 2246 ] ══ Skipped tests (7) ═══════════════════════════════════════════════════════════ • On CRAN (7): 'test-bage_mod-methods.R:2242:5', 'test-bage_mod-methods.R:2257:5', 'test-bage_prior-methods.R:10095:3', 'test-bage_ssvd-methods.R:162:3', 'test-make-inputs.R:1719:3', 'test-make-inputs.R:1728:3', 'test-make-inputs.R:1735:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-bage_prior-methods.R:1701:3'): 'draw_vals_effect' works with bage_prior_svd_rw2random - age and sex ── Error in `crossprod(x, y)`: requires numeric/complex matrix/vector arguments Backtrace: ▆ 1. ├─bage:::draw_vals_effect(...) at test-bage_prior-methods.R:1701:3 2. └─bage:::draw_vals_effect.bage_prior_svd_rw2random(...) 3. └─bage:::make_matrix_effectfree_effect_inner(...) 4. ├─bage:::make_matrix_sub_orig(...) 5. └─bage:::make_matrix_sub_orig.bage_prior_svd_rw2random(...) 6. └─bage:::make_matrix_sub_orig_svd(...) 7. └─base::crossprod(m_constr, ans) ── Error ('test-bage_prior-methods.R:1739:3'): 'draw_vals_effect' works with bage_prior_svd_rw2zero - age and sex ── Error in `crossprod(x, y)`: requires numeric/complex matrix/vector arguments Backtrace: ▆ 1. ├─bage:::draw_vals_effect(...) at test-bage_prior-methods.R:1739:3 2. └─bage:::draw_vals_effect.bage_prior_svd_rw2zero(...) 3. └─bage:::make_matrix_effectfree_effect_inner(...) 4. ├─bage:::make_matrix_sub_orig(...) 5. └─bage:::make_matrix_sub_orig.bage_prior_svd_rw2zero(...) 6. └─bage:::make_matrix_sub_orig_svd(...) 7. └─base::crossprod(m_constr, ans) ── Error ('test-bage_prior-methods.R:4835:3'): 'forecast_term' works with bage_prior_svd_ar - con is 'by' ── Error in `crossprod(x, y)`: requires numeric/complex matrix/vector arguments Backtrace: ▆ 1. ├─bage:::forecast_term(...) at test-bage_prior-methods.R:4835:3 2. └─bage:::forecast_term.bage_prior_svd_ar(...) 3. ├─bage:::make_matrix_effectfree_effect(...) 4. └─bage:::make_matrix_effectfree_effect.bage_prior_svd_ar(...) 5. └─bage:::make_matrix_effectfree_effect_inner(...) 6. ├─bage:::make_matrix_sub_orig(...) 7. └─bage:::make_matrix_sub_orig.bage_prior_svd_ar(...) 8. └─bage:::make_matrix_sub_orig_svd(...) 9. └─base::crossprod(m_constr, ans) ── Error ('test-bage_prior-methods.R:4926:3'): 'forecast_term' works with bage_prior_svd_rwrandom - con is 'by' ── Error in `crossprod(x, y)`: requires numeric/complex matrix/vector arguments Backtrace: ▆ 1. ├─bage:::forecast_term(...) at test-bage_prior-methods.R:4926:3 2. └─bage:::forecast_term.bage_prior_svd_rwrandom(...) 3. └─bage:::make_matrix_effectfree_effect_inner(...) 4. ├─bage:::make_matrix_sub_orig(...) 5. └─bage:::make_matrix_sub_orig.bage_prior_svd_rwrandom(...) 6. └─bage:::make_matrix_sub_orig_svd(...) 7. └─base::crossprod(m_constr, ans) ── Error ('test-bage_prior-methods.R:4989:3'): 'forecast_term' works with bage_prior_svd_rw2zero - con is 'by' ── Error in `crossprod(x, y)`: requires numeric/complex matrix/vector arguments Backtrace: ▆ 1. ├─bage:::forecast_term(...) at test-bage_prior-methods.R:4989:3 2. └─bage:::forecast_term.bage_prior_svd_rw2zero(...) 3. └─bage:::make_matrix_effectfree_effect_inner(...) 4. ├─bage:::make_matrix_sub_orig(...) 5. └─bage:::make_matrix_sub_orig.bage_prior_svd_rw2zero(...) 6. └─bage:::make_matrix_sub_orig_svd(...) 7. └─base::crossprod(m_constr, ans) ── Error ('test-bage_prior-methods.R:9869:3'): 'make_matrix_sub_orig' works with bage_prior_svd_ar - sex x time x age interaction, con is 'by' ── Error in `crossprod(x, y)`: requires numeric/complex matrix/vector arguments Backtrace: ▆ 1. ├─bage:::make_matrix_sub_orig(...) at test-bage_prior-methods.R:9869:3 2. └─bage:::make_matrix_sub_orig.bage_prior_svd_ar(...) 3. └─bage:::make_matrix_sub_orig_svd(...) 4. └─base::crossprod(m_constr, ans) ── Error ('test-mapping-matrices.R:789:3'): 'make_matrix_effectfree_effect' works with SVD-based matrix_sub_orig, con is 'by' ── Error in `crossprod(x, y)`: requires numeric/complex matrix/vector arguments Backtrace: ▆ 1. └─bage:::make_matrix_effectfree_effect_inner(...) at test-mapping-matrices.R:789:3 2. ├─bage:::make_matrix_sub_orig(...) 3. └─bage:::make_matrix_sub_orig.bage_prior_svd_rwrandom(...) 4. └─bage:::make_matrix_sub_orig_svd(...) 5. └─base::crossprod(m_constr, ans) ── Error ('test-mapping-matrices.R:864:3'): 'make_matrix_perm_along_to_front' works with 2 dimensions, along second ── Error in `crossprod(x, y)`: requires numeric/complex matrix/vector arguments Backtrace: ▆ 1. ├─testthat::expect_identical(as.matrix(crossprod(m)), diag(6)) at test-mapping-matrices.R:864:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::as.matrix(crossprod(m)) 5. └─base::crossprod(m) ── Error ('test-mapping-matrices.R:872:3'): 'make_matrix_perm_along_to_front' works with 3 dimensions, along second ── Error in `crossprod(x, y)`: requires numeric/complex matrix/vector arguments Backtrace: ▆ 1. ├─testthat::expect_identical(as.matrix(crossprod(m)), diag(12)) at test-mapping-matrices.R:872:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::as.matrix(crossprod(m)) 5. └─base::crossprod(m) ── Error ('test-mapping-matrices.R:911:3'): 'make_matrix_sub_orig_svd' works with bage_prior_svd_ar - time x age interaction, con is 'none' ── Error in `crossprod(x, y)`: requires numeric/complex matrix/vector arguments Backtrace: ▆ 1. └─bage:::make_matrix_sub_orig_svd(...) at test-mapping-matrices.R:911:3 2. └─base::crossprod(m_constr, ans) ── Error ('test-mapping-matrices.R:928:3'): 'make_matrix_sub_orig_svd' works with bage_prior_svd_ar - sex x time x age interaction, con is 'none' ── Error in `crossprod(x, y)`: requires numeric/complex matrix/vector arguments Backtrace: ▆ 1. └─bage:::make_matrix_sub_orig_svd(...) at test-mapping-matrices.R:928:3 2. └─base::crossprod(m_constr, ans) [ FAIL 11 | WARN 0 | SKIP 7 | PASS 2246 ] Error: Test failures Execution halted Flavor: r-oldrel-macos-x86_64