R Under development (unstable) (2026-02-10 r89394 ucrt) -- "Unsuffered Consequences" Copyright (C) 2026 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(ISCAM) > > test_check("ISCAM") Probability 3 and below = 0.3822806 The observation with at most 0.1 probability at or below is 4 binomial: 0.5881 normal approx: 0.5 normal approx with continuity: 0.5885 Null: Probability 15 and above = 0.02069473 Alternative: Probability 15 and above = 0.125599 Exact Binomial Test Data: observed successes = 18, sample size = 30, sample proportion = 0.6 Null hypothesis : pi = 0.5 Alternative hypothesis: pi <> 0.5 p-value: 0.36159 95 % Confidence interval for pi: ( 0.40603 , 0.77344 ) probability: 0.1718 Probability 2 and below = 0.7038184 hypergeometric: 0.7038 normal approx: 0.5 normal approx with continuity: 0.6963 probability: 0.9772 The observation with 0.05 probability below is -1.645 Null: Probability 0.592 and above = 0.05 Alt: Probability 0.592 and above = 0.2253625 One Proportion z test Data: observed successes = 35, sample size = 50, sample proportion = 0.7 Null hypothesis : pi = 0.5 Alternative hypothesis: pi > 0.5 z-statistic: 2.828 p-value: 0.002339 95 % Confidence interval for pi: ( 0.5729798 , 0.8270202 ) Two Proportion z test Group1: observed successes = 35, sample size = 50, sample proportion = 0.7 Group2: observed successes = 28, sample size = 45, sample proportion = 0.6222 Null hypothesis : pi1-pi2 = 0 Alternative hypothesis: pi1-pi2 > 0 z-statistic: 0.8009 95 % Confidence interval for pi1-pi2: ( -0.1124861 , 0.2680417 ) p-value: 0.2116 The observation with 0.05 probability below is -1.753 probability: 0.03375 One Sample t test mean = 2.5, sd = 1.2, sample size = 30 Null hypothesis : mu = 2 Alternative hypothesis: mu > 2 t-statistic: 2.282 95 % Confidence interval for mu: ( 2.051913 , 2.948087 ) p-value: 0.01499991 Two Sample t test Group1: mean = 5, sd = 2, sample size = 30 Group2: mean = 4, sd = 1.5, sample size = 28 diff:1 Null hypothesis : mu1-mu2 = 0 Alternative hypothesis: mu1-mu2 <> 0 t-statistic: 2.163 df: 53.58 95 % Confidence interval for mu1-mu2: ( 0.07304471 , 1.926955 ) p-value: 0.035 [ FAIL 0 | WARN 0 | SKIP 80 | PASS 217 ] ══ Skipped tests (80) ══════════════════════════════════════════════════════════ • On CRAN (80): 'test-binomial.R:1:1', 'test-binomial.R:36:1', 'test-binomial.R:59:1', 'test-binomial.R:82:1', 'test-binomial.R:91:1', 'test-binomial.R:112:1', 'test-binomial.R:151:1', 'test-binomial.R:233:1', 'test-binomial.R:251:1', 'test-binomial.R:280:1', 'test-binomial.R:306:1', 'test-binomial.R:320:1', 'test-binomial.R:381:1', 'test-binomial.R:386:1', 'test-binomial.R:391:1', 'test-binomial.R:396:1', 'test-binomial.R:401:1', 'test-chisq-hyper.R:1:1', 'test-chisq-hyper.R:25:1', 'test-chisq-hyper.R:37:1', 'test-chisq-hyper.R:64:1', 'test-chisq-hyper.R:87:1', 'test-chisq-hyper.R:92:1', 'test-chisq-hyper.R:97:1', 'test-chisq-hyper.R:102:1', 'test-chisq-hyper.R:125:1', 'test-iscamsummary.R:53:1', 'test-normal.R:1:1', 'test-normal.R:27:1', 'test-normal.R:69:1', 'test-normal.R:133:1', 'test-normal.R:164:1', 'test-normal.R:181:1', 'test-normal.R:269:1', 'test-normal.R:303:1', 'test-normal.R:308:1', 'test-normal.R:313:1', 'test-overlayDensities.R:13:1', 'test-overlayDensities.R:28:1', 'test-overlayDensities.R:37:1', 'test-overlayDensities.R:46:1', 'test-overlayDensities.R:61:1', 'test-overlayDensities.R:76:1', 'test-overlayDensities.R:95:1', 'test-overlayDensities.R:100:1', 'test-overlayDensities.R:105:1', 'test-overlayDensities.R:110:1', 'test-overlayDensities.R:115:1', 'test-plots.R:1:1', 'test-plots.R:19:1', 'test-plots.R:41:1', 'test-plots.R:58:1', 'test-plots.R:79:1', 'test-plots.R:84:1', 'test-prop-tests.R:1:1', 'test-prop-tests.R:26:1', 'test-prop-tests.R:57:1', 'test-prop-tests.R:83:1', 'test-prop-tests.R:101:1', 'test-prop-tests.R:137:1', 'test-prop-tests.R:168:1', 'test-prop-tests.R:200:1', 'test-prop-tests.R:223:1', 'test-prop-tests.R:273:1', 'test-prop-tests.R:278:1', 'test-t.R:1:1', 'test-t.R:66:1', 'test-t.R:100:1', 'test-t.R:126:1', 'test-t.R:197:1', 'test-t.R:219:1', 'test-t.R:257:1', 'test-t.R:262:1', 'test-t.R:286:1', 'test-t.R:298:1', 'test-t.R:334:1', 'test-t.R:382:1', 'test-t.R:397:1', 'test-t.R:402:1', 'test-t.R:407:1' [ FAIL 0 | WARN 0 | SKIP 80 | PASS 217 ] > > proc.time() user system elapsed 5.62 0.85 6.46