Running ‘testthat.R’ [63m/54m]
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.3198812    Test loss:  0.3303558 
  epoch:  6    Train loss:  0.3277235    Test loss:  0.3321903 
  epoch:  9    Train loss:  0.3309349    Test loss:  0.3357758 
  epoch:  12    Train loss:  0.331967    Test loss:  0.3308378 
  epoch:  15    Train loss:  0.3345608    Test loss:  0.3331805 
  epoch:  18    Train loss:  0.3234839    Test loss:  0.3307465 
  epoch:  21    Train loss:  0.3325789    Test loss:  0.3249392 
  early stop at epoch:  23    Train loss:  0.3616703    Test loss:  0.3380815 
  
  block 2 
  1142 sequence for training
  561 sequence for testing
  epoch:  3    Train loss:  0.3347947    Test loss:  0.3327095 
  epoch:  6    Train loss:  0.3286071    Test loss:  0.3336559 
  epoch:  9    Train loss:  0.3289495    Test loss:  0.3284454 
  epoch:  12    Train loss:  0.3417596    Test loss:  0.3351029 
  early stop at epoch:  12    Train loss:  0.4641147    Test loss:  0.3343924 
  
  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: 1065.66 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.3272795    Test loss:  0.3308806 
  epoch:  6    Train loss:  0.3294848    Test loss:  0.3300329 
  epoch:  9    Train loss:  0.3265669    Test loss:  0.3289861 
  early stop at epoch:  10    Train loss:  0.3411736    Test loss:  0.3280828 
  
  block 2 
  1602 sequence for training
  801 sequence for testing
  epoch:  3    Train loss:  0.3119311    Test loss:  0.3236771 
  epoch:  6    Train loss:  0.3116652    Test loss:  0.3250794 
  epoch:  9    Train loss:  0.3145806    Test loss:  0.3261671 
  epoch:  12    Train loss:  0.3121014    Test loss:  0.3234109 
  early stop at epoch:  14    Train loss:  0.3086948    Test loss:  0.3303865 
  
  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: 2182.874 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