Running ‘testthat.R’ [26m/90m]
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.3206707    Test loss:  0.3296884 
  epoch:  6    Train loss:  0.3288247    Test loss:  0.3320897 
  epoch:  9    Train loss:  0.3315601    Test loss:  0.3364279 
  epoch:  12    Train loss:  0.3311084    Test loss:  0.332022 
  epoch:  15    Train loss:  0.3351621    Test loss:  0.3347324 
  epoch:  18    Train loss:  0.3259207    Test loss:  0.3319704 
  epoch:  21    Train loss:  0.3335764    Test loss:  0.3260679 
  early stop at epoch:  23    Train loss:  0.3616706    Test loss:  0.3313395 
  
  block 2 
  1142 sequence for training
  561 sequence for testing
  epoch:  3    Train loss:  0.3367957    Test loss:  0.3333176 
  epoch:  6    Train loss:  0.3291334    Test loss:  0.334082 
  epoch:  9    Train loss:  0.3298635    Test loss:  0.3278562 
  epoch:  12    Train loss:  0.3421411    Test loss:  0.3356785 
  early stop at epoch:  12    Train loss:  0.4641147    Test loss:  0.3343999 
  
  final training on all 3 
  1703 sequence for training
  epoch:  3    Train loss:  0.3341897 
  epoch:  6    Train loss:  0.3344023 
  epoch:  9    Train loss:  0.327718 
  epoch:  12    Train loss:  0.3308248 
  epoch:  15    Train loss:  0.332109 
  epoch:  18    Train loss:  0.3288006 
  epoch:  21    Train loss:  0.329397 
  epoch:  24    Train loss:  0.3310126 
  epoch:  27    Train loss:  0.3331795 
  epoch:  30    Train loss:  0.3361463 
  
  variational model based on normal latent distribution with 144 tensors and 8190 parameters
  proteus: 2705.942 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.3265904    Test loss:  0.3292269 
  epoch:  6    Train loss:  0.3287946    Test loss:  0.3295834 
  epoch:  9    Train loss:  0.3258467    Test loss:  0.328494 
  epoch:  12    Train loss:  0.3271924    Test loss:  0.3296516 
  epoch:  15    Train loss:  0.3261889    Test loss:  0.3258883 
  epoch:  18    Train loss:  0.3271789    Test loss:  0.3308201 
  early stop at epoch:  18    Train loss:  0.3396003    Test loss:  0.3139121 
  
  block 2 
  1602 sequence for training
  801 sequence for testing
  epoch:  3    Train loss:  0.3275872    Test loss:  0.3308325 
  epoch:  6    Train loss:  0.3279003    Test loss:  0.3316956 
  epoch:  9    Train loss:  0.329465    Test loss:  0.3326774 
  epoch:  12    Train loss:  0.3284408    Test loss:  0.3300541 
  early stop at epoch:  14    Train loss:  0.3241241    Test loss:  0.3343912 
  
  final training on all 3 
  2403 sequence for training
  epoch:  3    Train loss:  0.3306832 
  epoch:  6    Train loss:  0.3286034 
  epoch:  9    Train loss:  0.3302916 
  epoch:  12    Train loss:  0.3308355 
  
  Execution halted