R version 4.6.0 beta (2026-04-15 r89885 ucrt) -- "Because it was There" 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(ReliaGrowR) > > test_check("ReliaGrowR") Duane Analysis Result ---------------------- Linear model (log-log scale): log(MTBF) ~ log(Time) Number of observations (failures): 5 Coefficients: Estimate Std. Error (Intercept) 3.6144974 0.35199619 log_cum_times 0.2013244 0.05624037 Log-likelihood: 4.78 AIC: -3.55, BIC: -4.72 Confidence level: 95.0% Exposure Analysis for Repairable Systems ----------------------------------------- Number of systems: 2 Total events: 4 Total exposure: 500.00 Overall event rate: 0.008000 Time At Risk Cum. Exposure Cum. Events Event Rate 100 2 200 1 0.005000 150 2 300 2 0.006667 200 2 400 3 0.007500 300 1 500 4 0.008000 Mean Cumulative Function (MCF) ------------------------------ Number of systems: 2 Number of events: 4 Total exposure: 500.00 Confidence level: 95% Time MCF Lower (95%) Upper (95%) 100 0.5 0 1.4800 150 1.0 0 2.3859 200 1.5 0 3.1974 300 2.5 0 5.0928 Non-Homogeneous Poisson Process (NHPP) --------------------------------------- Model Type: Power Law Estimation Method: MLE Number of observations: 5 Parameters: Beta: 1.2014 (SE = 0.1181) Lambda: 0.0063 Goodness of Fit: Log-likelihood: 15.87 AIC: -27.75 BIC: -28.53 NHPP Forecast (Power Law) -------------------------- Time Cum.Events Lower (95%) Upper (95%) 1500 40.9 26.9 62.1 2000 57.8 36.9 90.5 n = 100, runtime = 0.002 sec n = 500, runtime = 0.003 sec n = 1000, runtime = 0.006 sec n = 5000, runtime = 0.011 sec Reliability Growth Analysis (RGA) --------------------------------- Model Type: Crow-AMSAA Estimation Method: LS Number of observations (failures): 5 Parameters (per segment): Growth Rate: 0.2013 Beta: 0.7987 (SE = 0.0562) Lambda: 0.0269 Goodness of Fit: Log-likelihood: 4.78 AIC: -3.55 BIC: -4.72 Reliability Growth Forecast (Crow-AMSAA) ----------------------------------------- Time Cum.Failures Lower (95%) Upper (95%) 2000 11.7 8.6 15.8 3000 16.1 11.2 23.3 4000 20.3 13.4 30.7 Reliability Demonstration Test (RDT) Plan ----------------------------------------- Distribution: Exponential Weibull Shape Parameter (Beta): 1 Allowed Failures (f): 0 Target Reliability: 0.9 Mission Time: 1000 Input Sample Size (n): 10 Required Test Time (T): 2185.43 Reliability Demonstration Test (RDT) Plan ----------------------------------------- Distribution: Exponential Weibull Shape Parameter (Beta): 1 Allowed Failures (f): 0 Target Reliability: 0.9 Mission Time: 1000 Input Test Time (T): 2000 Required Sample Size (n): 11 [ FAIL 0 | WARN 0 | SKIP 12 | PASS 653 ] ══ Skipped tests (12) ══════════════════════════════════════════════════════════ • On CRAN (12): 'test-srr-duane.R:309:3', 'test-srr-duane.R:329:3', 'test-srr-duane.R:404:3', 'test-srr-nhpp.R:295:3', 'test-srr-rga.R:432:3', 'test-srr-rga.R:461:3', 'test-srr-rga.R:487:3', 'test-srr-rga.R:577:3', 'test-srr-rga.R:584:3', 'test-srr-rga.R:612:3', 'test-srr-rga.R:654:3', 'test-srr-rga.R:976:3' [ FAIL 0 | WARN 0 | SKIP 12 | PASS 653 ] > > proc.time() user system elapsed 19.23 1.81 21.59