CRAN Package Check Results for Package uqsa

Last updated on 2026-10-04 05:51:22 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.8.0 10.43 469.15 479.58 OK
r-devel-linux-x86_64-debian-gcc 0.8.1 6.92 638.95 645.87 OK
r-devel-linux-x86_64-fedora-clang 0.8.1 7.00 86.45 93.45 OK
r-devel-linux-x86_64-fedora-gcc 0.8.1 86.72 OK
r-devel-windows-x86_64 0.8.0 32.00 1078.00 1110.00 OK
r-patched-linux-x86_64 0.8.0 11.33 479.47 490.80 OK
r-release-linux-x86_64 0.8.1 OK
r-release-macos-arm64 0.8.0 3.00 47.00 50.00 OK
r-release-macos-x86_64 0.8.1 9.00 115.00 124.00 ERROR
r-release-windows-x86_64 0.8.0 21.00 981.00 1002.00 OK
r-oldrel-macos-arm64 0.8.0 4.00 81.00 85.00 OK
r-oldrel-macos-x86_64 0.8.1 9.00 119.00 128.00 ERROR
r-oldrel-windows-x86_64 0.8.1 30.00 513.00 543.00 OK

Check Details

Version: 0.8.1
Check: examples
Result: ERROR Running examples in ‘uqsa-Ex.R’ failed The error most likely occurred in: > ### Name: %as% > ### Title: %as% is a binary operator on strings with units in them > ### Aliases: %as% > > ### ** Examples > > ## needs `unit` utility (a system utility) > which_units <- Sys.which("units") > if (nzchar(which_units)){ + ver <- sub( + '^[^0-9]*([0-9.]+)$',"\\1", + head(system2(which_units, args = "--version", stdout = TRUE, stderr = FALSE),1) + ) + if (grepl("^ *[0-9.]+ *$",ver) && package_version(ver) > package_version("2.0")) { + y <- "21 cm" %as% "inches" + print(y) + y <- "12 nmol/L" %as% "mol/L" + print(y) + y <- "12 mol/m^3" %as% "mmol/L" + print(y) + } + } Warning in system2(which_units, args = "--version", stdout = TRUE, stderr = FALSE) : running command ''/usr/bin/units' --version 2>/dev/null' had status 3 Error in if (grepl("^ *[0-9.]+ *$", ver) && package_version(ver) > package_version("2.0")) { : missing value where TRUE/FALSE needed Execution halted Flavors: r-release-macos-x86_64, r-oldrel-macos-x86_64