- using R version 4.4.3 Patched (2026-02-12 r89426 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 13.3.0
GNU Fortran (GCC) 13.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'R4GoodPersonalFinances/DESCRIPTION' ... OK
- this is package 'R4GoodPersonalFinances' version '1.2.0'
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'R4GoodPersonalFinances' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s] OK
- checking whether the package can be unloaded cleanly ... [1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s] OK
- checking loading without being on the library search path ... [1s] OK
- checking whether startup messages can be suppressed ... [1s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [9s] OK
- checking Rd files ... [1s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of 'data' directory ... OK
- checking data for non-ASCII characters ... [1s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking R/sysdata.rda ... OK
- checking examples ... [23s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [26s] ERROR
Running 'spelling.R' [0s]
Running 'testthat.R' [25s]
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(R4GoodPersonalFinances)
Welcome to R4GoodPersonalFinances version 1.2.0!
Cite the package: citation('R4GoodPersonalFinances')
Package documentation: https://r4goodacademy.github.io/R4GoodPersonalFinances/
To learn more, visit: https://www.r4good.academy/
... and Make Optimal Financial Decisions!
>
> test_check("R4GoodPersonalFinances")
Starting 2 test processes.
> test-simulate_scenario.R:
> test-simulate_scenario.R: -- Simulating scenario: default
> test-simulate_scenario.R: i Current date: 2020-07-15
> test-simulate_scenario.R: ! Caching is NOT enabled.
> test-simulate_scenario.R: > Simulating scenario based on expected returns (sample_id == 0)
> test-simulate_scenario.R:
> test-simulate_scenario.R: -- Simulating scenario: default
> test-simulate_scenario.R: i Current date: 2020-07-15
> test-simulate_scenario.R: i Generating random seeds for Monte Carlo samples
> test-simulate_scenario.R: ! Caching is NOT enabled.
> test-simulate_scenario.R: > Simulating scenario based on expected returns (sample_id == 0)
> test-simulate_scenario.R: > Simulating 2 Monte Carlo samples
> test-simulate_single_scenario.R: > Index year: 1/61.
> test-simulate_single_scenario.R: > Index year: 2/61.
> test-simulate_single_scenario.R: > Index year: 3/61.
> test-simulate_single_scenario.R: > Index year: 4/61.
> test-simulate_single_scenario.R: > Index year: 5/61.
> test-simulate_single_scenario.R: > Index year: 6/61.
> test-simulate_single_scenario.R: > Index year: 7/61.
> test-simulate_single_scenario.R: > Index year: 8/61.
> test-simulate_single_scenario.R: > Index year: 9/61.
> test-simulate_single_scenario.R: > Index year: 10/61.
> test-simulate_single_scenario.R: > Index year: 11/61.
> test-simulate_single_scenario.R: > Index year: 12/61.
> test-simulate_single_scenario.R: > Index year: 13/61.
> test-simulate_single_scenario.R: > Index year: 14/61.
> test-simulate_single_scenario.R: > Index year: 15/61.
> test-simulate_single_scenario.R: > Index year: 16/61.
> test-simulate_single_scenario.R: > Index year: 17/61.
> test-simulate_single_scenario.R: > Index year: 18/61.
> test-simulate_single_scenario.R: > Index year: 19/61.
> test-simulate_single_scenario.R: > Index year: 20/61.
> test-simulate_single_scenario.R: > Index year: 21/61.
> test-simulate_single_scenario.R: > Index year: 22/61.
> test-simulate_single_scenario.R: > Index year: 23/61.
> test-simulate_single_scenario.R: > Index year: 24/61.
> test-simulate_single_scenario.R: > Index year: 25/61.
> test-simulate_single_scenario.R: > Index year: 26/61.
> test-simulate_single_scenario.R: > Index year: 27/61.
> test-simulate_single_scenario.R: > Index year: 28/61.
> test-simulate_single_scenario.R: > Index year: 29/61.
> test-simulate_single_scenario.R: > Index year: 30/61.
> test-simulate_single_scenario.R: > Index year: 31/61.
> test-simulate_single_scenario.R: > Index year: 32/61.
> test-simulate_single_scenario.R: > Index year: 33/61.
> test-simulate_single_scenario.R: > Index year: 34/61.
> test-simulate_single_scenario.R: > Index year: 35/61.
> test-simulate_single_scenario.R: > Index year: 36/61.
> test-simulate_single_scenario.R: > Index year: 37/61.
> test-simulate_single_scenario.R: > Index year: 38/61.
> test-simulate_single_scenario.R: > Index year: 39/61.
> test-simulate_single_scenario.R: > Index year: 40/61.
> test-simulate_single_scenario.R: > Index year: 41/61.
> test-simulate_single_scenario.R: > Index year: 42/61.
> test-simulate_single_scenario.R: > Index year: 43/61.
> test-simulate_single_scenario.R: > Index year: 44/61.
> test-simulate_single_scenario.R: > Index year: 45/61.
> test-simulate_single_scenario.R: > Index year: 46/61.
> test-simulate_single_scenario.R: > Index year: 47/61.
> test-simulate_single_scenario.R: > Index year: 48/61.
> test-simulate_single_scenario.R: > Index year: 49/61.
> test-simulate_single_scenario.R: > Index year: 50/61.
> test-simulate_single_scenario.R: > Index year: 51/61.
> test-simulate_single_scenario.R: > Index year: 52/61.
> test-simulate_single_scenario.R: > Index year: 53/61.
> test-simulate_single_scenario.R: > Index year: 54/61.
> test-simulate_single_scenario.R: > Index year: 55/61.
> test-simulate_single_scenario.R: > Index year: 56/61.
> test-simulate_single_scenario.R: > Index year: 57/61.
> test-simulate_single_scenario.R: > Index year: 58/61.
> test-simulate_single_scenario.R: > Index year: 59/61.
> test-simulate_single_scenario.R: > Index year: 60/61.
> test-simulate_single_scenario.R: > Index year: 61/61.
> test-simulate_single_scenario.R: ! Discretionary spending is infinite. Setting it to this period net-worth.
> test-simulate_single_scenario.R: ! Optimal allocation not found.
> test-simulate_single_scenario.R: ! Using optimal allocation from previous period (60).
> test-calc_optimal_asset_allocation.R:
> test-calc_optimal_asset_allocation.R: -- Simulating scenario: default
> test-calc_optimal_asset_allocation.R: i Current date: 2020-07-15
> test-calc_optimal_asset_allocation.R: ! Caching is NOT enabled.
> test-calc_optimal_asset_allocation.R: > Simulating scenario based on expected returns (sample_id == 0)
> test-calc_risk_adjusted_return.R:
Error:
! testthat subprocess exited in file 'test-calc_risk_adjusted_return.R'.
Caused by error:
! R session crashed with exit code -1073741819
Backtrace:
▆
1. └─testthat::test_check("R4GoodPersonalFinances")
2. └─testthat::test_dir(...)
3. └─testthat:::test_files(...)
4. └─testthat:::test_files_parallel(...)
5. ├─withr::with_dir(...)
6. │ └─base::force(code)
7. ├─testthat::with_reporter(...)
8. │ └─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─testthat:::parallel_event_loop_chunky(queue, reporters, ".")
13. └─queue$poll(Inf)
14. └─base::lapply(...)
15. └─testthat (local) FUN(X[[i]], ...)
16. └─private$handle_error(msg, i)
17. └─cli::cli_abort(...)
18. └─rlang::abort(...)
Execution halted
- checking PDF version of manual ... [24s] OK
- checking HTML version of manual ... [8s] OK
- DONE
Status: 1 ERROR