Last updated on 2026-01-19 07:51:37 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.2.0 | 5.80 | 94.54 | 100.34 | NOTE | |
| r-devel-linux-x86_64-debian-gcc | 0.2.0 | 4.56 | 66.32 | 70.88 | NOTE | |
| r-devel-linux-x86_64-fedora-clang | 0.2.0 | 11.00 | 136.87 | 147.87 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 0.2.0 | 13.00 | 165.58 | 178.58 | OK | |
| r-devel-windows-x86_64 | 0.2.0 | 8.00 | 92.00 | 100.00 | OK | |
| r-patched-linux-x86_64 | 0.2.0 | 5.82 | 77.79 | 83.61 | OK | |
| r-release-linux-x86_64 | 0.2.0 | 5.99 | 78.81 | 84.80 | OK | |
| r-release-macos-arm64 | 0.2.0 | OK | ||||
| r-release-macos-x86_64 | 0.2.0 | 4.00 | 89.00 | 93.00 | OK | |
| r-release-windows-x86_64 | 0.2.0 | 8.00 | 91.00 | 99.00 | ERROR | |
| r-oldrel-macos-arm64 | 0.2.0 | OK | ||||
| r-oldrel-macos-x86_64 | 0.2.0 | 4.00 | 88.00 | 92.00 | OK | |
| r-oldrel-windows-x86_64 | 0.2.0 | 12.00 | 123.00 | 135.00 | OK |
Version: 0.2.0
Check: relative paths in package URLs
Result: NOTE
Found the following (possibly) invalid URL:
URL: ../reference/index.html
From: inst/doc/admiralmetabolic.html
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 0.2.0
Check: examples
Result: ERROR
Running examples in 'admiralmetabolic-Ex.R' failed
The error most likely occurred in:
> ### Name: derive_param_waisthgt
> ### Title: Adds a Parameter for Waist to Height Ratio
> ### Aliases: derive_param_waisthgt
> ### Keywords: der_prm_advs
>
> ### ** Examples
>
> library(tibble)
> library(rlang)
>
> # Example 1: Derive Waist to Height Ratio where Height is measured only once
>
> advs <- tribble(
+ ~USUBJID, ~PARAMCD, ~PARAM, ~AVAL, ~AVALU, ~VISIT,
+ "01-101-1001", "HEIGHT", "Height (cm)", 147, "cm", "SCREENING",
+ "01-101-1001", "WSTCIR", "Waist Circumference (cm)", 110, "cm", "SCREENING",
+ "01-101-1001", "WSTCIR", "Waist Circumference (cm)", 108, "cm", "WEEK 2",
+ "01-101-1001", "WSTCIR", "Waist Circumference (cm)", 107, "cm", "WEEK 3",
+ "01-101-1002", "HEIGHT", "Height (cm)", 163, "cm", "SCREENING",
+ "01-101-1002", "WSTCIR", "Waist Circumference (cm)", 120, "cm", "SCREENING",
+ "01-101-1002", "WSTCIR", "Waist Circumference (cm)", 118, "cm", "WEEK 2",
+ "01-101-1002", "WSTCIR", "Waist Circumference (cm)", 117, "cm", "WEEK 3",
+ )
>
> derive_param_waisthgt(
+ advs,
+ by_vars = exprs(USUBJID, VISIT),
+ wstcir_code = "WSTCIR",
+ height_code = "HEIGHT",
+ set_values_to = exprs(
+ PARAMCD = "WAISTHGT",
+ PARAM = "Waist to Height Ratio"
+ ),
+ constant_by_vars = exprs(USUBJID),
+ get_unit_expr = admiral::extract_unit(PARAM)
+ )
Error in inner_join(hori_data, hori_const_data, by = vars2chr(constant_by_vars)) :
could not find function "inner_join"
Calls: derive_param_waisthgt -> derive_param_ratio -> derive_param_computed
Execution halted
Flavor: r-release-windows-x86_64
Version: 0.2.0
Check: tests
Result: ERROR
Running 'testthat.R' [6s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat) # nolint: undesirable_function_linter
> library(admiralmetabolic) # nolint: undesirable_function_linter
>
> test_check("admiralmetabolic")
Saving _problems/test-derive_param_ratio-77.R
Saving _problems/test-derive_param_ratio-127.R
i Unit conversion performed for "HIPCIR". Values converted from "in" to "cm".
Saving _problems/test-derive_param_waisthgt-26.R
i Unit conversion performed for "HEIGHT". Values converted from "cm" to "in".
Saving _problems/test-derive_param_waisthgt-123.R
i Unit conversion performed for "HIPCIR". Values converted from "cm" to "in".
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 9 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-derive_param_ratio.R:66:5'): derive_param_computed Test 2: Cross-check with derive_param_computed(),
new observations with constant denominator ──
Error in `inner_join(hori_data, hori_const_data, by = vars2chr(constant_by_vars))`: could not find function "inner_join"
Backtrace:
▆
1. └─admiralmetabolic:::derive_param_ratio(...) at test-derive_param_ratio.R:66:5
2. └─admiral::derive_param_computed(...)
── Error ('test-derive_param_ratio.R:116:5'): derive_param_computed Test 3: Cross-check with derive_param_computed(),
new observations with constant numerator ──
Error in `inner_join(hori_data, hori_const_data, by = vars2chr(constant_by_vars))`: could not find function "inner_join"
Backtrace:
▆
1. └─admiralmetabolic:::derive_param_ratio(...) at test-derive_param_ratio.R:116:5
2. └─admiral::derive_param_computed(...)
── Error ('test-derive_param_waisthgt.R:17:5'): derive_param_waisthgt Test 1: Cross-check with admiral::derive_param_computed(),
new observations with constant Height ──
Error in `inner_join(hori_data, hori_const_data, by = vars2chr(constant_by_vars))`: could not find function "inner_join"
Backtrace:
▆
1. └─admiralmetabolic::derive_param_waisthgt(...) at test-derive_param_waisthgt.R:17:5
2. └─admiralmetabolic:::derive_param_ratio(...)
3. └─admiral::derive_param_computed(...)
── Error ('test-derive_param_waisthgt.R:113:5'): derive_param_waisthgt Test 3: Cross-check with and without units conversion ──
Error in `inner_join(hori_data, hori_const_data, by = vars2chr(constant_by_vars))`: could not find function "inner_join"
Backtrace:
▆
1. ├─... %>% filter(PARAMCD == "WAISTHGT") at test-derive_param_waisthgt.R:113:5
2. ├─dplyr::filter(., PARAMCD == "WAISTHGT")
3. └─admiralmetabolic::derive_param_waisthgt(...)
4. └─admiralmetabolic:::derive_param_ratio(...)
5. └─admiral::derive_param_computed(...)
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 9 ]
Error:
! Test failures.
Execution halted
Flavor: r-release-windows-x86_64
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.