Running ‘run_testthat.R’ [4s/4s]
  Running ‘test_advanced.R’ [2s/3s]
  Running ‘test_deprecated.R’ [1s/1s]
  Running ‘test_distributions_cont.R’ [2s/3s]
  Running ‘test_distributions_discr.R’ [1s/1s]
  Running ‘test_routines.R’ [0s/1s]
  Running ‘test_ud.R’ [2s/3s]
  Running ‘test_universal.R’ [8s/9s]
  Running ‘test_unuran.R’ [6s/7s]
Running the tests in ‘tests/test_distributions_cont.R’ failed.
Complete output:
  > #############################################################################
  > ##                                                                         ##
  > ##   Tests for wrapper functions for special distributions                 ##
  > ##                                                                         ##
  > #############################################################################
  > ##                                                                         ##
  > ##   Continuous univariate distributions                                   ##
  > ##                                                                         ##
  > #############################################################################
  > ##                                                                         ##
  > ##   Remark: You must use named arguments when calling the test routines!  ##
  > ##                                                                         ##
  > #############################################################################
  > 
  > ## --- Load test routines and test parameters -------------------------------
  > 
  > source("test_routines.R")
  > 
  > ## --- Chi^2 goodness-of-fit test -------------------------------------------
  > 
  > ## Beta distribution - (replacement for rbeta) ------------------------------
  > for (i in 1:n.rep.domains)
  +         unur.test.cont("beta", shape1=runif(1,0.2,10), shape2=runif(1,0.2,10), 
  +                        domain=sort(runif(2)))
  beta(5.98004950531758,2.41533153392375) domain=(0.841941,0.846769): chisq test PASSed with p-value=0.871413
  beta(9.34615778853185,9.36783183892257) domain=(0.24247,0.424215): chisq test PASSed with p-value=0.103871
  > for (i in 1:n.rep.params)
  +         unur.test.cont("beta", shape1=runif(1,0.2,10), shape2=runif(1,0.2,10))
  beta(8.48739535729401,9.38108205320314): chisq test PASSed with p-value=0.833655
  beta(5.23183085937053,3.54252578979358): chisq test PASSed with p-value=0.750538
  beta(6.38114236858674,4.81197370309383): chisq test PASSed with p-value=0.45956
  beta(8.94811600223184,0.620092992391437): [UNU.RAN - warning] (serious) round-off error: one or more intervals very short; possibly due to numerical problems with a pole or very flat tail
  chisq test PASSed with p-value=0.326313
  beta(6.22665495742112,2.55307642230764): chisq test PASSed with p-value=0.200447
  > 
  > ## Burr family of distributions ---------------------------------------------
  > 
  > ## Cauchy distribution - (replacement for rcauchy) --------------------------
  > unur.test.cont("cauchy")
  cauchy(): chisq test PASSed with p-value=0.282226
  > for (i in 1:n.rep.domains)
  +         unur.test.cont("cauchy", domain=sort(rnorm(2)))
  cauchy() domain=(-2.4775,0.139522): chisq test PASSed with p-value=0.365344
  cauchy() domain=(-0.43551,-0.313517): chisq test PASSed with p-value=0.570381
  > for (i in 1:n.rep.params)
  +         unur.test.cont("cauchy", location=rcauchy(1), scale=rgamma(1,shape=2))
  cauchy(4.03666905146835,1.37145002923994): chisq test PASSed with p-value=0.249208
  cauchy(-0.0535982892269488,0.844973430137471): chisq test PASSed with p-value=0.163208
  cauchy(0.701676147082093,0.7619282817725): chisq test PASSed with p-value=0.42765
  cauchy(1.6167902367579,3.6790728912638): chisq test PASSed with p-value=0.633812
  cauchy(-5.2264038370917,0.775350884194325): chisq test PASSed with p-value=0.862729
  > 
  > ## Chi distribution ---------------------------------------------------------
  > 
  > ## Chi^2 distribution - (replacement for rchisq) ----------------------------
  > for (i in 1:n.rep.domains)
  +         unur.test.cont("chisq", df=3, domain=sort(rexp(2)))
  chisq(3) domain=(0.467951,5.10469): chisq test PASSed with p-value=0.00681185
  chisq(3) domain=(0.465087,1.07566): chisq test PASSed with p-value=0.31452
  > for (i in 1:n.rep.params)
  +         unur.test.cont("chisq", df=rgamma(1,shape=2))
  chisq(1.36551072771635): chisq test PASSed with p-value=0.068044
  chisq(2.71456392936511): chisq test PASSed with p-value=0.120739
  chisq(1.71566250161296): chisq test PASSed with p-value=0.437572
  chisq(0.0115400749237561): [UNU.RAN - warning] (serious) round-off error: one or more intervals very short; possibly due to numerical problems with a pole or very flat tail
  Warning: first chisq test FAILed with p-value=0
  [UNU.RAN - warning] (serious) round-off error: one or more intervals very short; possibly due to numerical problems with a pole or very flat tail
  Error: chisq test FAILED!  p-value=0
  Execution halted