Running ‘testthat.R’ [29m/46m]
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.3203578    Test loss:  0.3308636 
  epoch:  6    Train loss:  0.3284115    Test loss:  0.3313589 
  epoch:  9    Train loss:  0.3314034    Test loss:  0.3356744 
  epoch:  12    Train loss:  0.331907    Test loss:  0.3313257 
  epoch:  15    Train loss:  0.3339233    Test loss:  0.3349306 
  epoch:  18    Train loss:  0.3254713    Test loss:  0.3317507 
  epoch:  21    Train loss:  0.3332792    Test loss:  0.3253449 
  early stop at epoch:  23    Train loss:  0.3616558    Test loss:  0.3315734 
  
  block 2 
  1142 sequence for training
  561 sequence for testing
  epoch:  3    Train loss:  0.3370251    Test loss:  0.3320887 
  epoch:  6    Train loss:  0.3294984    Test loss:  0.3340179 
  epoch:  9    Train loss:  0.3287352    Test loss:  0.3275182 
  epoch:  12    Train loss:  0.3423359    Test loss:  0.3359092 
  early stop at epoch:  12    Train loss:  0.4737276    Test loss:  0.334553 
  
  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: 925.564 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.3030759    Test loss:  0.3088196 
  epoch:  6    Train loss:  0.3066432    Test loss:  0.3086508 
  epoch:  9    Train loss:  0.3022794    Test loss:  0.3081908 
  epoch:  12    Train loss:  0.3049623    Test loss:  0.3094112 
  epoch:  15    Train loss:  0.3032571    Test loss:  0.3077808 
  epoch:  18    Train loss:  0.3041365    Test loss:  0.3094822 
  epoch:  21    Train loss:  0.3051134    Test loss:  0.3093314 
  epoch:  24    Train loss:  0.3060271    Test loss:  0.3093875 
  epoch:  27    Train loss:  0.3015595    Test loss:  0.30983 
  epoch:  30    Train loss:  0.3046248    Test loss:  0.3060853 
  
  block 2 
  1602 sequence for training
  801 sequence for testing
  epoch:  3    Train loss:  0.3277329    Test loss:  0.3304449 
  epoch:  6    Train loss:  0.3271608    Test loss:  0.3314713 
  epoch:  9    Train loss:  0.3297754    Test loss:  0.3317577 
  epoch:  12    Train loss:  0.3275632    Test loss:  0.3287708 
  early stop at epoch:  14    Train loss:  0.3139288    Test loss:  0.3311483 
  
  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: 1802.29 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