- using R Under development (unstable) (2023-03-18 r84003)
- using platform: x86_64-pc-linux-gnu (64-bit)
- R was compiled by
gcc-12 (Debian 12.2.0-14) 12.2.0
GNU Fortran (Debian 12.2.0-14) 12.2.0
- running under: Debian GNU/Linux bookworm/sid
- using session charset: UTF-8
- checking for file ‘tukeyGH/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘tukeyGH’ version ‘1.0.0’
- 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 ‘tukeyGH’ can be installed ... OK
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [0s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
- checking loading without being on the library search path ... [0s/0s] 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 ... [5s/10s] OK
- checking Rd files ... [1s/1s] 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 ... [0s/1s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking examples ... [3s/7s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [22s/36s] ERROR
Running ‘testthat.R’ [22s/35s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(tukeyGH)
>
> test_check("tukeyGH")
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 62 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-dgh.R:40:3'): dgh works ──────────────────────────────────────
with(depo, dgh(depo$x, a, b, g, h, tol = 1e-07)) (`actual`) not equal to with(depo, g/b * dlnorm(1 + g * (depo$x - a)/b, 0, g)) (`expected`).
actual | expected
[1] 1.156533104054899 - 1.156533103895470 [1]
[2] 7.173309007853727 - 7.173309006176813 [2]
[3] 0.424141090880426 - 0.424141071626751 [3]
[4] 0.000033983211632 - 0.000033983150013 [4]
[5] 0.038922209294993 - 0.038922237375605 [5]
[6] 0.483422346371090 - 0.483422346356905 [6]
[7] 0.171586178247401 - 0.171586177926197 [7]
[8] 0.250536511013819 - 0.250536511012458 [8]
[9] 1.237146933949503 - 1.237146967878327 [9]
[10] 0.003223333477597 - 0.003223313431115 [10]
... ... ... and 90 more ...
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 62 ]
Error: Test failures
Execution halted
- checking PDF version of manual ... [4s/12s] OK
- checking HTML version of manual ... [1s/2s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR