* using log directory ‘/Users/ripley/R/packages/tests-devel/stat.extend.Rcheck’ * using R Under development (unstable) (2023-04-17 r84270) * using platform: aarch64-apple-darwin22.4.0 (64-bit) * R was compiled by Apple clang version 14.0.3 (clang-1403.0.22.14.1) GNU Fortran (GCC) 12.2.0 * running under: macOS Ventura 13.3.1 * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘stat.extend/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘stat.extend’ version ‘0.2.1’ * 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 ‘stat.extend’ can be installed ... OK * checking installed package size ... OK * checking package 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 R 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 ... OK * checking Rd files ... OK * checking Rd metadata ... 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 examples ... OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘test-CONF.R’ Running ‘test-HDR.R’ Running ‘test-custom.R’ Running ‘test-extraDistr.R’ Running ‘test-invgamma.R’ Running ‘test-lsubfactorial.R’ Running ‘test-matching.R’ Running ‘test-vgam.R’ ERROR Running the tests in ‘tests/test-HDR.R’ failed. Complete output: > > stopifnot(all.equal( + stat.extend::HDR.arcsine(.5, 0, 1), # should match beta(.5, .5) + structure(list(list(l = 0, r = 0.146446609406726, lc = TRUE, + rc = TRUE), list(l = 0.853553390593274, r = 1, lc = TRUE, + rc = TRUE)), class = c("hdr", "interval"), domain = "R", method = "Computed using nlm optimisation with 0 iterations (code = 1)", probability = 0.5, distribution = "standard arcsine distribution") + )) > > stopifnot(all.equal( + stat.extend::HDR.cauchy(1-.05, 1, 2), + structure(list(list(l = -24.4124094723494, r = 26.4124094723493, + lc = TRUE, rc = TRUE)), class = c("hdr", "interval"), domain = "R", method = "Computed using nlm optimisation with 0 iterations (code = 1)", probability = 0.95, distribution = "Cauchy distribution with location = 1 and scale = 2") + + )) > > > stopifnot(all.equal( + stat.extend::HDR.lnorm(1-.05, 1, .3), + structure(list(list(l = 1.34512113868324, r = 4.58832908980926, + lc = TRUE, rc = TRUE)), class = c("hdr", "interval"), domain = "R", method = "Computed using nlm optimisation with 7 iterations (code = 1)", probability = 0.95, distribution = "log-normal distribution with log-mean = 1 and log-standard deviation = 0.3") + )) > > > stopifnot(all.equal( + stat.extend::HDR.norm(1-.05,1,3), + structure(list(list(l = -4.87989195362016, r = 6.87989195362016, + lc = TRUE, rc = TRUE)), class = c("hdr", "interval"), domain = "R", method = "Computed using nlm optimisation with 0 iterations (code = 1)", probability = 0.95, distribution = "normal distribution with mean = 1 and standard deviation = 3") + )) > > > stopifnot(all.equal( + stat.extend::HDR.t(1-.05, 29, .3), + structure(list(list(l = -1.73385540922536, r = 2.35964477149638, + lc = TRUE, rc = TRUE)), class = c("hdr", "interval"), domain = "R", method = "Computed using nlm optimisation with 4 iterations (code = 1)", probability = 0.95, distribution = "Student's T distribution with 29 degrees-of-freedom and non-centrality parameter = 0.3") + )) Error: stat.extend::HDR.t(1 - 0.05, 29, 0.3) and structure(list(list(l = -1.73385540922536, r = 2.35964477149638, .... are not equal: Attributes: < Component "method": 1 string mismatch > Execution halted * checking PDF version of manual ... OK * checking HTML version of manual ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR See ‘/Users/ripley/R/packages/tests-devel/stat.extend.Rcheck/00check.log’ for details. 17.24 real 12.46 user 3.34 sys