R Under development (unstable) (2025-05-10 r88193 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # 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") Simulation horizon: 100 Number of simulations: 11 Number of batches: 1 Starting main loop. Finished main loop. Completed simulation in 0:00:00.715 Computing statistics. Simulation horizon: 100 Number of simulations: 11 Number of batches: 1 Starting main loop. Finished main loop. Completed simulation in 0:00:00.544 Computing statistics. Simulation horizon: 100 Number of simulations: 11 Number of batches: 1 Starting main loop. Finished main loop. Completed simulation in 0:00:00.459 Computing statistics. Simulation horizon: 100 Number of simulations: 11 Number of batches: 1 Starting main loop. Finished main loop. Completed simulation in 0:00:00.638 Computing statistics. Simulation horizon: 20 Number of simulations: 6 Number of batches: 1 Starting main loop. Finished main loop. Completed simulation in 0:00:00.230 Computing statistics. 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-8 [ FAIL 0 | WARN 0 | SKIP 3 | PASS 140 ] ══ 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' [ FAIL 0 | WARN 0 | SKIP 3 | PASS 140 ] > > testthat::teardown({ + tmp_dir <- tempdir() + tf_temp_files <- list.files(tmp_dir, pattern = "^__autograph_generated_file.*\\.py$", full.names = TRUE) + unlink(tf_temp_files) + }) > > > proc.time() user system elapsed 52.43 3.48 53.32