- using R version 4.6.1 (2026-06-24)
- using platform: x86_64-apple-darwin20
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 14.2.0
- running under: macOS Ventura 13.3.1
- using session charset: UTF-8
* current time: 2026-10-15 10:04:16 UTC
- checking for file ‘uqsa/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘uqsa’ version ‘0.8.1’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... INFO
Package suggested but not available for checking: ‘pbdMPI’
- 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 ‘uqsa’ can be installed ... [9s/12s] OK
See the install log for details.
- used C compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
- used SDK: ‘MacOSX11.3.1.sdk’
- checking installed package size ... INFO
installed size is 6.1Mb
sub-directories of 1Mb or more:
doc 1.9Mb
libs 3.2Mb
- checking package directory ... 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 code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [0s/0s] 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 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 ... [7s/9s] OK
- checking Rd files ... [1s/1s] OK
- checking Rd metadata ... 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 line endings in C/C++/Fortran sources/headers ... OK
- checking line endings in Makefiles ... OK
- checking compilation flags in Makevars ... OK
- checking for GNU extensions in Makefiles ... OK
- checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
- checking use of PKG_*FLAGS in Makefiles ... OK
- checking compiled code ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [5s/8s] 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
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [6s/9s] OK
Running ‘testthat.R’ [6s/8s]
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [26s/33s] OK
- checking PDF version of manual ... [9s/12s] OK
- DONE
Status: 1 ERROR