Running ‘testthat.R’ [52m/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.3198162    Test loss:  0.3293215 
  epoch:  6    Train loss:  0.3289785    Test loss:  0.3339054 
  epoch:  9    Train loss:  0.3322983    Test loss:  0.3368582 
  epoch:  12    Train loss:  0.3325616    Test loss:  0.3332472 
  epoch:  15    Train loss:  0.3359867    Test loss:  0.3352856 
  epoch:  18    Train loss:  0.3244856    Test loss:  0.3308225 
  epoch:  21    Train loss:  0.3347179    Test loss:  0.3266473 
  early stop at epoch:  23    Train loss:  0.3616712    Test loss:  0.325471 
  
  block 2 
  1142 sequence for training
  561 sequence for testing
  epoch:  3    Train loss:  0.3356928    Test loss:  0.3331294 
  epoch:  6    Train loss:  0.3277211    Test loss:  0.3346958 
  epoch:  9    Train loss:  0.3297483    Test loss:  0.3280328 
  epoch:  12    Train loss:  0.3419344    Test loss:  0.3356583 
  early stop at epoch:  13    Train loss:  0.2780542    Test loss:  0.3178143 
  
  final training on all 3 
  1703 sequence for training
  epoch:  3    Train loss:  0.3341904 
  epoch:  6    Train loss:  0.3344039 
  epoch:  9    Train loss:  0.3277193 
  epoch:  12    Train loss:  0.330785 
  epoch:  15    Train loss:  0.332111 
  epoch:  18    Train loss:  0.3288006 
  epoch:  21    Train loss:  0.3293977 
  epoch:  24    Train loss:  0.3310112 
  epoch:  27    Train loss:  0.3331797 
  epoch:  30    Train loss:  0.3361475 
  
  variational model based on normal latent distribution with 144 tensors and 8190 parameters
  proteus: 877.952 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.3287183    Test loss:  0.3312927 
  epoch:  6    Train loss:  0.3296211    Test loss:  0.331028 
  epoch:  9    Train loss:  0.3277457    Test loss:  0.3299924 
  epoch:  12    Train loss:  0.3284439    Test loss:  0.3302772 
  epoch:  15    Train loss:  0.3259831    Test loss:  0.3286346 
  epoch:  18    Train loss:  0.3293835    Test loss:  0.3321851 
  epoch:  21    Train loss:  0.331386    Test loss:  0.3308055 
  epoch:  24    Train loss:  0.3327497    Test loss:  0.3323402 
  epoch:  27    Train loss:  0.3272254    Test loss:  0.33141 
  epoch:  30    Train loss:  0.3298065    Test loss:  0.3286342 
  
  block 2 
  1602 sequence for training
  801 sequence for testing
  epoch:  3    Train loss:  0.3261811    Test loss:  0.3313573 
  epoch:  6    Train loss:  0.3263921    Test loss:  0.3317576 
  epoch:  9    Train loss:  0.3287633    Test loss:  0.3321509 
  epoch:  12    Train loss:  0.3279021    Test loss:  0.3301415 
  early stop at epoch:  14    Train loss:  0.3262168    Test loss:  0.3316528 
  
  final training on all 3 
  2403 sequence for training
  epoch:  3    Train loss:  0.3306837 
  epoch:  6    Train loss:  0.32861 
  epoch:  9    Train loss:  0.3302987 
  epoch:  12    Train loss:  0.3308404 
  epoch:  15    Train loss:  0.3316363 
  epoch:  18    Train loss:  0.3305584 
  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: 1775.469 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