From 67184d88ca72865167cfea3ee54a247296db5dff Mon Sep 17 00:00:00 2001 From: stepan <stepan.sindelar@oracle.com> Date: Fri, 9 Dec 2016 14:40:35 +0100 Subject: [PATCH] Regenerate expected test output --- .../truffle/r/test/ExpectedTestOutput.test | 1086 +++++++++++++++++ 1 file changed, 1086 insertions(+) diff --git a/com.oracle.truffle.r.test/src/com/oracle/truffle/r/test/ExpectedTestOutput.test b/com.oracle.truffle.r.test/src/com/oracle/truffle/r/test/ExpectedTestOutput.test index 82a4c02981..13bd9aff74 100644 --- a/com.oracle.truffle.r.test/src/com/oracle/truffle/r/test/ExpectedTestOutput.test +++ b/com.oracle.truffle.r.test/src/com/oracle/truffle/r/test/ExpectedTestOutput.test @@ -113946,6 +113946,38 @@ Warning message: In rgamma(30, c(NA, 0, NaN, 1/0, -1/0), c(NaN, NaN, NA, 0, 1/0, : NAs produced +##com.oracle.truffle.r.test.library.stats.TestRandGenerationFunctions.testFunctions2#Output.IgnoreWhitespace# +#set.seed(1); rlnorm(10, 10, 10) + [1] 4.190738e+01 1.381967e+05 5.174351e+00 1.867073e+11 5.942633e+05 + [6] 6.021378e+00 2.882852e+06 3.543629e+07 6.974795e+06 1.039106e+03 + +##com.oracle.truffle.r.test.library.stats.TestRandGenerationFunctions.testFunctions2#Output.IgnoreWhitespace# +#set.seed(1); rlnorm(20, c(-1, 0, 0.2, 2:5), c(-1, 0, 0.1, 0.9, 3)) + [1] NaN 1.0000000 1.1472349 8.7170336 1.6374074 NaN + [7] 148.4131591 0.4315068 1.3452192 0.1042040 NaN 20.0855369 +[13] 57.3253483 288.4414833 2.0695766 NaN 1.2214028 7.1668137 +[19] 78.3043417 175.8321258 +Warning message: +In rlnorm(20, c(-1, 0, 0.2, 2:5), c(-1, 0, 0.1, 0.9, 3)) : NAs produced + +##com.oracle.truffle.r.test.library.stats.TestRandGenerationFunctions.testFunctions2#Output.IgnoreWhitespace# +#set.seed(1); rlnorm(24, c(0.0653, 0.000123, 32e-80, 8833, 79e70), c(0.0653, 0.000123, 32e-80, 8833, 79e70, 0, -1)) + [1] 1.0246925 1.0001456 1.0000000 Inf Inf 1.0674792 NaN + [8] 0.9478333 Inf Inf Inf 0.0000000 1.0000000 NaN +[15] Inf 1.0675304 1.0001230 0.0000000 Inf Inf NaN +[22] 0.9971928 0.9999980 Inf +Warning message: +In rlnorm(24, c(0.0653, 0.000123, 3.2e-79, 8833, 7.9e+71), c(0.0653, : + NAs produced + +##com.oracle.truffle.r.test.library.stats.TestRandGenerationFunctions.testFunctions2#Output.IgnoreWhitespace# +#set.seed(1); rlnorm(30, c(NA, 0, NaN, 1/0, -1/0), c(NaN, NaN, NA, 0, 1/0, -1/0)) + [1] NaN NaN NaN Inf NaN NaN NaN NaN NaN 0 NaN NaN NaN NaN NaN NaN NaN NaN NaN +[20] NaN NaN 1 NaN NaN NaN NaN NaN NaN NaN NaN +Warning message: +In rlnorm(30, c(NA, 0, NaN, 1/0, -1/0), c(NaN, NaN, NA, 0, 1/0, : + NAs produced + ##com.oracle.truffle.r.test.library.stats.TestRandGenerationFunctions.testFunctions2#Output.IgnoreWhitespace# #set.seed(1); rlogis(10, 10, 10) [1] -0.1753073 4.7688401 12.9350241 32.9194576 -3.7581524 31.7945887 @@ -114534,6 +114566,17 @@ In pchisq(c(-1, 0, 0.2, 2), rep(c(-1, 0, 0.1, 0.9, 3), 4), lower.tail = TRUE, : #set.seed(1); pchisq(c(NA, 0, NaN, 1/0, -1/0), rep(c(1, 0, 0.1), 5)) [1] NA 0 NaN 1 0 NA 0 NaN 1 0 NA 0 NaN 1 0 +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions22#Output.IgnoreWhitespace# +#set.seed(1); pchisq(rep(c(1, 0, 0.1), 5), c(NA, 0, NaN, 1/0, -1/0)) + [1] NA 0 NaN NaN NaN NA 1 NaN NaN NaN NA 1 NaN 0 NaN +Warning messages: +1: In pchisq(rep(c(1, 0, 0.1), 5), c(NA, 0, NaN, 1/0, -1/0)) : + value out of range in 'lgamma' +2: In pchisq(rep(c(1, 0, 0.1), 5), c(NA, 0, NaN, 1/0, -1/0)) : + value out of range in 'lgamma' +3: In pchisq(rep(c(1, 0, 0.1), 5), c(NA, 0, NaN, 1/0, -1/0)) : + NaNs produced + ##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions22#Output.IgnoreWhitespace# #set.seed(1); pexp(0, 10, lower.tail=FALSE, log.p=FALSE) [1] 1 @@ -114622,6 +114665,10 @@ In pexp(c(-1, 0, 0.2, 2), rep(c(-1, 0, 0.1, 0.9, 3), 4), lower.tail = TRUE, : Warning message: In pexp(c(NA, 0, NaN, 1/0, -1/0), rep(c(1, 0, 0.1), 5)) : NaNs produced +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions22#Output.IgnoreWhitespace# +#set.seed(1); pexp(rep(c(1, 0, 0.1), 5), c(NA, 0, NaN, 1/0, -1/0)) + [1] NA 0 NaN 1 0 NA 0 NaN 1 -Inf NA 0 NaN 0 -Inf + ##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions22#Output.IgnoreWhitespace# #set.seed(1); qexp(0, 10, lower.tail=FALSE, log.p=FALSE) [1] Inf @@ -114711,6 +114758,12 @@ In qexp(c(-1, 0, 0.2, 2), rep(c(-1, 0, 0.1, 0.9, 3), 4), lower.tail = TRUE, : Warning message: In qexp(c(NA, 0, NaN, 1/0, -1/0), rep(c(1, 0, 0.1), 5)) : NaNs produced +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions22#Output.IgnoreWhitespace# +#set.seed(1); qexp(rep(c(1, 0, 0.1), 5), c(NA, 0, NaN, 1/0, -1/0)) + [1] NA 0 NaN NaN 0 NA Inf NaN 0 NaN NA Inf NaN 0 0 +Warning message: +In qexp(rep(c(1, 0, 0.1), 5), c(NA, 0, NaN, 1/0, -1/0)) : NaNs produced + ##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions22#Output.IgnoreWhitespace# #set.seed(1); qgeom(0, 10, lower.tail=FALSE, log.p=FALSE) [1] NaN @@ -114801,6 +114854,119 @@ In qgeom(c(-1, 0, 0.2, 2), rep(c(-1, 0, 0.1, 0.9, 3), 4), lower.tail = TRUE, : Warning message: In qgeom(c(NA, 0, NaN, 1/0, -1/0), rep(c(1, 0, 0.1), 5)) : NaNs produced +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions22#Output.IgnoreWhitespace# +#set.seed(1); qgeom(rep(c(1, 0, 0.1), 5), c(NA, 0, NaN, 1/0, -1/0)) + [1] NA NaN NaN NaN NaN NA NaN NaN NaN NaN NA NaN NaN NaN NaN +Warning message: +In qgeom(rep(c(1, 0, 0.1), 5), c(NA, 0, NaN, 1/0, -1/0)) : NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions31#Output.IgnoreWhitespace# +#set.seed(1); dbeta(0, c(0.0653, 0.000123, 32e-80, 8833, 79e70), c(0.0653, 0.000123, 32e-80, 8833, 79e70, 0, -1), log=FALSE) +[1] Inf Inf Inf 0 0 0 NaN +Warning message: +In dbeta(0, c(0.0653, 0.000123, 3.2e-79, 8833, 7.9e+71), c(0.0653, : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions31#Output.IgnoreWhitespace# +#set.seed(1); dbeta(0, c(NA, 0, NaN, 1/0, -1/0), c(NaN, NaN, NA, 0, 1/0, -1/0), log=FALSE) +[1] NA NaN NA 0 NaN NA +Warning message: +In dbeta(0, c(NA, 0, NaN, 1/0, -1/0), c(NaN, NaN, NA, 0, 1/0, -1/0), : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions31#Output.IgnoreWhitespace# +#set.seed(1); dbeta(10, 10, 10, log=TRUE) +[1] -Inf + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions31#Output.IgnoreWhitespace# +#set.seed(1); dbeta(3, 3, 3, log=FALSE) +[1] 0 + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions31#Output.IgnoreWhitespace# +#set.seed(1); dbeta(c(-1, 0, 1), c(-1, 0, 0.2, 2:5), rep(c(-1, 0, 0.1, 0.9, 3), 12), log=FALSE) + [1] NaN Inf Inf 0 0 NaN 0 NaN 0 0 NaN Inf 0 0 NaN NaN 0 Inf 0 +[20] 0 NaN NaN Inf Inf 0 NaN Inf 0 NaN 0 NaN 0 Inf 0 0 NaN 0 Inf +[39] Inf 0 NaN Inf NaN Inf 0 NaN 0 Inf 0 NaN NaN 0 0 Inf 0 NaN NaN +[58] 0 Inf 0 +Warning message: +In dbeta(c(-1, 0, 1), c(-1, 0, 0.2, 2:5), rep(c(-1, 0, 0.1, 0.9, : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions31#Output.IgnoreWhitespace# +#set.seed(1); dbeta(c(-1, 0, 1), c(-1, 0, 0.2, 2:5), rep(c(-1, 0, 0.1, 0.9, 3), 12), log=TRUE) + [1] NaN Inf Inf -Inf -Inf NaN -Inf NaN -Inf -Inf NaN Inf -Inf -Inf NaN +[16] NaN -Inf Inf -Inf -Inf NaN NaN Inf Inf -Inf NaN Inf -Inf NaN -Inf +[31] NaN -Inf Inf -Inf -Inf NaN -Inf Inf Inf -Inf NaN Inf NaN Inf -Inf +[46] NaN -Inf Inf -Inf NaN NaN -Inf -Inf Inf -Inf NaN NaN -Inf Inf -Inf +Warning message: +In dbeta(c(-1, 0, 1), c(-1, 0, 0.2, 2:5), rep(c(-1, 0, 0.1, 0.9, : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions31#Output.IgnoreWhitespace# +#set.seed(1); dbeta(c(NA, NaN, 1/0, -1/0), 2, 2, log=FALSE) +[1] NA NaN 0 0 + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions31#Output.IgnoreWhitespace# +#set.seed(1); dcauchy(0, c(0.0653, 0.000123, 32e-80, 8833, 79e70), c(0.0653, 0.000123, 32e-80, 8833, 79e70, 0, -1), log=FALSE) +[1] 2.437289e+00 1.293943e+03 4.973592e+77 1.801822e-05 2.014620e-73 +[6] NaN NaN +Warning message: +In dcauchy(0, c(0.0653, 0.000123, 3.2e-79, 8833, 7.9e+71), c(0.0653, : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions31#Output.IgnoreWhitespace# +#set.seed(1); dcauchy(0, c(NA, 0, NaN, 1/0, -1/0), c(NaN, NaN, NA, 0, 1/0, -1/0), log=FALSE) +[1] NA NaN NA NaN NaN NA +Warning message: +In dcauchy(0, c(NA, 0, NaN, 1/0, -1/0), c(NaN, NaN, NA, 0, 1/0, : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions31#Output.IgnoreWhitespace# +#set.seed(1); dcauchy(10, 10, 10, log=TRUE) +[1] -3.447315 + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions31#Output.IgnoreWhitespace# +#set.seed(1); dcauchy(3, 3, 3, log=FALSE) +[1] 0.1061033 + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions31#Output.IgnoreWhitespace# +#set.seed(1); dcauchy(c(-1, 0, 1), c(-1, 0, 0.2, 2:5), rep(c(-1, 0, 0.1, 0.9, 3), 12), log=FALSE) + [1] NaN NaN 0.0489707517 0.0292027419 0.0530516477 + [6] NaN NaN 0.0315158303 0.1582756340 0.0914683581 +[11] NaN NaN 0.0012727305 0.0110995311 0.0734561276 +[16] NaN NaN 0.0315158303 0.0170421712 0.0381971863 +[21] NaN NaN 3.1830988618 0.1975716535 0.0530516477 +[26] NaN NaN 0.0008839486 0.1582756340 0.0954929659 +[31] NaN NaN 0.0079379024 0.0110995311 0.0280861664 +[36] NaN NaN 0.6366197724 0.1582756340 0.0381971863 +[41] NaN NaN 3.1830988618 0.3536776513 0.0990590932 +[46] NaN NaN 0.0035328511 0.0077826378 0.0954929659 +[51] NaN NaN 0.0079379024 0.0595590224 0.0280861664 +[56] NaN NaN 0.0315158303 0.3370339971 0.0954929659 +Warning message: +In dcauchy(c(-1, 0, 1), c(-1, 0, 0.2, 2:5), rep(c(-1, 0, 0.1, 0.9, : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions31#Output.IgnoreWhitespace# +#set.seed(1); dcauchy(c(-1, 0, 1), c(-1, 0, 0.2, 2:5), rep(c(-1, 0, 0.1, 0.9, 3), 12), log=TRUE) + [1] NaN NaN -3.0165321 -3.5334927 -2.9364894 NaN + [7] NaN -3.4572653 -1.8434172 -2.3917622 NaN NaN +[13] -6.6665907 -4.5008524 -2.6110670 NaN NaN -3.4572653 +[19] -4.0720643 -3.2649934 NaN NaN 1.1578552 -1.6216540 +[25] -2.9364894 NaN NaN -7.0311117 -1.8434172 -2.3487027 +[31] NaN NaN -4.8361062 -4.5008524 -3.5724781 NaN +[37] NaN -0.4515827 -1.8434172 -3.2649934 NaN NaN +[43] 1.1578552 -1.0393694 -2.3120387 NaN NaN -5.6456501 +[49] -4.8558599 -2.3487027 NaN NaN -4.8361062 -2.8207875 +[55] -3.5724781 NaN NaN -3.4572653 -1.0875715 -2.3487027 +Warning message: +In dcauchy(c(-1, 0, 1), c(-1, 0, 0.2, 2:5), rep(c(-1, 0, 0.1, 0.9, : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions31#Output.IgnoreWhitespace# +#set.seed(1); dcauchy(c(NA, NaN, 1/0, -1/0), 2, 2, log=FALSE) +[1] NA NaN 0 0 + ##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions31#Output.IgnoreWhitespace# #set.seed(1); dgamma(0, c(0.0653, 0.000123, 32e-80, 8833, 79e70), c(0.0653, 0.000123, 32e-80, 8833, 79e70, 0, -1), log=FALSE) [1] Inf Inf Inf 0 0 Inf NaN @@ -114861,6 +115027,926 @@ In dgamma(c(-1, 0, 1), c(-1, 0, 0.2, 2:5), rep(c(-1, 0, 0.1, 0.9, : #set.seed(1); dgamma(c(NA, NaN, 1/0, -1/0), 2, 2, log=FALSE) [1] NA NaN 0 0 +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions31#Output.IgnoreWhitespace# +#set.seed(1); dlnorm(0, c(0.0653, 0.000123, 32e-80, 8833, 79e70), c(0.0653, 0.000123, 32e-80, 8833, 79e70, 0, -1), log=FALSE) +[1] 0 0 0 0 0 0 NaN +Warning message: +In dlnorm(0, c(0.0653, 0.000123, 3.2e-79, 8833, 7.9e+71), c(0.0653, : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions31#Output.IgnoreWhitespace# +#set.seed(1); dlnorm(0, c(NA, 0, NaN, 1/0, -1/0), c(NaN, NaN, NA, 0, 1/0, -1/0), log=FALSE) +[1] NA NaN NA 0 0 NA + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions31#Output.IgnoreWhitespace# +#set.seed(1); dlnorm(10, 10, 10, log=TRUE) +[1] -5.82036 + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions31#Output.IgnoreWhitespace# +#set.seed(1); dlnorm(3, 3, 3, log=FALSE) +[1] 0.03626103 + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions31#Output.IgnoreWhitespace# +#set.seed(1); dlnorm(c(-1, 0, 1), c(-1, 0, 0.2, 2:5), rep(c(-1, 0, 0.1, 0.9, 3), 12), log=FALSE) + [1] NaN 0.000000e+00 5.399097e-01 0.000000e+00 0.000000e+00 + [6] NaN 0.000000e+00 0.000000e+00 4.432692e-01 0.000000e+00 +[11] NaN 0.000000e+00 0.000000e+00 0.000000e+00 1.257944e-01 +[16] NaN 0.000000e+00 5.520948e-87 0.000000e+00 0.000000e+00 +[21] NaN 0.000000e+00 0.000000e+00 4.324583e-01 0.000000e+00 +[26] NaN 0.000000e+00 0.000000e+00 0.000000e+00 1.329808e-01 +[31] NaN 0.000000e+00 1.473646e-195 0.000000e+00 0.000000e+00 +[36] NaN 0.000000e+00 0.000000e+00 3.752628e-02 0.000000e+00 +[41] NaN 0.000000e+00 0.000000e+00 0.000000e+00 1.326856e-01 +[46] NaN 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 +[51] NaN 0.000000e+00 0.000000e+00 1.713643e-03 0.000000e+00 +[56] NaN 0.000000e+00 0.000000e+00 0.000000e+00 1.064827e-01 +Warning message: +In dlnorm(c(-1, 0, 1), c(-1, 0, 0.2, 2:5), rep(c(-1, 0, 0.1, 0.9, : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions31#Output.IgnoreWhitespace# +#set.seed(1); dlnorm(c(-1, 0, 1), c(-1, 0, 0.2, 2:5), rep(c(-1, 0, 0.1, 0.9, 3), 12), log=TRUE) + [1] NaN -Inf -0.6163534 -Inf -Inf + [6] NaN -Inf -Inf -0.8135780 -Inf +[11] NaN -Inf -Inf -Inf -2.0731064 +[16] NaN -Inf -198.6163534 -Inf -Inf +[21] NaN -Inf -Inf -0.8382694 -Inf +[26] NaN -Inf -Inf -Inf -2.0175508 +[31] NaN -Inf -448.6163534 -Inf -Inf +[36] NaN -Inf -Inf -3.2827138 -Inf +[41] NaN -Inf -Inf -Inf -2.0197730 +[46] NaN -Inf -798.6163534 -Inf -Inf +[51] NaN -Inf -Inf -6.3691336 -Inf +[56] NaN -Inf -Inf -Inf -2.2397730 +Warning message: +In dlnorm(c(-1, 0, 1), c(-1, 0, 0.2, 2:5), rep(c(-1, 0, 0.1, 0.9, : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions31#Output.IgnoreWhitespace# +#set.seed(1); dlnorm(c(NA, NaN, 1/0, -1/0), 2, 2, log=FALSE) +[1] NA NaN 0 0 + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); pbeta(0, 10, 10, lower.tail=FALSE, log.p=FALSE) +[1] 1 + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); pbeta(0, 10, 10, lower.tail=FALSE, log.p=TRUE) +[1] 0 + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); pbeta(0, 10, 10, lower.tail=TRUE, log.p=FALSE) +[1] 0 + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); pbeta(0, 10, 10, lower.tail=TRUE, log.p=TRUE) +[1] -Inf + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); pbeta(0, c(0.0653, 0.000123, 32e-80, 8833, 79e70, 0, -1), rep(c(0.0653, 0.000123, 32e-80, 8833, 79e70), 7), lower.tail=FALSE, log.p=FALSE) + [1] 1 1 1 1 1 1 NaN 1 1 1 1 1 1 NaN 1 1 1 1 1 +[20] 1 NaN 1 1 1 1 1 1 NaN 1 1 1 1 1 1 NaN +Warning message: +In pbeta(0, c(0.0653, 0.000123, 3.2e-79, 8833, 7.9e+71, 0, -1), : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); pbeta(0, c(0.0653, 0.000123, 32e-80, 8833, 79e70, 0, -1), rep(c(0.0653, 0.000123, 32e-80, 8833, 79e70), 7), lower.tail=FALSE, log.p=TRUE) + [1] 0 0 0 0 0 0 NaN 0 0 0 0 0 0 NaN 0 0 0 0 0 +[20] 0 NaN 0 0 0 0 0 0 NaN 0 0 0 0 0 0 NaN +Warning message: +In pbeta(0, c(0.0653, 0.000123, 3.2e-79, 8833, 7.9e+71, 0, -1), : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); pbeta(0, c(0.0653, 0.000123, 32e-80, 8833, 79e70, 0, -1), rep(c(0.0653, 0.000123, 32e-80, 8833, 79e70), 7), lower.tail=TRUE, log.p=FALSE) + [1] 0 0 0 0 0 0 NaN 0 0 0 0 0 0 NaN 0 0 0 0 0 +[20] 0 NaN 0 0 0 0 0 0 NaN 0 0 0 0 0 0 NaN +Warning message: +In pbeta(0, c(0.0653, 0.000123, 3.2e-79, 8833, 7.9e+71, 0, -1), : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); pbeta(0, c(0.0653, 0.000123, 32e-80, 8833, 79e70, 0, -1), rep(c(0.0653, 0.000123, 32e-80, 8833, 79e70), 7), lower.tail=TRUE, log.p=TRUE) + [1] -Inf -Inf -Inf -Inf -Inf -Inf NaN -Inf -Inf -Inf -Inf -Inf -Inf NaN -Inf +[16] -Inf -Inf -Inf -Inf -Inf NaN -Inf -Inf -Inf -Inf -Inf -Inf NaN -Inf -Inf +[31] -Inf -Inf -Inf -Inf NaN +Warning message: +In pbeta(0, c(0.0653, 0.000123, 3.2e-79, 8833, 7.9e+71, 0, -1), : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); pbeta(c(-1, 0, 0.2, 2), c(-1, 0, 0.1, 0.9, 3), rep(c(-1, 0, 1, 0.1, -0.1, 0.0001), 20), lower.tail=FALSE, log.p=FALSE) + [1] NaN 1.0000000 0.1486601 0.0000000 NaN NaN NaN + [8] 0.0000000 1.0000000 1.0000000 NaN 0.0000000 NaN 1.0000000 + [15] 0.9920000 NaN NaN 1.0000000 NaN 0.0000000 NaN + [22] 1.0000000 NaN 0.0000000 NaN NaN 0.0000000 0.0000000 + [29] NaN 1.0000000 NaN 0.0000000 1.0000000 1.0000000 NaN + [36] NaN NaN 1.0000000 0.7650762 0.0000000 NaN 1.0000000 + [43] NaN 0.0000000 1.0000000 NaN NaN 0.0000000 NaN + [50] 1.0000000 NaN 0.0000000 NaN 1.0000000 NaN NaN + [57] 1.0000000 1.0000000 NaN 0.0000000 NaN 1.0000000 0.1486601 + [64] 0.0000000 NaN NaN NaN 0.0000000 1.0000000 1.0000000 + [71] NaN 0.0000000 NaN 1.0000000 0.9920000 NaN NaN + [78] 1.0000000 NaN 0.0000000 NaN 1.0000000 NaN 0.0000000 + [85] NaN NaN 0.0000000 0.0000000 NaN 1.0000000 NaN + [92] 0.0000000 1.0000000 1.0000000 NaN NaN NaN 1.0000000 + [99] 0.7650762 0.0000000 NaN 1.0000000 NaN 0.0000000 1.0000000 +[106] NaN NaN 0.0000000 NaN 1.0000000 NaN 0.0000000 +[113] NaN 1.0000000 NaN NaN 1.0000000 1.0000000 NaN +[120] 0.0000000 +Warning message: +In pbeta(c(-1, 0, 0.2, 2), c(-1, 0, 0.1, 0.9, 3), rep(c(-1, 0, 1, : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); pbeta(c(-1, 0, 0.2, 2), c(-1, 0, 0.1, 0.9, 3), rep(c(-1, 0, 1, 0.1, -0.1, 0.0001), 20), lower.tail=FALSE, log.p=TRUE) + [1] NaN 0.000000000 -1.906092939 -Inf NaN + [6] NaN NaN -Inf 0.000000000 0.000000000 + [11] NaN -Inf NaN 0.000000000 -0.008032172 + [16] NaN NaN 0.000000000 NaN -Inf + [21] NaN 0.000000000 NaN -Inf NaN + [26] NaN -Inf -Inf NaN 0.000000000 + [31] NaN -Inf 0.000000000 0.000000000 NaN + [36] NaN NaN 0.000000000 -0.267779827 -Inf + [41] NaN 0.000000000 NaN -Inf 0.000000000 + [46] NaN NaN -Inf NaN 0.000000000 + [51] NaN -Inf NaN 0.000000000 NaN + [56] NaN 0.000000000 0.000000000 NaN -Inf + [61] NaN 0.000000000 -1.906092939 -Inf NaN + [66] NaN NaN -Inf 0.000000000 0.000000000 + [71] NaN -Inf NaN 0.000000000 -0.008032172 + [76] NaN NaN 0.000000000 NaN -Inf + [81] NaN 0.000000000 NaN -Inf NaN + [86] NaN -Inf -Inf NaN 0.000000000 + [91] NaN -Inf 0.000000000 0.000000000 NaN + [96] NaN NaN 0.000000000 -0.267779827 -Inf +[101] NaN 0.000000000 NaN -Inf 0.000000000 +[106] NaN NaN -Inf NaN 0.000000000 +[111] NaN -Inf NaN 0.000000000 NaN +[116] NaN 0.000000000 0.000000000 NaN -Inf +Warning message: +In pbeta(c(-1, 0, 0.2, 2), c(-1, 0, 0.1, 0.9, 3), rep(c(-1, 0, 1, : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); pbeta(c(-1, 0, 0.2, 2), c(-1, 0, 0.1, 0.9, 3), rep(c(-1, 0, 1, 0.1, -0.1, 0.0001), 20), lower.tail=TRUE, log.p=FALSE) + [1] NaN 0.0000000 0.8513399 1.0000000 NaN NaN NaN + [8] 1.0000000 0.0000000 0.0000000 NaN 1.0000000 NaN 0.0000000 + [15] 0.0080000 NaN NaN 0.0000000 NaN 1.0000000 NaN + [22] 0.0000000 NaN 1.0000000 NaN NaN 1.0000000 1.0000000 + [29] NaN 0.0000000 NaN 1.0000000 0.0000000 0.0000000 NaN + [36] NaN NaN 0.0000000 0.2349238 1.0000000 NaN 0.0000000 + [43] NaN 1.0000000 0.0000000 NaN NaN 1.0000000 NaN + [50] 0.0000000 NaN 1.0000000 NaN 0.0000000 NaN NaN + [57] 0.0000000 0.0000000 NaN 1.0000000 NaN 0.0000000 0.8513399 + [64] 1.0000000 NaN NaN NaN 1.0000000 0.0000000 0.0000000 + [71] NaN 1.0000000 NaN 0.0000000 0.0080000 NaN NaN + [78] 0.0000000 NaN 1.0000000 NaN 0.0000000 NaN 1.0000000 + [85] NaN NaN 1.0000000 1.0000000 NaN 0.0000000 NaN + [92] 1.0000000 0.0000000 0.0000000 NaN NaN NaN 0.0000000 + [99] 0.2349238 1.0000000 NaN 0.0000000 NaN 1.0000000 0.0000000 +[106] NaN NaN 1.0000000 NaN 0.0000000 NaN 1.0000000 +[113] NaN 0.0000000 NaN NaN 0.0000000 0.0000000 NaN +[120] 1.0000000 +Warning message: +In pbeta(c(-1, 0, 0.2, 2), c(-1, 0, 0.1, 0.9, 3), rep(c(-1, 0, 1, : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); pbeta(c(-1, 0, 0.2, 2), c(-1, 0, 0.1, 0.9, 3), rep(c(-1, 0, 1, 0.1, -0.1, 0.0001), 20), lower.tail=TRUE, log.p=TRUE) + [1] NaN -Inf -0.1609438 0.0000000 NaN NaN + [7] NaN 0.0000000 -Inf -Inf NaN 0.0000000 + [13] NaN -Inf -4.8283137 NaN NaN -Inf + [19] NaN 0.0000000 NaN -Inf NaN 0.0000000 + [25] NaN NaN 0.0000000 0.0000000 NaN -Inf + [31] NaN 0.0000000 -Inf -Inf NaN NaN + [37] NaN -Inf -1.4484941 0.0000000 NaN -Inf + [43] NaN 0.0000000 -Inf NaN NaN 0.0000000 + [49] NaN -Inf NaN 0.0000000 NaN -Inf + [55] NaN NaN -Inf -Inf NaN 0.0000000 + [61] NaN -Inf -0.1609438 0.0000000 NaN NaN + [67] NaN 0.0000000 -Inf -Inf NaN 0.0000000 + [73] NaN -Inf -4.8283137 NaN NaN -Inf + [79] NaN 0.0000000 NaN -Inf NaN 0.0000000 + [85] NaN NaN 0.0000000 0.0000000 NaN -Inf + [91] NaN 0.0000000 -Inf -Inf NaN NaN + [97] NaN -Inf -1.4484941 0.0000000 NaN -Inf +[103] NaN 0.0000000 -Inf NaN NaN 0.0000000 +[109] NaN -Inf NaN 0.0000000 NaN -Inf +[115] NaN NaN -Inf -Inf NaN 0.0000000 +Warning message: +In pbeta(c(-1, 0, 0.2, 2), c(-1, 0, 0.1, 0.9, 3), rep(c(-1, 0, 1, : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWarningContext# +#set.seed(1); pbeta(c(NA, 0, NaN, 1/0, -1/0), rep(c(1, 0, 0.1), 5), rep(c(1, 0, 0.1), 5)) + [1] NA 0 NaN 1 0 NA 0 NaN 1 0 NA 0 NaN 1 0 + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWarningContext# +#set.seed(1); pbeta(rep(c(1, 0, 0.1), 5), c(NA, 0, NaN, 1/0, -1/0), rep(c(1, 0, 0.1), 5)) + [1] NA 0 NaN 1 NaN NA 1 NaN 0 NaN NA 1 NaN 0 NaN +Warning message: +In pbeta(rep(c(1, 0, 0.1), 5), c(NA, 0, NaN, 1/0, -1/0), rep(c(1, : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); pbeta(rep(c(1, 0, 0.1), 5), rep(c(1, 0, 0.1), 5), c(NA, 0, NaN, 1/0, -1/0)) + [1] NA 0 NaN 1 NaN NA 1 NaN 1 NaN NA 0 NaN 0 NaN +Warning message: +In pbeta(rep(c(1, 0, 0.1), 5), rep(c(1, 0, 0.1), 5), c(NA, 0, NaN, : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); pcauchy(0, 10, 10, lower.tail=FALSE, log.p=FALSE) +[1] 0.75 + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); pcauchy(0, 10, 10, lower.tail=FALSE, log.p=TRUE) +[1] -0.2876821 + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); pcauchy(0, 10, 10, lower.tail=TRUE, log.p=FALSE) +[1] 0.25 + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); pcauchy(0, 10, 10, lower.tail=TRUE, log.p=TRUE) +[1] -1.386294 + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); pcauchy(0, c(0.0653, 0.000123, 32e-80, 8833, 79e70, 0, -1), rep(c(0.0653, 0.000123, 32e-80, 8833, 79e70), 7), lower.tail=FALSE, log.p=FALSE) + [1] 7.500000e-01 7.500000e-01 7.500000e-01 7.500000e-01 7.500000e-01 + [6] 5.000000e-01 3.915212e-05 1.000000e+00 5.000000e-01 5.000000e-01 +[11] 9.999976e-01 1.000000e+00 5.000000e-01 4.999640e-01 5.000000e-01 +[16] 5.005996e-01 5.000000e-01 1.000000e+00 1.000000e+00 5.000000e-01 +[21] 2.075617e-02 9.994004e-01 1.000000e+00 5.000000e-01 5.000000e-01 +[26] 1.000000e+00 5.000000e-01 1.018592e-79 5.000024e-01 5.000000e-01 +[31] 5.000000e-01 1.000000e+00 1.000000e+00 5.000000e-01 5.000000e-01 + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); pcauchy(0, c(0.0653, 0.000123, 32e-80, 8833, 79e70, 0, -1), rep(c(0.0653, 0.000123, 32e-80, 8833, 79e70), 7), lower.tail=FALSE, log.p=TRUE) + [1] -2.876821e-01 -2.876821e-01 -2.876821e-01 -2.876821e-01 -2.876821e-01 + [6] -6.931472e-01 -1.014806e+01 -1.559865e-78 -6.931472e-01 -6.931472e-01 +[11] -2.353182e-06 -4.955964e-77 -6.931472e-01 -6.932193e-01 -6.931472e-01 +[16] -6.919488e-01 -6.931472e-01 -1.153166e-83 -3.559027e-69 -6.931472e-01 +[21] -3.874912e+00 -5.997521e-04 -8.281233e-76 -6.931472e-01 -6.931472e-01 +[26] -2.631093e-74 -6.931472e-01 -1.818858e+02 -6.931425e-01 -6.931472e-01 +[31] -6.931472e-01 -4.432482e-09 -1.289357e-151 -6.931472e-01 -6.931472e-01 + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); pcauchy(0, c(0.0653, 0.000123, 32e-80, 8833, 79e70, 0, -1), rep(c(0.0653, 0.000123, 32e-80, 8833, 79e70), 7), lower.tail=TRUE, log.p=FALSE) + [1] 2.500000e-01 2.500000e-01 2.500000e-01 2.500000e-01 2.500000e-01 + [6] 5.000000e-01 9.999608e-01 1.559865e-78 5.000000e-01 5.000000e-01 +[11] 2.353180e-06 4.955964e-77 5.000000e-01 5.000360e-01 5.000000e-01 +[16] 4.994004e-01 5.000000e-01 1.153166e-83 3.559027e-69 5.000000e-01 +[21] 9.792438e-01 5.995723e-04 8.281233e-76 5.000000e-01 5.000000e-01 +[26] 2.631093e-74 5.000000e-01 1.000000e+00 4.999976e-01 5.000000e-01 +[31] 5.000000e-01 4.432482e-09 1.289357e-151 5.000000e-01 5.000000e-01 + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); pcauchy(0, c(0.0653, 0.000123, 32e-80, 8833, 79e70, 0, -1), rep(c(0.0653, 0.000123, 32e-80, 8833, 79e70), 7), lower.tail=TRUE, log.p=TRUE) + [1] -1.386294e+00 -1.386294e+00 -1.386294e+00 -1.386294e+00 -1.386294e+00 + [6] -6.931472e-01 -3.915288e-05 -1.791570e+02 -6.931472e-01 -6.931472e-01 +[11] -1.295974e+01 -1.756985e+02 -6.931472e-01 -6.930751e-01 -6.931472e-01 +[16] -6.943470e-01 -6.931472e-01 -1.909721e+02 -1.576089e+02 -6.931472e-01 +[21] -2.097460e-02 -7.419294e+00 -1.728825e+02 -6.931472e-01 -6.931472e-01 +[26] -1.694239e+02 -6.931472e-01 -1.018592e-79 -6.931519e-01 -6.931472e-01 +[31] -6.931472e-01 -1.923431e+01 -3.474362e+02 -6.931472e-01 -6.931472e-01 + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); pcauchy(c(-1, 0, 0.2, 2), c(-1, 0, 0.1, 0.9, 3), rep(c(-1, 0, 1, 0.1, -0.1, 0.0001), 20), lower.tail=FALSE, log.p=FALSE) + [1] NaN NaN 4.682745e-01 2.885794e-02 NaN + [6] 3.183099e-05 NaN NaN 8.457859e-01 9.893936e-01 + [11] NaN 1.591549e-05 NaN NaN 8.908121e-01 + [16] 1.060640e-02 NaN 9.996817e-01 NaN NaN + [21] 5.000000e-01 5.000000e-01 NaN 2.893726e-05 NaN + [26] NaN 4.371670e-01 1.673771e-02 NaN 9.999894e-01 + [31] NaN NaN 7.651462e-01 9.647767e-01 NaN + [36] 1.061033e-05 NaN NaN 6.944001e-01 9.682745e-01 + [41] NaN 5.000000e-01 NaN NaN 9.220209e-01 + [46] 3.172552e-02 NaN 1.675315e-05 NaN NaN + [51] 2.211421e-01 1.590225e-02 NaN 9.999646e-01 NaN + [56] NaN 7.500000e-01 7.500000e-01 NaN 9.999682e-01 + [61] NaN NaN 4.682745e-01 2.885794e-02 NaN + [66] 3.183099e-05 NaN NaN 8.457859e-01 9.893936e-01 + [71] NaN 1.591549e-05 NaN NaN 8.908121e-01 + [76] 1.060640e-02 NaN 9.996817e-01 NaN NaN + [81] 5.000000e-01 5.000000e-01 NaN 2.893726e-05 NaN + [86] NaN 4.371670e-01 1.673771e-02 NaN 9.999894e-01 + [91] NaN NaN 7.651462e-01 9.647767e-01 NaN + [96] 1.061033e-05 NaN NaN 6.944001e-01 9.682745e-01 +[101] NaN 5.000000e-01 NaN NaN 9.220209e-01 +[106] 3.172552e-02 NaN 1.675315e-05 NaN NaN +[111] 2.211421e-01 1.590225e-02 NaN 9.999646e-01 NaN +[116] NaN 7.500000e-01 7.500000e-01 NaN 9.999682e-01 +Warning message: +In pcauchy(c(-1, 0, 0.2, 2), c(-1, 0, 0.1, 0.9, 3), rep(c(-1, 0, : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); pcauchy(c(-1, 0, 0.2, 2), c(-1, 0, 0.1, 0.9, 3), rep(c(-1, 0, 1, 0.1, -0.1, 0.0001), 20), lower.tail=FALSE, log.p=TRUE) + [1] NaN NaN -7.587007e-01 -3.545370e+00 NaN + [6] -1.035507e+01 NaN NaN -1.674890e-01 -1.066305e-02 + [11] NaN -1.104822e+01 NaN NaN -1.156218e-01 + [16] -4.546297e+00 NaN -3.183605e-04 NaN NaN + [21] -6.931472e-01 -6.931472e-01 NaN -1.045038e+01 NaN + [26] NaN -8.274399e-01 -4.090091e+00 NaN -1.061039e-05 + [31] NaN NaN -2.676884e-01 -3.585859e-02 NaN + [36] -1.145368e+01 NaN NaN -3.647070e-01 -3.223968e-02 + [41] NaN -6.931472e-01 NaN NaN -8.118742e-02 + [46] -3.450634e+00 NaN -1.099692e+01 NaN NaN + [51] -1.508950e+00 -4.141295e+00 NaN -3.536839e-05 NaN + [56] NaN -2.876821e-01 -2.876821e-01 NaN -3.183150e-05 + [61] NaN NaN -7.587007e-01 -3.545370e+00 NaN + [66] -1.035507e+01 NaN NaN -1.674890e-01 -1.066305e-02 + [71] NaN -1.104822e+01 NaN NaN -1.156218e-01 + [76] -4.546297e+00 NaN -3.183605e-04 NaN NaN + [81] -6.931472e-01 -6.931472e-01 NaN -1.045038e+01 NaN + [86] NaN -8.274399e-01 -4.090091e+00 NaN -1.061039e-05 + [91] NaN NaN -2.676884e-01 -3.585859e-02 NaN + [96] -1.145368e+01 NaN NaN -3.647070e-01 -3.223968e-02 +[101] NaN -6.931472e-01 NaN NaN -8.118742e-02 +[106] -3.450634e+00 NaN -1.099692e+01 NaN NaN +[111] -1.508950e+00 -4.141295e+00 NaN -3.536839e-05 NaN +[116] NaN -2.876821e-01 -2.876821e-01 NaN -3.183150e-05 +Warning message: +In pcauchy(c(-1, 0, 0.2, 2), c(-1, 0, 0.1, 0.9, 3), rep(c(-1, 0, : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); pcauchy(c(-1, 0, 0.2, 2), c(-1, 0, 0.1, 0.9, 3), rep(c(-1, 0, 1, 0.1, -0.1, 0.0001), 20), lower.tail=TRUE, log.p=FALSE) + [1] NaN NaN 5.317255e-01 9.711421e-01 NaN + [6] 9.999682e-01 NaN NaN 1.542141e-01 1.060640e-02 + [11] NaN 9.999841e-01 NaN NaN 1.091879e-01 + [16] 9.893936e-01 NaN 3.183098e-04 NaN NaN + [21] 5.000000e-01 5.000000e-01 NaN 9.999711e-01 NaN + [26] NaN 5.628330e-01 9.832623e-01 NaN 1.061033e-05 + [31] NaN NaN 2.348538e-01 3.522329e-02 NaN + [36] 9.999894e-01 NaN NaN 3.055999e-01 3.172552e-02 + [41] NaN 5.000000e-01 NaN NaN 7.797913e-02 + [46] 9.682745e-01 NaN 9.999832e-01 NaN NaN + [51] 7.788579e-01 9.840977e-01 NaN 3.536776e-05 NaN + [56] NaN 2.500000e-01 2.500000e-01 NaN 3.183099e-05 + [61] NaN NaN 5.317255e-01 9.711421e-01 NaN + [66] 9.999682e-01 NaN NaN 1.542141e-01 1.060640e-02 + [71] NaN 9.999841e-01 NaN NaN 1.091879e-01 + [76] 9.893936e-01 NaN 3.183098e-04 NaN NaN + [81] 5.000000e-01 5.000000e-01 NaN 9.999711e-01 NaN + [86] NaN 5.628330e-01 9.832623e-01 NaN 1.061033e-05 + [91] NaN NaN 2.348538e-01 3.522329e-02 NaN + [96] 9.999894e-01 NaN NaN 3.055999e-01 3.172552e-02 +[101] NaN 5.000000e-01 NaN NaN 7.797913e-02 +[106] 9.682745e-01 NaN 9.999832e-01 NaN NaN +[111] 7.788579e-01 9.840977e-01 NaN 3.536776e-05 NaN +[116] NaN 2.500000e-01 2.500000e-01 NaN 3.183099e-05 +Warning message: +In pcauchy(c(-1, 0, 0.2, 2), c(-1, 0, 0.1, 0.9, 3), rep(c(-1, 0, : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); pcauchy(c(-1, 0, 0.2, 2), c(-1, 0, 0.1, 0.9, 3), rep(c(-1, 0, 1, 0.1, -0.1, 0.0001), 20), lower.tail=TRUE, log.p=TRUE) + [1] NaN NaN -6.316279e-01 -2.928252e-02 NaN + [6] -3.183150e-05 NaN NaN -1.869413e+00 -4.546297e+00 + [11] NaN -1.591562e-05 NaN NaN -2.214685e+00 + [16] -1.066305e-02 NaN -8.052485e+00 NaN NaN + [21] -6.931472e-01 -6.931472e-01 NaN -2.893768e-05 NaN + [26] NaN -5.747724e-01 -1.687937e-02 NaN -1.145368e+01 + [31] NaN NaN -1.448792e+00 -3.346048e+00 NaN + [36] -1.061039e-05 NaN NaN -1.185479e+00 -3.450634e+00 + [41] NaN -6.931472e-01 NaN NaN -2.551314e+00 + [46] -3.223968e-02 NaN -1.675329e-05 NaN NaN + [51] -2.499266e-01 -1.603005e-02 NaN -1.024971e+01 NaN + [56] NaN -1.386294e+00 -1.386294e+00 NaN -1.035507e+01 + [61] NaN NaN -6.316279e-01 -2.928252e-02 NaN + [66] -3.183150e-05 NaN NaN -1.869413e+00 -4.546297e+00 + [71] NaN -1.591562e-05 NaN NaN -2.214685e+00 + [76] -1.066305e-02 NaN -8.052485e+00 NaN NaN + [81] -6.931472e-01 -6.931472e-01 NaN -2.893768e-05 NaN + [86] NaN -5.747724e-01 -1.687937e-02 NaN -1.145368e+01 + [91] NaN NaN -1.448792e+00 -3.346048e+00 NaN + [96] -1.061039e-05 NaN NaN -1.185479e+00 -3.450634e+00 +[101] NaN -6.931472e-01 NaN NaN -2.551314e+00 +[106] -3.223968e-02 NaN -1.675329e-05 NaN NaN +[111] -2.499266e-01 -1.603005e-02 NaN -1.024971e+01 NaN +[116] NaN -1.386294e+00 -1.386294e+00 NaN -1.035507e+01 +Warning message: +In pcauchy(c(-1, 0, 0.2, 2), c(-1, 0, 0.1, 0.9, 3), rep(c(-1, 0, : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWarningContext# +#set.seed(1); pcauchy(c(NA, 0, NaN, 1/0, -1/0), rep(c(1, 0, 0.1), 5), rep(c(1, 0, 0.1), 5)) + [1] NA NaN NaN 1.00 NaN NA 0.25 NaN 1.00 0.00 NA 0.25 NaN NaN 0.00 +Warning message: +In pcauchy(c(NA, 0, NaN, 1/0, -1/0), rep(c(1, 0, 0.1), 5), rep(c(1, : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWarningContext# +#set.seed(1); pcauchy(rep(c(1, 0, 0.1), 5), c(NA, 0, NaN, 1/0, -1/0), rep(c(1, 0, 0.1), 5)) + [1] NA NaN NaN 0.00 NaN NA 0.75 NaN 0.00 1.00 NA 0.75 NaN NaN 1.00 +Warning message: +In pcauchy(rep(c(1, 0, 0.1), 5), c(NA, 0, NaN, 1/0, -1/0), rep(c(1, : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); pcauchy(rep(c(1, 0, 0.1), 5), rep(c(1, 0, 0.1), 5), c(NA, 0, NaN, 1/0, -1/0)) + [1] NA NaN NaN 0.5 NaN NA NaN NaN 0.5 NaN NA NaN NaN 0.5 NaN +Warning message: +In pcauchy(rep(c(1, 0, 0.1), 5), rep(c(1, 0, 0.1), 5), c(NA, 0, : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); plnorm(0, 10, 10, lower.tail=FALSE, log.p=FALSE) +[1] 1 + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); plnorm(0, 10, 10, lower.tail=FALSE, log.p=TRUE) +[1] 0 + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); plnorm(0, 10, 10, lower.tail=TRUE, log.p=FALSE) +[1] 0 + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); plnorm(0, 10, 10, lower.tail=TRUE, log.p=TRUE) +[1] -Inf + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); plnorm(0, c(0.0653, 0.000123, 32e-80, 8833, 79e70, 0, -1), rep(c(0.0653, 0.000123, 32e-80, 8833, 79e70), 7), lower.tail=FALSE, log.p=FALSE) + [1] 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); plnorm(0, c(0.0653, 0.000123, 32e-80, 8833, 79e70, 0, -1), rep(c(0.0653, 0.000123, 32e-80, 8833, 79e70), 7), lower.tail=FALSE, log.p=TRUE) + [1] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); plnorm(0, c(0.0653, 0.000123, 32e-80, 8833, 79e70, 0, -1), rep(c(0.0653, 0.000123, 32e-80, 8833, 79e70), 7), lower.tail=TRUE, log.p=FALSE) + [1] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); plnorm(0, c(0.0653, 0.000123, 32e-80, 8833, 79e70, 0, -1), rep(c(0.0653, 0.000123, 32e-80, 8833, 79e70), 7), lower.tail=TRUE, log.p=TRUE) + [1] -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf +[16] -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf +[31] -Inf -Inf -Inf -Inf -Inf + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); plnorm(c(-1, 0, 0.2, 2), c(-1, 0, 0.1, 0.9, 3), rep(c(-1, 0, 1, 0.1, -0.1, 0.0001), 20), lower.tail=FALSE, log.p=FALSE) + [1] NaN 1.000000e+00 9.563151e-01 9.807048e-01 NaN + [6] 1.000000e+00 NaN 0.000000e+00 1.000000e+00 1.000000e+00 + [11] NaN 0.000000e+00 NaN 1.000000e+00 9.999980e-01 + [16] 1.318515e-64 NaN 1.000000e+00 NaN 1.000000e+00 + [21] 1.000000e+00 1.000000e+00 NaN 1.000000e+00 NaN + [26] 1.000000e+00 9.462397e-01 1.501156e-09 NaN 1.000000e+00 + [31] NaN 0.000000e+00 1.000000e+00 1.000000e+00 NaN + [36] 0.000000e+00 NaN 1.000000e+00 9.939538e-01 1.000000e+00 + [41] NaN 1.000000e+00 NaN 1.000000e+00 1.000000e+00 + [46] 1.000000e+00 NaN 0.000000e+00 NaN 1.000000e+00 + [51] 7.288829e-01 2.082422e-12 NaN 1.000000e+00 NaN + [56] 0.000000e+00 1.000000e+00 1.000000e+00 NaN 1.000000e+00 + [61] NaN 1.000000e+00 9.563151e-01 9.807048e-01 NaN + [66] 1.000000e+00 NaN 0.000000e+00 1.000000e+00 1.000000e+00 + [71] NaN 0.000000e+00 NaN 1.000000e+00 9.999980e-01 + [76] 1.318515e-64 NaN 1.000000e+00 NaN 1.000000e+00 + [81] 1.000000e+00 1.000000e+00 NaN 1.000000e+00 NaN + [86] 1.000000e+00 9.462397e-01 1.501156e-09 NaN 1.000000e+00 + [91] NaN 0.000000e+00 1.000000e+00 1.000000e+00 NaN + [96] 0.000000e+00 NaN 1.000000e+00 9.939538e-01 1.000000e+00 +[101] NaN 1.000000e+00 NaN 1.000000e+00 1.000000e+00 +[106] 1.000000e+00 NaN 0.000000e+00 NaN 1.000000e+00 +[111] 7.288829e-01 2.082422e-12 NaN 1.000000e+00 NaN +[116] 0.000000e+00 1.000000e+00 1.000000e+00 NaN 1.000000e+00 +Warning message: +In plnorm(c(-1, 0, 0.2, 2), c(-1, 0, 0.1, 0.9, 3), rep(c(-1, 0, : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); plnorm(c(-1, 0, 0.2, 2), c(-1, 0, 0.1, 0.9, 3), rep(c(-1, 0, 1, 0.1, -0.1, 0.0001), 20), lower.tail=FALSE, log.p=TRUE) + [1] NaN 0.000000e+00 -4.466785e-02 -1.948377e-02 NaN + [6] 0.000000e+00 NaN -Inf 0.000000e+00 0.000000e+00 + [11] NaN -2.402266e+07 NaN 0.000000e+00 -2.018797e-06 + [16] -1.470889e+02 NaN 0.000000e+00 NaN 0.000000e+00 + [21] 0.000000e+00 0.000000e+00 NaN 0.000000e+00 NaN + [26] 0.000000e+00 -5.525937e-02 -2.031703e+01 NaN 0.000000e+00 + [31] NaN -Inf 0.000000e+00 0.000000e+00 NaN + [36] -1.433374e+08 NaN 0.000000e+00 -6.064526e-03 -4.793526e-118 + [41] NaN 0.000000e+00 NaN 0.000000e+00 0.000000e+00 + [46] 0.000000e+00 NaN -1.759119e+07 NaN 0.000000e+00 + [51] -3.162422e-01 -2.689749e+01 NaN 0.000000e+00 NaN + [56] -Inf 0.000000e+00 0.000000e+00 NaN 0.000000e+00 + [61] NaN 0.000000e+00 -4.466785e-02 -1.948377e-02 NaN + [66] 0.000000e+00 NaN -Inf 0.000000e+00 0.000000e+00 + [71] NaN -2.402266e+07 NaN 0.000000e+00 -2.018797e-06 + [76] -1.470889e+02 NaN 0.000000e+00 NaN 0.000000e+00 + [81] 0.000000e+00 0.000000e+00 NaN 0.000000e+00 NaN + [86] 0.000000e+00 -5.525937e-02 -2.031703e+01 NaN 0.000000e+00 + [91] NaN -Inf 0.000000e+00 0.000000e+00 NaN + [96] -1.433374e+08 NaN 0.000000e+00 -6.064526e-03 -4.793526e-118 +[101] NaN 0.000000e+00 NaN 0.000000e+00 0.000000e+00 +[106] 0.000000e+00 NaN -1.759119e+07 NaN 0.000000e+00 +[111] -3.162422e-01 -2.689749e+01 NaN 0.000000e+00 NaN +[116] -Inf 0.000000e+00 0.000000e+00 NaN 0.000000e+00 +Warning message: +In plnorm(c(-1, 0, 0.2, 2), c(-1, 0, 0.1, 0.9, 3), rep(c(-1, 0, : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); plnorm(c(-1, 0, 0.2, 2), c(-1, 0, 0.1, 0.9, 3), rep(c(-1, 0, 1, 0.1, -0.1, 0.0001), 20), lower.tail=TRUE, log.p=FALSE) + [1] NaN 0.000000e+00 4.368493e-02 1.929519e-02 NaN + [6] 0.000000e+00 NaN 1.000000e+00 0.000000e+00 0.000000e+00 + [11] NaN 1.000000e+00 NaN 0.000000e+00 2.018795e-06 + [16] 1.000000e+00 NaN 0.000000e+00 NaN 0.000000e+00 + [21] 0.000000e+00 0.000000e+00 NaN 0.000000e+00 NaN + [26] 0.000000e+00 5.376031e-02 1.000000e+00 NaN 0.000000e+00 + [31] NaN 1.000000e+00 0.000000e+00 0.000000e+00 NaN + [36] 1.000000e+00 NaN 0.000000e+00 6.046174e-03 4.793526e-118 + [41] NaN 0.000000e+00 NaN 0.000000e+00 0.000000e+00 + [46] 0.000000e+00 NaN 1.000000e+00 NaN 0.000000e+00 + [51] 2.711171e-01 1.000000e+00 NaN 0.000000e+00 NaN + [56] 1.000000e+00 0.000000e+00 0.000000e+00 NaN 0.000000e+00 + [61] NaN 0.000000e+00 4.368493e-02 1.929519e-02 NaN + [66] 0.000000e+00 NaN 1.000000e+00 0.000000e+00 0.000000e+00 + [71] NaN 1.000000e+00 NaN 0.000000e+00 2.018795e-06 + [76] 1.000000e+00 NaN 0.000000e+00 NaN 0.000000e+00 + [81] 0.000000e+00 0.000000e+00 NaN 0.000000e+00 NaN + [86] 0.000000e+00 5.376031e-02 1.000000e+00 NaN 0.000000e+00 + [91] NaN 1.000000e+00 0.000000e+00 0.000000e+00 NaN + [96] 1.000000e+00 NaN 0.000000e+00 6.046174e-03 4.793526e-118 +[101] NaN 0.000000e+00 NaN 0.000000e+00 0.000000e+00 +[106] 0.000000e+00 NaN 1.000000e+00 NaN 0.000000e+00 +[111] 2.711171e-01 1.000000e+00 NaN 0.000000e+00 NaN +[116] 1.000000e+00 0.000000e+00 0.000000e+00 NaN 0.000000e+00 +Warning message: +In plnorm(c(-1, 0, 0.2, 2), c(-1, 0, 0.1, 0.9, 3), rep(c(-1, 0, : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); plnorm(c(-1, 0, 0.2, 2), c(-1, 0, 0.1, 0.9, 3), rep(c(-1, 0, 1, 0.1, -0.1, 0.0001), 20), lower.tail=TRUE, log.p=TRUE) + [1] NaN -Inf -3.130752e+00 -3.947899e+00 NaN + [6] -Inf NaN 0.000000e+00 -Inf -Inf + [11] NaN 0.000000e+00 NaN -Inf -1.311301e+01 + [16] -1.318515e-64 NaN -Inf NaN -Inf + [21] -Inf -Inf NaN -2.139413e+06 NaN + [26] -Inf -2.923220e+00 -1.501156e-09 NaN -Inf + [31] NaN 0.000000e+00 -Inf -Inf NaN + [36] 0.000000e+00 NaN -Inf -5.108330e+00 -2.701378e+02 + [41] NaN -Inf NaN -Inf -Inf + [46] -Inf NaN 0.000000e+00 NaN -Inf + [51] -1.305204e+00 -2.082422e-12 NaN -Inf NaN + [56] 0.000000e+00 -Inf -Inf NaN -2.660785e+08 + [61] NaN -Inf -3.130752e+00 -3.947899e+00 NaN + [66] -Inf NaN 0.000000e+00 -Inf -Inf + [71] NaN 0.000000e+00 NaN -Inf -1.311301e+01 + [76] -1.318515e-64 NaN -Inf NaN -Inf + [81] -Inf -Inf NaN -2.139413e+06 NaN + [86] -Inf -2.923220e+00 -1.501156e-09 NaN -Inf + [91] NaN 0.000000e+00 -Inf -Inf NaN + [96] 0.000000e+00 NaN -Inf -5.108330e+00 -2.701378e+02 +[101] NaN -Inf NaN -Inf -Inf +[106] -Inf NaN 0.000000e+00 NaN -Inf +[111] -1.305204e+00 -2.082422e-12 NaN -Inf NaN +[116] 0.000000e+00 -Inf -Inf NaN -2.660785e+08 +Warning message: +In plnorm(c(-1, 0, 0.2, 2), c(-1, 0, 0.1, 0.9, 3), rep(c(-1, 0, : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWarningContext# +#set.seed(1); plnorm(c(NA, 0, NaN, 1/0, -1/0), rep(c(1, 0, 0.1), 5), rep(c(1, 0, 0.1), 5)) + [1] NA 0 NaN 1 0 NA 0 NaN 1 0 NA 0 NaN 1 0 + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWarningContext# +#set.seed(1); plnorm(rep(c(1, 0, 0.1), 5), c(NA, 0, NaN, 1/0, -1/0), rep(c(1, 0, 0.1), 5)) + [1] NA 0.000000e+00 NaN 0.000000e+00 0.000000e+00 + [6] NA 5.000000e-01 NaN 0.000000e+00 1.000000e+00 +[11] NA 1.284176e-117 NaN 0.000000e+00 1.000000e+00 + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); plnorm(rep(c(1, 0, 0.1), 5), rep(c(1, 0, 0.1), 5), c(NA, 0, NaN, 1/0, -1/0)) + [1] NA 0.0 NaN 0.5 NaN NA 0.0 NaN 0.5 NaN NA 0.0 NaN 0.0 NaN +Warning message: +In plnorm(rep(c(1, 0, 0.1), 5), rep(c(1, 0, 0.1), 5), c(NA, 0, NaN, : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); qcauchy(0, 10, 10, lower.tail=FALSE, log.p=FALSE) +[1] Inf + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); qcauchy(0, 10, 10, lower.tail=FALSE, log.p=TRUE) +[1] -Inf + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); qcauchy(0, 10, 10, lower.tail=TRUE, log.p=FALSE) +[1] -Inf + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); qcauchy(0, 10, 10, lower.tail=TRUE, log.p=TRUE) +[1] Inf + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); qcauchy(0, c(0.0653, 0.000123, 32e-80, 8833, 79e70, 0, -1), rep(c(0.0653, 0.000123, 32e-80, 8833, 79e70), 7), lower.tail=FALSE, log.p=FALSE) + [1] Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf +[20] Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); qcauchy(0, c(0.0653, 0.000123, 32e-80, 8833, 79e70, 0, -1), rep(c(0.0653, 0.000123, 32e-80, 8833, 79e70), 7), lower.tail=FALSE, log.p=TRUE) + [1] -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf +[16] -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf +[31] -Inf -Inf -Inf -Inf -Inf + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); qcauchy(0, c(0.0653, 0.000123, 32e-80, 8833, 79e70, 0, -1), rep(c(0.0653, 0.000123, 32e-80, 8833, 79e70), 7), lower.tail=TRUE, log.p=FALSE) + [1] -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf +[16] -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf +[31] -Inf -Inf -Inf -Inf -Inf + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); qcauchy(0, c(0.0653, 0.000123, 32e-80, 8833, 79e70, 0, -1), rep(c(0.0653, 0.000123, 32e-80, 8833, 79e70), 7), lower.tail=TRUE, log.p=TRUE) + [1] Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf +[20] Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); qcauchy(c(-1, 0, 0.2, 2), c(-1, 0, 0.1, 0.9, 3), rep(c(-1, 0, 1, 0.1, -0.1, 0.0001), 20), lower.tail=FALSE, log.p=FALSE) + [1] NaN 0.0000000 1.4763819 NaN NaN Inf + [7] NaN NaN NaN Inf NaN NaN + [13] NaN 0.9000000 4.3763819 NaN NaN Inf + [19] NaN NaN NaN Inf NaN NaN + [25] NaN -1.0000000 1.3763819 NaN NaN Inf + [31] NaN NaN NaN Inf NaN NaN + [37] NaN 0.1000000 2.2763819 NaN NaN Inf + [43] NaN NaN NaN Inf NaN NaN + [49] NaN 3.0000000 0.3763819 NaN NaN Inf + [55] NaN NaN NaN Inf NaN NaN + [61] NaN 0.0000000 1.4763819 NaN NaN Inf + [67] NaN NaN NaN Inf NaN NaN + [73] NaN 0.9000000 4.3763819 NaN NaN Inf + [79] NaN NaN NaN Inf NaN NaN + [85] NaN -1.0000000 1.3763819 NaN NaN Inf + [91] NaN NaN NaN Inf NaN NaN + [97] NaN 0.1000000 2.2763819 NaN NaN Inf +[103] NaN NaN NaN Inf NaN NaN +[109] NaN 3.0000000 0.3763819 NaN NaN Inf +[115] NaN NaN NaN Inf NaN NaN +Warning message: +In qcauchy(c(-1, 0, 0.2, 2), c(-1, 0, 0.1, 0.9, 3), rep(c(-1, 0, : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); qcauchy(c(-1, 0, 0.2, 2), c(-1, 0, 0.1, 0.9, 3), rep(c(-1, 0, 1, 0.1, -0.1, 0.0001), 20), lower.tail=FALSE, log.p=TRUE) + [1] NaN 0.0000000 NaN NaN NaN -Inf + [7] NaN NaN 1.3406711 -Inf NaN NaN + [13] NaN 0.9000000 NaN NaN NaN -Inf + [19] NaN NaN -0.5593289 -Inf NaN NaN + [25] NaN -1.0000000 NaN NaN NaN -Inf + [31] NaN NaN 0.5406711 -Inf NaN NaN + [37] NaN 0.1000000 NaN NaN NaN -Inf + [43] NaN NaN 3.4406711 -Inf NaN NaN + [49] NaN 3.0000000 NaN NaN NaN -Inf + [55] NaN NaN 0.4406711 -Inf NaN NaN + [61] NaN 0.0000000 NaN NaN NaN -Inf + [67] NaN NaN 1.3406711 -Inf NaN NaN + [73] NaN 0.9000000 NaN NaN NaN -Inf + [79] NaN NaN -0.5593289 -Inf NaN NaN + [85] NaN -1.0000000 NaN NaN NaN -Inf + [91] NaN NaN 0.5406711 -Inf NaN NaN + [97] NaN 0.1000000 NaN NaN NaN -Inf +[103] NaN NaN 3.4406711 -Inf NaN NaN +[109] NaN 3.0000000 NaN NaN NaN -Inf +[115] NaN NaN 0.4406711 -Inf NaN NaN +Warning message: +In qcauchy(c(-1, 0, 0.2, 2), c(-1, 0, 0.1, 0.9, 3), rep(c(-1, 0, : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); qcauchy(c(-1, 0, 0.2, 2), c(-1, 0, 0.1, 0.9, 3), rep(c(-1, 0, 1, 0.1, -0.1, 0.0001), 20), lower.tail=TRUE, log.p=FALSE) + [1] NaN 0.0000000 -1.2763819 NaN NaN -Inf + [7] NaN NaN NaN -Inf NaN NaN + [13] NaN 0.9000000 1.6236181 NaN NaN -Inf + [19] NaN NaN NaN -Inf NaN NaN + [25] NaN -1.0000000 -1.3763819 NaN NaN -Inf + [31] NaN NaN NaN -Inf NaN NaN + [37] NaN 0.1000000 -0.4763819 NaN NaN -Inf + [43] NaN NaN NaN -Inf NaN NaN + [49] NaN 3.0000000 -2.3763819 NaN NaN -Inf + [55] NaN NaN NaN -Inf NaN NaN + [61] NaN 0.0000000 -1.2763819 NaN NaN -Inf + [67] NaN NaN NaN -Inf NaN NaN + [73] NaN 0.9000000 1.6236181 NaN NaN -Inf + [79] NaN NaN NaN -Inf NaN NaN + [85] NaN -1.0000000 -1.3763819 NaN NaN -Inf + [91] NaN NaN NaN -Inf NaN NaN + [97] NaN 0.1000000 -0.4763819 NaN NaN -Inf +[103] NaN NaN NaN -Inf NaN NaN +[109] NaN 3.0000000 -2.3763819 NaN NaN -Inf +[115] NaN NaN NaN -Inf NaN NaN +Warning message: +In qcauchy(c(-1, 0, 0.2, 2), c(-1, 0, 0.1, 0.9, 3), rep(c(-1, 0, : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); qcauchy(c(-1, 0, 0.2, 2), c(-1, 0, 0.1, 0.9, 3), rep(c(-1, 0, 1, 0.1, -0.1, 0.0001), 20), lower.tail=TRUE, log.p=TRUE) + [1] NaN 0.0000000 NaN NaN NaN Inf + [7] NaN NaN 0.4593289 Inf NaN NaN + [13] NaN 0.9000000 NaN NaN NaN Inf + [19] NaN NaN -1.4406711 Inf NaN NaN + [25] NaN -1.0000000 NaN NaN NaN Inf + [31] NaN NaN -0.3406711 Inf NaN NaN + [37] NaN 0.1000000 NaN NaN NaN Inf + [43] NaN NaN 2.5593289 Inf NaN NaN + [49] NaN 3.0000000 NaN NaN NaN Inf + [55] NaN NaN -0.4406711 Inf NaN NaN + [61] NaN 0.0000000 NaN NaN NaN Inf + [67] NaN NaN 0.4593289 Inf NaN NaN + [73] NaN 0.9000000 NaN NaN NaN Inf + [79] NaN NaN -1.4406711 Inf NaN NaN + [85] NaN -1.0000000 NaN NaN NaN Inf + [91] NaN NaN -0.3406711 Inf NaN NaN + [97] NaN 0.1000000 NaN NaN NaN Inf +[103] NaN NaN 2.5593289 Inf NaN NaN +[109] NaN 3.0000000 NaN NaN NaN Inf +[115] NaN NaN -0.4406711 Inf NaN NaN +Warning message: +In qcauchy(c(-1, 0, 0.2, 2), c(-1, 0, 0.1, 0.9, 3), rep(c(-1, 0, : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWarningContext# +#set.seed(1); qcauchy(c(NA, 0, NaN, 1/0, -1/0), rep(c(1, 0, 0.1), 5), rep(c(1, 0, 0.1), 5)) + [1] NA 0 NaN NaN NaN NA -Inf NaN NaN NaN NA -Inf NaN NaN NaN +Warning message: +In qcauchy(c(NA, 0, NaN, 1/0, -1/0), rep(c(1, 0, 0.1), 5), rep(c(1, : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWarningContext# +#set.seed(1); qcauchy(rep(c(1, 0, 0.1), 5), c(NA, 0, NaN, 1/0, -1/0), rep(c(1, 0, 0.1), 5)) + [1] NA 0.0000000 NaN Inf -Inf NA + [7] Inf NaN Inf NaN NA -0.3077684 +[13] NaN Inf -Inf +Warning message: +In qcauchy(rep(c(1, 0, 0.1), 5), c(NA, 0, NaN, 1/0, -1/0), rep(c(1, : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); qcauchy(rep(c(1, 0, 0.1), 5), rep(c(1, 0, 0.1), 5), c(NA, 0, NaN, 1/0, -1/0)) + [1] NA 0.0 NaN NaN NaN NA 1.0 NaN NaN NaN NA 0.1 NaN NaN NaN +Warning message: +In qcauchy(rep(c(1, 0, 0.1), 5), rep(c(1, 0, 0.1), 5), c(NA, 0, : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); qlnorm(0, 10, 10, lower.tail=FALSE, log.p=FALSE) +[1] Inf + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); qlnorm(0, 10, 10, lower.tail=FALSE, log.p=TRUE) +[1] 0 + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); qlnorm(0, 10, 10, lower.tail=TRUE, log.p=FALSE) +[1] 0 + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); qlnorm(0, 10, 10, lower.tail=TRUE, log.p=TRUE) +[1] Inf + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); qlnorm(0, c(0.0653, 0.000123, 32e-80, 8833, 79e70, 0, -1), rep(c(0.0653, 0.000123, 32e-80, 8833, 79e70), 7), lower.tail=FALSE, log.p=FALSE) + [1] Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf +[20] Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); qlnorm(0, c(0.0653, 0.000123, 32e-80, 8833, 79e70, 0, -1), rep(c(0.0653, 0.000123, 32e-80, 8833, 79e70), 7), lower.tail=FALSE, log.p=TRUE) + [1] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); qlnorm(0, c(0.0653, 0.000123, 32e-80, 8833, 79e70, 0, -1), rep(c(0.0653, 0.000123, 32e-80, 8833, 79e70), 7), lower.tail=TRUE, log.p=FALSE) + [1] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); qlnorm(0, c(0.0653, 0.000123, 32e-80, 8833, 79e70, 0, -1), rep(c(0.0653, 0.000123, 32e-80, 8833, 79e70), 7), lower.tail=TRUE, log.p=TRUE) + [1] Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf +[20] Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); qlnorm(c(-1, 0, 0.2, 2), c(-1, 0, 0.1, 0.9, 3), rep(c(-1, 0, 1, 0.1, -0.1, 0.0001), 20), lower.tail=FALSE, log.p=FALSE) + [1] NaN Inf 2.5641351 NaN NaN Inf + [7] NaN NaN NaN Inf NaN NaN + [13] NaN Inf 46.6009643 NaN NaN Inf + [19] NaN NaN NaN Inf NaN NaN + [25] NaN Inf 2.3201254 NaN NaN Inf + [31] NaN NaN NaN Inf NaN NaN + [37] NaN Inf 5.7065876 NaN NaN Inf + [43] NaN NaN NaN Inf NaN NaN + [49] NaN Inf 0.8535264 NaN NaN Inf + [55] NaN NaN NaN Inf NaN NaN + [61] NaN Inf 2.5641351 NaN NaN Inf + [67] NaN NaN NaN Inf NaN NaN + [73] NaN Inf 46.6009643 NaN NaN Inf + [79] NaN NaN NaN Inf NaN NaN + [85] NaN Inf 2.3201254 NaN NaN Inf + [91] NaN NaN NaN Inf NaN NaN + [97] NaN Inf 5.7065876 NaN NaN Inf +[103] NaN NaN NaN Inf NaN NaN +[109] NaN Inf 0.8535264 NaN NaN Inf +[115] NaN NaN NaN Inf NaN NaN +Warning message: +In qlnorm(c(-1, 0, 0.2, 2), c(-1, 0, 0.1, 0.9, 3), rep(c(-1, 0, : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); qlnorm(c(-1, 0, 0.2, 2), c(-1, 0, 0.1, 0.9, 3), rep(c(-1, 0, 1, 0.1, -0.1, 0.0001), 20), lower.tail=FALSE, log.p=TRUE) + [1] NaN 0.0000000 NaN NaN NaN 0.0000000 + [7] NaN NaN 3.4468989 0.0000000 NaN NaN + [13] NaN 0.0000000 NaN NaN NaN 0.0000000 + [19] NaN NaN 0.5155479 0.0000000 NaN NaN + [25] NaN 0.0000000 NaN NaN NaN 0.0000000 + [31] NaN NaN 1.5487915 0.0000000 NaN NaN + [37] NaN 0.0000000 NaN NaN NaN 0.0000000 + [43] NaN NaN 28.1479623 0.0000000 NaN NaN + [49] NaN 0.0000000 NaN NaN NaN 0.0000000 + [55] NaN NaN 1.4014045 0.0000000 NaN NaN + [61] NaN 0.0000000 NaN NaN NaN 0.0000000 + [67] NaN NaN 3.4468989 0.0000000 NaN NaN + [73] NaN 0.0000000 NaN NaN NaN 0.0000000 + [79] NaN NaN 0.5155479 0.0000000 NaN NaN + [85] NaN 0.0000000 NaN NaN NaN 0.0000000 + [91] NaN NaN 1.5487915 0.0000000 NaN NaN + [97] NaN 0.0000000 NaN NaN NaN 0.0000000 +[103] NaN NaN 28.1479623 0.0000000 NaN NaN +[109] NaN 0.0000000 NaN NaN NaN 0.0000000 +[115] NaN NaN 1.4014045 0.0000000 NaN NaN +Warning message: +In qlnorm(c(-1, 0, 0.2, 2), c(-1, 0, 0.1, 0.9, 3), rep(c(-1, 0, : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); qlnorm(c(-1, 0, 0.2, 2), c(-1, 0, 0.1, 0.9, 3), rep(c(-1, 0, 1, 0.1, -0.1, 0.0001), 20), lower.tail=TRUE, log.p=FALSE) + [1] NaN 0.0000000 0.4763410 NaN NaN 0.0000000 NaN + [8] NaN NaN 0.0000000 NaN NaN NaN 0.0000000 + [15] 8.6570911 NaN NaN 0.0000000 NaN NaN NaN + [22] 0.0000000 NaN NaN NaN 0.0000000 0.4310112 NaN + [29] NaN 0.0000000 NaN NaN NaN 0.0000000 NaN + [36] NaN NaN 0.0000000 1.0601165 NaN NaN 0.0000000 + [43] NaN NaN NaN 0.0000000 NaN NaN NaN + [50] 0.0000000 0.1585602 NaN NaN 0.0000000 NaN NaN + [57] NaN 0.0000000 NaN NaN NaN 0.0000000 0.4763410 + [64] NaN NaN 0.0000000 NaN NaN NaN 0.0000000 + [71] NaN NaN NaN 0.0000000 8.6570911 NaN NaN + [78] 0.0000000 NaN NaN NaN 0.0000000 NaN NaN + [85] NaN 0.0000000 0.4310112 NaN NaN 0.0000000 NaN + [92] NaN NaN 0.0000000 NaN NaN NaN 0.0000000 + [99] 1.0601165 NaN NaN 0.0000000 NaN NaN NaN +[106] 0.0000000 NaN NaN NaN 0.0000000 0.1585602 NaN +[113] NaN 0.0000000 NaN NaN NaN 0.0000000 NaN +[120] NaN +Warning message: +In qlnorm(c(-1, 0, 0.2, 2), c(-1, 0, 0.1, 0.9, 3), rep(c(-1, 0, : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); qlnorm(c(-1, 0, 0.2, 2), c(-1, 0, 0.1, 0.9, 3), rep(c(-1, 0, 1, 0.1, -0.1, 0.0001), 20), lower.tail=TRUE, log.p=TRUE) + [1] NaN Inf NaN NaN NaN Inf + [7] NaN NaN 1.7550986 Inf NaN NaN + [13] NaN Inf NaN NaN NaN Inf + [19] NaN NaN 0.2625077 Inf NaN NaN + [25] NaN Inf NaN NaN NaN Inf + [31] NaN NaN 0.7886166 Inf NaN NaN + [37] NaN Inf NaN NaN NaN Inf + [43] NaN NaN 14.3324334 Inf NaN NaN + [49] NaN Inf NaN NaN NaN Inf + [55] NaN NaN 0.7135698 Inf NaN NaN + [61] NaN Inf NaN NaN NaN Inf + [67] NaN NaN 1.7550986 Inf NaN NaN + [73] NaN Inf NaN NaN NaN Inf + [79] NaN NaN 0.2625077 Inf NaN NaN + [85] NaN Inf NaN NaN NaN Inf + [91] NaN NaN 0.7886166 Inf NaN NaN + [97] NaN Inf NaN NaN NaN Inf +[103] NaN NaN 14.3324334 Inf NaN NaN +[109] NaN Inf NaN NaN NaN Inf +[115] NaN NaN 0.7135698 Inf NaN NaN +Warning message: +In qlnorm(c(-1, 0, 0.2, 2), c(-1, 0, 0.1, 0.9, 3), rep(c(-1, 0, : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWarningContext# +#set.seed(1); qlnorm(c(NA, 0, NaN, 1/0, -1/0), rep(c(1, 0, 0.1), 5), rep(c(1, 0, 0.1), 5)) + [1] NA 0 NaN NaN NaN NA 0 NaN NaN NaN NA 0 NaN NaN NaN +Warning message: +In qlnorm(c(NA, 0, NaN, 1/0, -1/0), rep(c(1, 0, 0.1), 5), rep(c(1, : + NaNs produced + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWarningContext# +#set.seed(1); qlnorm(rep(c(1, 0, 0.1), 5), c(NA, 0, NaN, 1/0, -1/0), rep(c(1, 0, 0.1), 5)) + [1] NA 0.0000000 NaN Inf 0.0000000 NA Inf + [8] NaN Inf Inf NA 0.8797169 NaN 0.0000000 +[15] 0.0000000 + +##com.oracle.truffle.r.test.library.stats.TestStatFunctions.testFunctions32#Output.IgnoreWhitespace# +#set.seed(1); qlnorm(rep(c(1, 0, 0.1), 5), rep(c(1, 0, 0.1), 5), c(NA, 0, NaN, 1/0, -1/0)) + [1] NA 0.000000 NaN Inf 0.000000 NA Inf NaN + [9] 0.000000 Inf NA 1.105171 NaN 0.000000 NaN +Warning message: +In qlnorm(rep(c(1, 0, 0.1), 5), rep(c(1, 0, 0.1), 5), c(NA, 0, NaN, : + NaNs produced + ##com.oracle.truffle.r.test.library.stats.TestStats.testCor# #{ as.integer(cor(c(1,2,3),c(1,2,5))*10000000) } [1] 9607689 -- GitLab