Running ‘testthat.R’ [79s/219s]
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.000361 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 3.61 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.1098383
  [1] -0.07761785
  trying URL 'http://archive.ics.uci.edu/ml/machine-learning-databases/statlog/german/german.data-numeric'
  ── 1. Error: German Statlog data that ships is the same as source (@test_german_
  cannot open URL 'http://archive.ics.uci.edu/ml/machine-learning-databases/statlog/german/german.data-numeric'
  Backtrace:
   1. PosteriorBootstrap::get_german_credit_dataset(...)
   2. utils::download.file(k_german_credit_url, download_destination)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 53 | SKIPPED: 3 | WARNINGS: 1 | FAILED: 1 ]
  1. Error: German Statlog data that ships is the same as source (@test_german_data.R#36) 
  
  Error: testthat unit tests failed
  Execution halted