Running ‘testthat.R’ [58s/153s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > testthat::test_check("PosteriorBootstrap")
  Loading required package: PosteriorBootstrap
  Welcome to PosteriorBootstrap, a parallel approach for adaptive non-parametric learning
  Chain 1: ------------------------------------------------------------
  Chain 1: EXPERIMENTAL ALGORITHM:
  Chain 1:   This procedure has not been thoroughly tested and may be unstable
  Chain 1:   or buggy. The interface is subject to change.
  Chain 1: ------------------------------------------------------------
  Chain 1: 
  Chain 1: 
  Chain 1: 
  Chain 1: Gradient evaluation took 0.000298 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 2.98 seconds.
  Chain 1: Adjust your expectations accordingly!
  Chain 1: 
  Chain 1: 
  Chain 1: Begin eta adaptation.
  Chain 1: Iteration:   1 / 250 [  0%]  (Adaptation)
  Chain 1: Iteration:  50 / 250 [ 20%]  (Adaptation)
  Chain 1: Iteration: 100 / 250 [ 40%]  (Adaptation)
  Chain 1: Iteration: 150 / 250 [ 60%]  (Adaptation)
  Chain 1: Iteration: 200 / 250 [ 80%]  (Adaptation)
  Chain 1: Success! Found best value [eta = 1] earlier than expected.
  Chain 1: 
  Chain 1: Begin stochastic gradient ascent.
  Chain 1:   iter             ELBO   delta_ELBO_mean   delta_ELBO_med   notes 
  Chain 1:    100         -593.338             1.000            1.000
  Chain 1:    200         -591.578             0.501            1.000
  Chain 1:    300         -593.057             0.335            0.003   MEDIAN ELBO CONVERGED
  Chain 1: 
  Chain 1: Drawing a sample of size 100 from the approximate posterior... 
  Chain 1: COMPLETED.
  [1] 0.1033527
  [1] -0.09327688
  trying URL 'http://archive.ics.uci.edu/ml/machine-learning-databases/statlog/german/german.data-numeric'
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (3)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_german_data.R:36:3): German Statlog data that ships is the same as source ──
  Error: cannot open URL 'http://archive.ics.uci.edu/ml/machine-learning-databases/statlog/german/german.data-numeric'
  Backtrace:
      █
   1. └─PosteriorBootstrap::get_german_credit_dataset(...) test_german_data.R:36:2
   2.   └─utils::download.file(k_german_credit_url, download_destination)
  
  [ FAIL 1 | WARN 1 | SKIP 3 | PASS 53 ]
  Error: Test failures
  Execution halted