Running ‘testthat.R’ [30m/44m]
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(proteus)
  > 
  > test_check("proteus")
  
  block 1 
  581 sequence for training
  561 sequence for testing
  epoch:  3    Train loss:  0.321114    Test loss:  0.3321306 
  epoch:  6    Train loss:  0.3306861    Test loss:  0.3336446 
  epoch:  9    Train loss:  0.3333218    Test loss:  0.3363992 
  epoch:  12    Train loss:  0.3340265    Test loss:  0.3319455 
  epoch:  15    Train loss:  0.336142    Test loss:  0.3359197 
  epoch:  18    Train loss:  0.3258315    Test loss:  0.3313888 
  epoch:  21    Train loss:  0.3348502    Test loss:  0.3276891 
  early stop at epoch:  23    Train loss:  0.3616689    Test loss:  0.3277148 
  
  block 2 
  1142 sequence for training
  561 sequence for testing
  epoch:  3    Train loss:  0.3353842    Test loss:  0.3322885 
  epoch:  6    Train loss:  0.3286981    Test loss:  0.3343798 
  epoch:  9    Train loss:  0.327653    Test loss:  0.3284388 
  epoch:  12    Train loss:  0.3411809    Test loss:  0.3347841 
  early stop at epoch:  13    Train loss:  0.2344178    Test loss:  0.3178131 
  
  final training on all 3 
  1703 sequence for training
  epoch:  3    Train loss:  0.33419 
  epoch:  6    Train loss:  0.3344037 
  epoch:  9    Train loss:  0.3277188 
  epoch:  12    Train loss:  0.3307849 
  epoch:  15    Train loss:  0.3321109 
  epoch:  18    Train loss:  0.3288007 
  epoch:  21    Train loss:  0.3293982 
  epoch:  24    Train loss:  0.3310115 
  epoch:  27    Train loss:  0.3331793 
  epoch:  30    Train loss:  0.3361465 
  
  variational model based on normal latent distribution with 144 tensors and 8190 parameters
  proteus: 921.299 sec elapsed
  date and value gaps filled with kalman imputation
  
  block 1 
  801 sequence for training
  801 sequence for testing
  epoch:  3    Train loss:  0.3242047    Test loss:  0.3271196 
  epoch:  6    Train loss:  0.3276102    Test loss:  0.328527 
  epoch:  9    Train loss:  0.3234263    Test loss:  0.3274919 
  early stop at epoch:  10    Train loss:  0.3351796    Test loss:  0.3220558 
  
  block 2 
  1602 sequence for training
  801 sequence for testing
  epoch:  3    Train loss:  0.3204344    Test loss:  0.3281769 
  epoch:  6    Train loss:  0.3204992    Test loss:  0.3289552 
  epoch:  9    Train loss:  0.3230156    Test loss:  0.3299439 
  epoch:  12    Train loss:  0.3213036    Test loss:  0.3273793 
  early stop at epoch:  14    Train loss:  0.3171595    Test loss:  0.3329267 
  
  final training on all 3 
  2403 sequence for training
  epoch:  3    Train loss:  0.3306837 
  epoch:  6    Train loss:  0.3286098 
  epoch:  9    Train loss:  0.3302987 
  epoch:  12    Train loss:  0.3308404 
  epoch:  15    Train loss:  0.3316363 
  epoch:  18    Train loss:  0.3305579 
  epoch:  21    Train loss:  0.3296561 
  epoch:  24    Train loss:  0.3288558 
  epoch:  27    Train loss:  0.3285954 
  epoch:  30    Train loss:  0.3292858 
  
  variational model based on normal latent distribution with 144 tensors and 60670 parameters
  proteus: 1724.226 sec elapsed
  [ FAIL 1 | WARN 13747 | SKIP 0 | PASS 24 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-main.R:44:13'): Correct outcome format and size for base outcome3 ──
  Error: 'workers >= 1' is not TRUE
  Backtrace:
      ▆
   1. └─proteus::proteus_random_search(...) at test-main.R:44:13
   2.   └─future::plan(...)
   3.     └─future (local) plan_set(newStack, skip = .skip, cleanup = .cleanup, init = .init)
   4.       └─future (local) plan_init()
   5.         └─future (local) evaluator(NA, label = "future-plan-test", globals = FALSE, lazy = FALSE)
   6.           └─future (local) strategy(..., workers = workers, envir = envir)
   7.             └─future:::stop_if_not(...)
   8.               └─future:::stopf(...)
  
  [ FAIL 1 | WARN 13747 | SKIP 0 | PASS 24 ]
  Error: Test failures
  Execution halted