CRAN Package Check Results for Package Runuran

Last updated on 2024-12-21 15:50:17 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.40 54.22 86.81 141.03 OK
r-devel-linux-x86_64-debian-gcc 0.40 43.00 61.42 104.42 ERROR
r-devel-linux-x86_64-fedora-clang 0.40 213.50 OK
r-devel-linux-x86_64-fedora-gcc 0.40 246.33 OK
r-devel-windows-x86_64 0.40 105.00 150.00 255.00 OK
r-patched-linux-x86_64 0.40 56.97 82.10 139.07 OK
r-release-linux-x86_64 0.40 52.58 81.79 134.37 OK
r-release-macos-arm64 0.40 91.00 OK
r-release-macos-x86_64 0.40 154.00 OK
r-release-windows-x86_64 0.40 105.00 148.00 253.00 OK
r-oldrel-macos-arm64 0.40 89.00 OK
r-oldrel-macos-x86_64 0.40 163.00 OK
r-oldrel-windows-x86_64 0.40 110.00 160.00 270.00 OK

Check Details

Version: 0.40
Check: tests
Result: ERROR Running ‘run_testthat.R’ [3s/3s] Running ‘test_advanced.R’ [1s/2s] Running ‘test_deprecated.R’ [1s/1s] Running ‘test_distributions_cont.R’ [1s/2s] Running ‘test_distributions_discr.R’ [1s/1s] Running ‘test_routines.R’ [0s/0s] Running ‘test_ud.R’ [1s/1s] Running ‘test_universal.R’ [4s/5s] Running ‘test_unuran.R’ [3s/4s] 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(3.09875353993848,4.8369648380205) domain=(0.0174022,0.902872): chisq test PASSed with p-value=0.098772 beta(7.567848402448,2.93678443920799) domain=(0.658651,0.663235): chisq test PASSed with p-value=0.256367 > for (i in 1:n.rep.params) + unur.test.cont("beta", shape1=runif(1,0.2,10), shape2=runif(1,0.2,10)) beta(2.14641751139425,0.937173421075568): chisq test PASSed with p-value=0.807168 beta(4.59985016151331,8.03399234479293): chisq test PASSed with p-value=0.302848 beta(7.49411971895024,2.95514033949003): chisq test PASSed with p-value=0.646979 beta(1.19358640909195,4.65855653537437): chisq test PASSed with p-value=0.628197 beta(3.66120820050128,4.69107317612507): chisq test PASSed with p-value=0.508567 > > ## Burr family of distributions --------------------------------------------- > > ## Cauchy distribution - (replacement for rcauchy) -------------------------- > unur.test.cont("cauchy") cauchy(): chisq test PASSed with p-value=0.1608 > for (i in 1:n.rep.domains) + unur.test.cont("cauchy", domain=sort(rnorm(2))) cauchy() domain=(-0.765121,1.4221): chisq test PASSed with p-value=0.460058 cauchy() domain=(-0.345134,0.960589): chisq test PASSed with p-value=0.401042 > for (i in 1:n.rep.params) + unur.test.cont("cauchy", location=rcauchy(1), scale=rgamma(1,shape=2)) cauchy(-0.649196939893515,6.35263544895141): chisq test PASSed with p-value=0.323301 cauchy(1.14016176933496,1.63782942480039): chisq test PASSed with p-value=0.231009 cauchy(-0.416027747282502,2.79982727330971): chisq test PASSed with p-value=0.414479 cauchy(-1.87748062940565,0.504286851414831): chisq test PASSed with p-value=0.375073 cauchy(-0.403626319751645,3.30121538493576): chisq test PASSed with p-value=0.97893 > > ## 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.824154,1.39272): chisq test PASSed with p-value=0.752609 chisq(3) domain=(0.882067,1.16349): chisq test PASSed with p-value=0.733334 > for (i in 1:n.rep.params) + unur.test.cont("chisq", df=rgamma(1,shape=2)) chisq(0.157779312308368): chisq test PASSed with p-value=0.528406 chisq(2.29032826822659): chisq test PASSed with p-value=0.686719 chisq(6.01489664642576): chisq test PASSed with p-value=0.2634 chisq(0.0113982288702808): [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 Flavor: r-devel-linux-x86_64-debian-gcc