Last updated on 2025-12-28 03:51:25 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.1.1 | 26.75 | 691.49 | 718.24 | OK | |
| r-devel-linux-x86_64-debian-gcc | 0.1.1 | 17.18 | 543.11 | 560.29 | OK | |
| r-devel-linux-x86_64-fedora-clang | 0.1.1 | 49.00 | 1094.25 | 1143.25 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 0.1.1 | 50.00 | 1179.87 | 1229.87 | OK | |
| r-devel-windows-x86_64 | 0.1.1 | 29.00 | 264.00 | 293.00 | ERROR | |
| r-patched-linux-x86_64 | 0.1.1 | 23.28 | 698.89 | 722.17 | OK | |
| r-release-linux-x86_64 | 0.1.1 | 27.80 | 709.87 | 737.67 | OK | |
| r-release-macos-arm64 | 0.1.1 | OK | ||||
| r-release-macos-x86_64 | 0.1.1 | 15.00 | 434.00 | 449.00 | OK | |
| r-release-windows-x86_64 | 0.1.1 | 27.00 | 498.00 | 525.00 | OK | |
| r-oldrel-macos-arm64 | 0.1.1 | NOTE | ||||
| r-oldrel-macos-x86_64 | 0.1.1 | 16.00 | 456.00 | 472.00 | NOTE | |
| r-oldrel-windows-x86_64 | 0.1.1 | 38.00 | 633.00 | 671.00 | NOTE |
Version: 0.1.1
Check: tests
Result: ERROR
Running 'testthat.R' [26s]
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(cramR)
>
> # Suppress the creation of __pycache__ directories during Python-related operations
> Sys.setenv(PYTHONDONTWRITEBYTECODE = 1)
>
> test_check("cramR")
Attaching package: 'data.table'
The following object is masked from 'package:base':
%notin%
Simulation horizon: 100
Number of simulations: 11
Number of batches: 1
Starting main loop.
Finished main loop.
Completed simulation in 0:00:01.046
Computing statistics.
Saving _problems/test_cram_bandit_sim-15.R
Simulation horizon: 100
Number of simulations: 11
Number of batches: 1
Starting main loop.
Finished main loop.
Completed simulation in 0:00:00.630
Computing statistics.
Saving _problems/test_cram_bandit_sim-32.R
Simulation horizon: 100
Number of simulations: 11
Number of batches: 1
Starting main loop.
Finished main loop.
Completed simulation in 0:00:00.674
Computing statistics.
Saving _problems/test_cram_bandit_sim-49.R
Simulation horizon: 100
Number of simulations: 11
Number of batches: 1
Starting main loop.
Finished main loop.
Completed simulation in 0:00:00.658
Computing statistics.
Saving _problems/test_cram_bandit_sim-67.R
Simulation horizon: 20
Number of simulations: 6
Number of batches: 1
Starting main loop.
Finished main loop.
Completed simulation in 0:00:00.360
Computing statistics.
Saving _problems/test_cram_bandit_sim-85.R
Attaching package: 'waldo'
The following object is masked from 'package:testthat':
compare
Loading required package: ggplot2
Loading required package: lattice
Loading required package: Matrix
Loaded glmnet 4.1-10
Saving _problems/test_cram_simulation-57.R
[ FAIL 6 | WARN 0 | SKIP 3 | PASS 127 ]
══ Skipped tests (3) ═══════════════════════════════════════════════════════════
• Skipping this test temporarily (3): 'test_cram_learning.R:42:3',
'test_cram_policy.R:41:3', 'test_cram_policy.R:156:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_cram_bandit_sim.R:15:3'): cram_bandit_sim runs and returns expected structure with batch epsilon greedy ──
Error in ``[.data.table`(res, , `:=`(probas, list(compute_probas(.SD, policy, policy_name, batch_size = batch_size))), by = .(agent, sim))`: attempt access index 7/7 in VECTOR_ELT
Backtrace:
▆
1. └─cramR::cram_bandit_sim(horizon, simulations, bandit, policy) at test_cram_bandit_sim.R:15:3
2. ├─...[]
3. └─data.table:::`[.data.table`(...)
── Error ('test_cram_bandit_sim.R:32:3'): cram_bandit_sim runs and returns expected structure with batch = 1 epsilon greedy ──
Error in ``[.data.table`(res, , `:=`(probas, list(compute_probas(.SD, policy, policy_name, batch_size = batch_size))), by = .(agent, sim))`: attempt access index 7/7 in VECTOR_ELT
Backtrace:
▆
1. └─cramR::cram_bandit_sim(horizon, simulations, bandit, policy) at test_cram_bandit_sim.R:32:3
2. ├─...[]
3. └─data.table:::`[.data.table`(...)
── Error ('test_cram_bandit_sim.R:49:3'): cram_bandit_sim runs and returns expected structure with ucb ──
Error in ``[.data.table`(res, , `:=`(probas, list(compute_probas(.SD, policy, policy_name, batch_size = batch_size))), by = .(agent, sim))`: attempt access index 7/7 in VECTOR_ELT
Backtrace:
▆
1. └─cramR::cram_bandit_sim(horizon, simulations, bandit, policy) at test_cram_bandit_sim.R:49:3
2. ├─...[]
3. └─data.table:::`[.data.table`(...)
── Error ('test_cram_bandit_sim.R:67:3'): cram_bandit_sim runs and returns expected structure with thompson ──
Error in ``[.data.table`(res, , `:=`(probas, list(compute_probas(.SD, policy, policy_name, batch_size = batch_size))), by = .(agent, sim))`: attempt access index 7/7 in VECTOR_ELT
Backtrace:
▆
1. └─cramR::cram_bandit_sim(horizon, simulations, bandit, policy) at test_cram_bandit_sim.R:67:3
2. ├─...[]
3. └─data.table:::`[.data.table`(...)
── Error ('test_cram_bandit_sim.R:85:3'): cram_bandit_sim returns finite numeric outputs ──
Error in ``[.data.table`(res, , `:=`(probas, list(compute_probas(.SD, policy, policy_name, batch_size = batch_size))), by = .(agent, sim))`: attempt access index 7/7 in VECTOR_ELT
Backtrace:
▆
1. └─cramR::cram_bandit_sim(horizon, simulations, bandit, policy) at test_cram_bandit_sim.R:85:3
2. ├─...[]
3. └─data.table:::`[.data.table`(...)
── Error ('test_cram_simulation.R:49:3'): cram_simulation runs correctly and returns expected metrics ──
Error in ``[.data.table`(big_X, , `:=`(D, dgp_D(.SD)), by = sim_id)`: attempt access index 4/4 in VECTOR_ELT
Backtrace:
▆
1. └─cramR::cram_simulation(...) at test_cram_simulation.R:49:3
2. ├─big_X[, `:=`(D, dgp_D(.SD)), by = sim_id]
3. └─data.table:::`[.data.table`(big_X, , `:=`(D, dgp_D(.SD)), by = sim_id)
[ FAIL 6 | WARN 0 | SKIP 3 | PASS 127 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-windows-x86_64
Version: 0.1.1
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building 'cram_bandit.Rmd' using rmarkdown
--- finished re-building 'cram_bandit.Rmd'
--- re-building 'cram_bandit_helpers.Rmd' using rmarkdown
--- finished re-building 'cram_bandit_helpers.Rmd'
--- re-building 'cram_bandit_simulation.Rmd' using rmarkdown
Quitting from cram_bandit_simulation.Rmd:76-106 [contextual-example]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 7/7 in VECTOR_ELT
---
Backtrace:
▆
1. └─cramR::cram_bandit_sim(...)
2. ├─...[]
3. └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'cram_bandit_simulation.Rmd' failed with diagnostics:
attempt access index 7/7 in VECTOR_ELT
--- failed re-building 'cram_bandit_simulation.Rmd'
--- re-building 'cram_ml.Rmd' using rmarkdown
--- finished re-building 'cram_ml.Rmd'
--- re-building 'cram_policy_part_1.Rmd' using rmarkdown
--- finished re-building 'cram_policy_part_1.Rmd'
--- re-building 'cram_policy_part_2.Rmd' using rmarkdown
--- finished re-building 'cram_policy_part_2.Rmd'
--- re-building 'cram_policy_simulation.Rmd' using rmarkdown
Quitting from cram_policy_simulation.Rmd:50-100 [unnamed-chunk-1]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 4/4 in VECTOR_ELT
---
Backtrace:
▆
1. └─cramR::cram_simulation(...)
2. ├─big_X[, `:=`(D, dgp_D(.SD)), by = sim_id]
3. └─data.table:::`[.data.table`(big_X, , `:=`(D, dgp_D(.SD)), by = sim_id)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'cram_policy_simulation.Rmd' failed with diagnostics:
attempt access index 4/4 in VECTOR_ELT
--- failed re-building 'cram_policy_simulation.Rmd'
--- re-building 'quickstart.Rmd' using rmarkdown
--- finished re-building 'quickstart.Rmd'
SUMMARY: processing the following files failed:
'cram_bandit_simulation.Rmd' 'cram_policy_simulation.Rmd'
Error: Vignette re-building failed.
Execution halted
Flavor: r-devel-windows-x86_64
Version: 0.1.1
Check: installed package size
Result: NOTE
installed size is 5.2Mb
sub-directories of 1Mb or more:
doc 2.2Mb
help 2.4Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, 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.
Health stats visible at Monitor.