- using R Under development (unstable) (2025-11-06 r88990)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 21.1.5
flang version 21.1.5
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘ReliaGrowR/DESCRIPTION’ ... OK
- this is package ‘ReliaGrowR’ version ‘0.3’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘ReliaGrowR’ can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [14s/26s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [14s/36s] ERROR
Running ‘spelling.R’
Running ‘testthat.R’ [13s/35s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # 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%
n = 100, runtime = 0.014 sec
n = 500, runtime = 0.019 sec
n = 1000, runtime = 0.029 sec
n = 5000, runtime = 0.119 sec
Reliability Growth Analysis (RGA)
---------------------------------
Model Type: Crow-AMSAA
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 Demonstration Test (RDT) Plan
-----------------------------------------
Distribution: Exponential
Weibull Shape Parameter (Beta): 1
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
Target Reliability: 0.9
Mission Time: 1000
Input Test Time (T): 2000
Required Sample Size (n): 11
[ FAIL 1 | WARN 0 | SKIP 1 | PASS 262 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test-srr-rga.R:524:5'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-srr-rga.R:630:3'): rga() fits near-noiseless data with user-supplied breaks (Piecewise NHPP) and is reasonably fast ──
t_near_pw <= t_noisy_pw * 1.2 + 0.1 is not TRUE
`actual`: FALSE
`expected`: TRUE
Noiseless fit took 1.444s vs noisy 0.986s
[ FAIL 1 | WARN 0 | SKIP 1 | PASS 262 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [14s/30s] OK
- checking PDF version of manual ... [8s/14s] OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR