- using R Under development (unstable) (2023-12-04 r85659)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-13 (Debian 13.2.0-7) 13.2.0
GNU Fortran (Debian 13.2.0-7) 13.2.0
- running under: Debian GNU/Linux trixie/sid
- using session charset: UTF-8
- checking for file ‘MortalityLaws/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘MortalityLaws’ version ‘2.0.3’
- 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 serialization versions ... OK
- checking whether package ‘MortalityLaws’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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 R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [1s/2s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/2s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/3s] OK
- checking loading without being on the library search path ... [1s/2s] 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 ... [12s/21s] OK
- checking Rd files ... [1s/2s] NOTE
checkRd: (-1) MortalityLaw.Rd:79-81: Lost braces in \enumerate; meant \describe ?
checkRd: (-1) MortalityLaw.Rd:82-84: Lost braces in \enumerate; meant \describe ?
checkRd: (-1) MortalityLaw.Rd:85-86: Lost braces in \enumerate; meant \describe ?
- 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 sizes of PDF files under ‘inst/doc’ ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [3s/4s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [28s/53s] ERROR
Running ‘testthat.R’ [27s/52s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # --------------------------------------------------- #
> # Author: Marius D. Pascariu
> # License: MIT
> # Last update: Wed Jun 05 14:41:16 2019
> # --------------------------------------------------- #
>
> library(testthat)
> # expect_message(library(MortalityLaws))
>
> test_check("MortalityLaws")
Loading required package: MortalityLaws
[1] 1
[1] 2
[1] 3
[1] 4
[1] 5
[1] 6
[1] 7
[1] 8
[1] 9
[1] 10
[1] 11
[1] 12
[1] 13
[1] 14
[1] 15
[1] 16
M1: gompertz
M2: gompertz0
M3: invgompertz
M4: makeham
M5: makeham0
M6: opperman
M7: thiele
M8: wittstein
M9: perks
M10: weibull
M11: invweibull
M12: vandermaen
M13: vandermaen2
M14: strehler_mildvan
M15: quadratic
M16: beard
M17: beard_makeham
M18: ggompertz
M19: siler
M20: HP
M21: HP2
M22: HP3
M23: HP4
M24: rogersplanck
M25: martinelle
M26: carriere1
M27: carriere2
M28: kostaki
M29: kannisto
M30: kannisto_makeham
:Downloading AUS :Downloading Japan :Downloading Japan :Downloading Kyoto 1 Create mx_from_mx
2 Create mx_from_qx
3 Create mx_from_dx
4 Create mx_from_lx
5 Create qx_from_mx
6 Create qx_from_qx
7 Create qx_from_dx
8 Create qx_from_lx
9 Create dx_from_mx
10 Create dx_from_qx
11 Create dx_from_dx
12 Create dx_from_lx
13 Create lx_from_mx
14 Create lx_from_qx
15 Create lx_from_dx
16 Create lx_from_lx
17 Create Lx_from_mx
18 Create Lx_from_qx
19 Create Lx_from_dx
20 Create Lx_from_lx
21 Create Tx_from_mx
22 Create Tx_from_qx
23 Create Tx_from_dx
24 Create Tx_from_lx
25 Create ex_from_mx
26 Create ex_from_qx
27 Create ex_from_dx
28 Create ex_from_lx
[ FAIL 1 | WARN 1 | SKIP 0 | PASS 970 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_ReadJMD.R:28:1'): (code run outside of `test_that()`) ────────
`ReadJMD(what = "LT_f", regions = "Kyoto", interval = "1x1")` did not throw an error.
[ FAIL 1 | WARN 1 | SKIP 0 | PASS 970 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in ‘inst/doc’ ... OK
- checking re-building of vignette outputs ... [11s/20s] OK
- checking PDF version of manual ... [7s/14s] OK
- checking HTML version of manual ... [2s/6s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR, 1 NOTE