Running ‘testthat.R’ [28m/42m]
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.3228286    Test loss:  0.3299024 
  epoch:  6    Train loss:  0.3295888    Test loss:  0.3333441 
  epoch:  9    Train loss:  0.3322762    Test loss:  0.336259 
  epoch:  12    Train loss:  0.3336286    Test loss:  0.3313032 
  epoch:  15    Train loss:  0.3348622    Test loss:  0.3349924 
  epoch:  18    Train loss:  0.3279072    Test loss:  0.3317899 
  epoch:  21    Train loss:  0.3362914    Test loss:  0.3256471 
  early stop at epoch:  23    Train loss:  0.3616701    Test loss:  0.3296552 
  
  block 2 
  1142 sequence for training
  561 sequence for testing
  epoch:  3    Train loss:  0.3334067    Test loss:  0.332717 
  epoch:  6    Train loss:  0.3246992    Test loss:  0.3336211 
  epoch:  9    Train loss:  0.3266206    Test loss:  0.3269263 
  epoch:  12    Train loss:  0.337995    Test loss:  0.3351788 
  early stop at epoch:  12    Train loss:  0.4641145    Test loss:  0.3343987 
  
  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: 824.72 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.3257426    Test loss:  0.3279094 
  epoch:  6    Train loss:  0.3260519    Test loss:  0.3267367 
  epoch:  9    Train loss:  0.325309    Test loss:  0.3263512 
  early stop at epoch:  10    Train loss:  0.3386835    Test loss:  0.3214455 
  
  block 2 
  1602 sequence for training
  801 sequence for testing
  epoch:  3    Train loss:  0.3265884    Test loss:  0.3296479 
  epoch:  6    Train loss:  0.3260211    Test loss:  0.3305092 
  epoch:  9    Train loss:  0.3282239    Test loss:  0.3324106 
  epoch:  12    Train loss:  0.328125    Test loss:  0.3286998 
  early stop at epoch:  14    Train loss:  0.3325073    Test loss:  0.337071 
  
  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: 1660.257 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