Last updated on 2025-01-08 07:51:13 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 2.0.1 | ERROR | ||||
r-devel-linux-x86_64-debian-gcc | 2.0.1 | 85.44 | 101.21 | 186.65 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 2.0.2 | 532.65 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 2.0.1 | 580.33 | ERROR | |||
r-devel-windows-x86_64 | 2.0.2 | 210.00 | 208.00 | 418.00 | OK | |
r-patched-linux-x86_64 | 2.0.1 | 131.14 | 178.66 | 309.80 | OK | |
r-release-linux-x86_64 | 2.0.1 | 136.77 | 180.62 | 317.39 | OK | |
r-release-macos-arm64 | 2.0.1 | 157.00 | NOTE | |||
r-release-macos-x86_64 | 2.0.2 | 297.00 | NOTE | |||
r-release-windows-x86_64 | 2.0.1 | 231.00 | 210.00 | 441.00 | OK | |
r-oldrel-macos-arm64 | 2.0.1 | 148.00 | NOTE | |||
r-oldrel-macos-x86_64 | 2.0.2 | 260.00 | NOTE | |||
r-oldrel-windows-x86_64 | 2.0.2 | 194.00 | 253.00 | 447.00 | OK |
Version: 2.0.1
Check: tests
Result: ERROR
Running ‘test-bmi_for_age.R’ [22s/26s]
Running ‘test-bp-by-source.R’ [0s/1s]
Running ‘test-bp_cdf.R’ [2s/2s]
Running ‘test-bp_chart.R’ [1s/2s]
Running ‘test-bp_distributions.R’ [0s/1s]
Running ‘test-bp_parameters.R’ [0s/1s]
Running ‘test-cppBP.R’ [2s/2s]
Running ‘test-cppPGSF.R’ [22s/25s]
Running ‘test-est_norm.R’ [0s/1s]
Running ‘test-gemelli1990.R’ [0s/1s]
Running ‘test-gs_chart.R’ [2s/3s]
Running ‘test-head_circumference_for_age.R’ [17s/19s]
Running ‘test-height_for_age.R’ [3s/4s]
Running ‘test-internal-data.R’ [1s/1s]
Running ‘test-length_for_age.R’ [16s/20s]
Running ‘test-lms.R’ [1s/1s]
Running ‘test-lo2013.R’ [0s/1s]
Running ‘test-nhlbi_bp_norms.R’ [0s/1s]
Running ‘test-weight_for_age.R’ [21s/25s]
Running ‘test-weight_for_height.R’ [4s/5s]
Running ‘test-weight_for_length.R’ [5s/5s]
Running the tests in ‘tests/test-bp_distributions.R’ failed.
Complete output:
> library(pedbp)
>
> ################################################################################
> # simple print test
> print_test <-
+ q_bp(p_sbp = c(0.5, 0.5), p_dbp = c(0.4, 0.32), age = 13, male = 0)
>
> stopifnot(
+ identical(
+ capture.output(print_test)
+ ,
+ capture.output(print_test[1:2])
+ )
+ )
>
> ################################################################################
> # Verify error if Unknown source
> x <- tryCatch(p_bp(q_sbp = 0.5, q_dbp = 0.5, male = 0, age = 55, source = c("not-a-source")), error = function(e) e)
> stopifnot(inherits(x, "error"))
> stopifnot(identical(x$message, "'arg' should be one of “martin2022”, “gemelli1990”, “nhlbi”, “lo2013”, “flynn2017”") |
+ identical(x$message, "'arg' should be one of \"martin2022\", \"gemelli1990\", \"nhlbi\", \"lo2013\", \"flynn2017\""))
>
> x <- tryCatch(q_bp(p_sbp = 0.5, p_dbp = 0.5, male = 0, age = 55, source = c("not-a-source")), error = function(e) e)
> stopifnot(inherits(x, "error"))
> stopifnot(identical(x$message, "'arg' should be one of “martin2022”, “gemelli1990”, “nhlbi”, “lo2013”, “flynn2017”") |
+ identical(x$message, "'arg' should be one of \"martin2022\", \"gemelli1990\", \"nhlbi\", \"lo2013\", \"flynn2017\""))
>
> x <- tryCatch(p_bp(q_sbp = 0.5, q_dbp = 0.5, male = 0, age = 55, source = character(0)), error = function(e) e)
> stopifnot(inherits(x, "error"))
> stopifnot(identical(x$message, "'arg' should be one of “martin2022”, “gemelli1990”, “nhlbi”, “lo2013”, “flynn2017”") |
+ identical(x$message, "'arg' should be one of \"martin2022\", \"gemelli1990\", \"nhlbi\", \"lo2013\", \"flynn2017\""))
Error: identical(x$message, "'arg' should be one of “martin2022”, “gemelli1990”, “nhlbi”, “lo2013”, “flynn2017”") | .... is not TRUE
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 2.0.1
Check: tests
Result: ERROR
Running ‘test-bmi_for_age.R’ [10s/13s]
Running ‘test-bp-by-source.R’ [0s/1s]
Running ‘test-bp_cdf.R’ [1s/2s]
Running ‘test-bp_chart.R’ [1s/1s]
Running ‘test-bp_distributions.R’ [0s/0s]
Running ‘test-bp_parameters.R’ [0s/1s]
Running ‘test-cppBP.R’ [1s/1s]
Running ‘test-cppPGSF.R’ [10s/11s]
Running ‘test-est_norm.R’ [0s/0s]
Running ‘test-gemelli1990.R’ [0s/0s]
Running ‘test-gs_chart.R’ [1s/2s]
Running ‘test-head_circumference_for_age.R’ [8s/8s]
Running ‘test-height_for_age.R’ [2s/2s]
Running ‘test-internal-data.R’ [0s/1s]
Running ‘test-length_for_age.R’ [8s/9s]
Running ‘test-lms.R’ [0s/0s]
Running ‘test-lo2013.R’ [0s/0s]
Running ‘test-nhlbi_bp_norms.R’ [0s/0s]
Running ‘test-weight_for_age.R’ [10s/11s]
Running ‘test-weight_for_height.R’ [2s/2s]
Running ‘test-weight_for_length.R’ [2s/3s]
Running the tests in ‘tests/test-bp_distributions.R’ failed.
Complete output:
> library(pedbp)
>
> ################################################################################
> # simple print test
> print_test <-
+ q_bp(p_sbp = c(0.5, 0.5), p_dbp = c(0.4, 0.32), age = 13, male = 0)
>
> stopifnot(
+ identical(
+ capture.output(print_test)
+ ,
+ capture.output(print_test[1:2])
+ )
+ )
>
> ################################################################################
> # Verify error if Unknown source
> x <- tryCatch(p_bp(q_sbp = 0.5, q_dbp = 0.5, male = 0, age = 55, source = c("not-a-source")), error = function(e) e)
> stopifnot(inherits(x, "error"))
> stopifnot(identical(x$message, "'arg' should be one of “martin2022”, “gemelli1990”, “nhlbi”, “lo2013”, “flynn2017”") |
+ identical(x$message, "'arg' should be one of \"martin2022\", \"gemelli1990\", \"nhlbi\", \"lo2013\", \"flynn2017\""))
>
> x <- tryCatch(q_bp(p_sbp = 0.5, p_dbp = 0.5, male = 0, age = 55, source = c("not-a-source")), error = function(e) e)
> stopifnot(inherits(x, "error"))
> stopifnot(identical(x$message, "'arg' should be one of “martin2022”, “gemelli1990”, “nhlbi”, “lo2013”, “flynn2017”") |
+ identical(x$message, "'arg' should be one of \"martin2022\", \"gemelli1990\", \"nhlbi\", \"lo2013\", \"flynn2017\""))
>
> x <- tryCatch(p_bp(q_sbp = 0.5, q_dbp = 0.5, male = 0, age = 55, source = character(0)), error = function(e) e)
> stopifnot(inherits(x, "error"))
> stopifnot(identical(x$message, "'arg' should be one of “martin2022”, “gemelli1990”, “nhlbi”, “lo2013”, “flynn2017”") |
+ identical(x$message, "'arg' should be one of \"martin2022\", \"gemelli1990\", \"nhlbi\", \"lo2013\", \"flynn2017\""))
Error: identical(x$message, "'arg' should be one of “martin2022”, “gemelli1990”, “nhlbi”, “lo2013”, “flynn2017”") | .... is not TRUE
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 2.0.1
Check: tests
Result: ERROR
Running ‘test-bmi_for_age.R’ [31s/92s]
Running ‘test-bp-by-source.R’
Running ‘test-bp_cdf.R’
Running ‘test-bp_chart.R’
Running ‘test-bp_distributions.R’
Running ‘test-bp_parameters.R’
Running ‘test-cppBP.R’
Running ‘test-cppPGSF.R’ [25s/67s]
Running ‘test-est_norm.R’
Running ‘test-gemelli1990.R’
Running ‘test-gs_chart.R’ [4s/10s]
Running ‘test-head_circumference_for_age.R’ [23s/58s]
Running ‘test-height_for_age.R’ [4s/10s]
Running ‘test-internal-data.R’
Running ‘test-length_for_age.R’ [23s/60s]
Running ‘test-lms.R’
Running ‘test-lo2013.R’
Running ‘test-nhlbi_bp_norms.R’
Running ‘test-weight_for_age.R’ [30s/112s]
Running ‘test-weight_for_height.R’ [6s/20s]
Running ‘test-weight_for_length.R’ [6s/22s]
Running the tests in ‘tests/test-bp_distributions.R’ failed.
Complete output:
> library(pedbp)
>
> ################################################################################
> # simple print test
> print_test <-
+ q_bp(p_sbp = c(0.5, 0.5), p_dbp = c(0.4, 0.32), age = 13, male = 0)
>
> stopifnot(
+ identical(
+ capture.output(print_test)
+ ,
+ capture.output(print_test[1:2])
+ )
+ )
>
> ################################################################################
> # Verify error if Unknown source
> x <- tryCatch(p_bp(q_sbp = 0.5, q_dbp = 0.5, male = 0, age = 55, source = c("not-a-source")), error = function(e) e)
> stopifnot(inherits(x, "error"))
> stopifnot(identical(x$message, "'arg' should be one of “martin2022”, “gemelli1990”, “nhlbi”, “lo2013”, “flynn2017”") |
+ identical(x$message, "'arg' should be one of \"martin2022\", \"gemelli1990\", \"nhlbi\", \"lo2013\", \"flynn2017\""))
>
> x <- tryCatch(q_bp(p_sbp = 0.5, p_dbp = 0.5, male = 0, age = 55, source = c("not-a-source")), error = function(e) e)
> stopifnot(inherits(x, "error"))
> stopifnot(identical(x$message, "'arg' should be one of “martin2022”, “gemelli1990”, “nhlbi”, “lo2013”, “flynn2017”") |
+ identical(x$message, "'arg' should be one of \"martin2022\", \"gemelli1990\", \"nhlbi\", \"lo2013\", \"flynn2017\""))
>
> x <- tryCatch(p_bp(q_sbp = 0.5, q_dbp = 0.5, male = 0, age = 55, source = character(0)), error = function(e) e)
> stopifnot(inherits(x, "error"))
> stopifnot(identical(x$message, "'arg' should be one of “martin2022”, “gemelli1990”, “nhlbi”, “lo2013”, “flynn2017”") |
+ identical(x$message, "'arg' should be one of \"martin2022\", \"gemelli1990\", \"nhlbi\", \"lo2013\", \"flynn2017\""))
Error: identical(x$message, "'arg' should be one of “martin2022”, “gemelli1990”, “nhlbi”, “lo2013”, “flynn2017”") | .... is not TRUE
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 2.0.1
Check: installed package size
Result: NOTE
installed size is 5.7Mb
sub-directories of 1Mb or more:
libs 3.9Mb
Flavors: r-release-macos-arm64, r-oldrel-macos-arm64
Version: 2.0.2
Check: installed package size
Result: NOTE
installed size is 6.0Mb
sub-directories of 1Mb or more:
libs 4.2Mb
Flavors: r-release-macos-x86_64, r-oldrel-macos-x86_64