Running ‘testthat.R’ [65m/55m]
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.3190348    Test loss:  0.3286328 
  epoch:  6    Train loss:  0.3273224    Test loss:  0.3310913 
  epoch:  9    Train loss:  0.3305737    Test loss:  0.3359217 
  epoch:  12    Train loss:  0.3325046    Test loss:  0.3303941 
  epoch:  15    Train loss:  0.3334097    Test loss:  0.3328705 
  epoch:  18    Train loss:  0.3232155    Test loss:  0.3307394 
  epoch:  21    Train loss:  0.3329299    Test loss:  0.324207 
  early stop at epoch:  23    Train loss:  0.3616706    Test loss:  0.327345 
  
  block 2 
  1142 sequence for training
  561 sequence for testing
  epoch:  3    Train loss:  0.3357101    Test loss:  0.3327065 
  epoch:  6    Train loss:  0.3291909    Test loss:  0.3327941 
  epoch:  9    Train loss:  0.3284706    Test loss:  0.328068 
  epoch:  12    Train loss:  0.3418736    Test loss:  0.3348176 
  early stop at epoch:  13    Train loss:  0.2780534    Test loss:  0.3178275 
  
  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: 1039.559 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.324479    Test loss:  0.3280755 
  epoch:  6    Train loss:  0.3263002    Test loss:  0.3274768 
  epoch:  9    Train loss:  0.3238882    Test loss:  0.3270843 
  early stop at epoch:  10    Train loss:  0.3356368    Test loss:  0.3227979 
  
  block 2 
  1602 sequence for training
  801 sequence for testing
  epoch:  3    Train loss:  0.3239276    Test loss:  0.3290827 
  epoch:  6    Train loss:  0.3236929    Test loss:  0.3303105 
  epoch:  9    Train loss:  0.3260993    Test loss:  0.3312863 
  epoch:  12    Train loss:  0.3255758    Test loss:  0.3289068 
  early stop at epoch:  14    Train loss:  0.3219504    Test loss:  0.32943 
  
  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: 2250.348 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