- using R Under development (unstable) (2026-03-18 r89649)
- 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-04-01 20:57:12 UTC
- checking for file ‘WRI/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘WRI’ version ‘0.2.3’
- package encoding: UTF-8
- 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 whether package ‘WRI’ can be installed ... [26s/20s] OK
See the install log for details.
- used C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
- used SDK: ‘NA’
- checking installed package size ... OK
- 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/1s] 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/1s] 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 ... [3s/4s] OK
- checking Rd files ... [0s/0s] 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 contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [0s/0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... 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 ... [4s/5s] ERROR
Running examples in ‘WRI-Ex.R’ failed
The error most likely occurred in:
> ### Name: WARp
> ### Title: WAR(p) models: estimation and forecast
> ### Aliases: WARp
>
> ### ** Examples
>
> # Simulate a density time series represented in quantile functions
> # warSimData$sample.ts: A sample TS of quantile functions of length 100, taken from
> # the simulation experiments in Section 4 of Zhang et al. 2022.
>
> # warSimData$quantile.grid: The grid over which quantile functions in sample.ts are evaluated.
>
> warSimData <- warSim()
>
> p <- 3
> dSup <- seq(-2, 2, 0.02)
> expSup <- seq(-2, 2, 0.1)
>
> # Estimation: fit a WAR(3) model
> WARp_obj <- WARp(warSimData$sample.ts, warSimData$quantile.grid, p)
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/data.table/libs/data_table.so':
dlopen(/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/data.table/libs/data_table.so, 0x0006): Symbol not found: _IS_GROWABLE
Referenced from: <A2E3C2EA-FFF1-35E6-9621-C23F120F8433> /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/data.table/libs/data_table.so
Expected in: <0A9590E7-21FF-3C2D-B0BD-160A5BF4B716> /Library/Frameworks/R.framework/Versions/4.6-x86_64/Resources/lib/libR.dylib
Calls: WARp ... asNamespace -> loadNamespace -> library.dynam -> dyn.load
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [2s/3s] ERROR
Running ‘testthat.R’ [2s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(WRI)
>
> test_check("WRI")
Saving _problems/test-den2Q_dq-16.R
Saving _problems/test-wass_regress-30.R
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 5 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-den2Q_dq.R:16:9'): function den2Q_dq works for standard normal distribution ──
Error in `dyn.load(file, DLLpath = DLLpath, ...)`: unable to load shared object '/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/data.table/libs/data_table.so':
dlopen(/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/data.table/libs/data_table.so, 0x0006): Symbol not found: _IS_GROWABLE
Referenced from: <A2E3C2EA-FFF1-35E6-9621-C23F120F8433> /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/data.table/libs/data_table.so
Expected in: <0A9590E7-21FF-3C2D-B0BD-160A5BF4B716> /Library/Frameworks/R.framework/Versions/4.6-x86_64/Resources/lib/libR.dylib
Backtrace:
▆
1. ├─WRI::den2Q_qd(densityCurves, dSup, t_vec) at test-den2Q_dq.R:16:9
2. │ └─base::sapply(...)
3. │ └─base::lapply(X = X, FUN = FUN, ...)
4. │ └─WRI (local) FUN(X[[i]], ...)
5. └─base::loadNamespace(x)
6. ├─base::namespaceImportFrom(...)
7. │ └─base::asNamespace(ns)
8. └─base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
9. ├─base::namespaceImportFrom(...)
10. │ └─base::asNamespace(ns)
11. └─base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
12. └─base::library.dynam(lib, package, package.lib)
13. └─base::dyn.load(file, DLLpath = DLLpath, ...)
── Error ('test-wass_regress.R:30:9'): function wass_regress works for a trivial example ──
Error in `dyn.load(file, DLLpath = DLLpath, ...)`: unable to load shared object '/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/data.table/libs/data_table.so':
dlopen(/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/data.table/libs/data_table.so, 0x0006): Symbol not found: _IS_GROWABLE
Referenced from: <A2E3C2EA-FFF1-35E6-9621-C23F120F8433> /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/data.table/libs/data_table.so
Expected in: <0A9590E7-21FF-3C2D-B0BD-160A5BF4B716> /Library/Frameworks/R.framework/Versions/4.6-x86_64/Resources/lib/libR.dylib
Backtrace:
▆
1. ├─testthat::expect_equal(wass_R2(res), 0.974, tolerance = 0.01) at test-wass_regress.R:30:9
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─WRI::wass_R2(res)
5. │ └─base::sapply(...)
6. │ └─base::lapply(X = X, FUN = FUN, ...)
7. │ └─WRI (local) FUN(X[[i]], ...)
8. └─base::loadNamespace(x)
9. ├─base::namespaceImportFrom(...)
10. │ └─base::asNamespace(ns)
11. └─base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
12. ├─base::namespaceImportFrom(...)
13. │ └─base::asNamespace(ns)
14. └─base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
15. └─base::library.dynam(lib, package, package.lib)
16. └─base::dyn.load(file, DLLpath = DLLpath, ...)
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 5 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [11s/13s] ERROR
Error(s) in re-building vignettes:
--- re-building ‘WRI-vignette.Rmd’ using rmarkdown
strokeCTdensity package:WRI R Documentation
_ S_ t_ r_ o_ k_ e _ d_ a_ t_ a: _ c_ l_ i_ n_ i_ c_ a_ l, _ r_ a_ d_ i_ o_ l_ o_ g_ i_ c_ a_ l _ s_ c_ a_ l_ a_ r _ v_ a_ r_ i_ a_ b_ l_ e_ s _ a_ n_ d _ d_ e_ n_ s_ i_ t_ y _ c_ u_ r_ v_ e_ s
_ o_ f _ t_ h_ e _ h_ e_ m_ a_ t_ o_ m_ a _ o_ f _ 3_ 9_ 3 _ s_ t_ r_ o_ k_ e _ p_ a_ t_ i_ e_ n_ t_ s
_ D_ e_ s_ c_ r_ i_ p_ t_ i_ o_ n:
Stroke data: clinical, radiological scalar variables and density
curves of the hematoma of 393 stroke patients
_ F_ o_ r_ m_ a_ t:
a list of the following three fields:
densityCurve:
393-by-101 head CT hematoma densities as distributional
response
densitySupport:
length 101 common support vector
predictors:
393-by-9 matrix containing 9 scalar predictors
_ R_ e_ f_ e_ r_ e_ n_ c_ e_ s:
'Wasserstein F-tests and confidence bands for the Frechet
regression of density response curves, Alexander Petersen, Xi Liu
and Afshin A. Divani, 2019'
Quitting from WRI-vignette.Rmd:56-59 [unnamed-chunk-3]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `dyn.load()`:
! unable to load shared object '/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/data.table/libs/data_table.so':
dlopen(/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/data.table/libs/data_table.so, 0x0006): Symbol not found: _IS_GROWABLE
Referenced from: <A2E3C2EA-FFF1-35E6-9621-C23F120F8433> /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/data.table/libs/data_table.so
Expected in: <0A9590E7-21FF-3C2D-B0BD-160A5BF4B716> /Library/Frameworks/R.framework/Versions/4.6-x86_64/Resources/lib/libR.dylib
---
Backtrace:
▆
1. ├─WRI::den2Q_qd(densityCurves, dSup, t_vec = seq(0, 1, length.out = 120))
2. │ └─base::sapply(...)
3. │ └─base::lapply(X = X, FUN = FUN, ...)
4. │ └─WRI (local) FUN(X[[i]], ...)
5. └─base::loadNamespace(x)
6. ├─base::namespaceImportFrom(...)
7. │ └─base::asNamespace(ns)
8. └─base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
9. ├─base::namespaceImportFrom(...)
10. │ └─base::asNamespace(ns)
11. └─base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
12. └─base::library.dynam(lib, package, package.lib)
13. └─base::dyn.load(file, DLLpath = DLLpath, ...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'WRI-vignette.Rmd' failed with diagnostics:
unable to load shared object '/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/data.table/libs/data_table.so':
dlopen(/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/data.table/libs/data_table.so, 0x0006): Symbol not found: _IS_GROWABLE
Referenced from: <A2E3C2EA-FFF1-35E6-9621-C23F120F8433> /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/data.table/libs/data_table.so
Expected in: <0A9590E7-21FF-3C2D-B0BD-160A5BF4B716> /Library/Frameworks/R.framework/Versions/4.6-x86_64/Resources/lib/libR.dylib
--- failed re-building ‘WRI-vignette.Rmd’
SUMMARY: processing the following file failed:
‘WRI-vignette.Rmd’
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [7s/9s] OK
- DONE
Status: 3 ERRORs
- using check arguments '--no-clean-on-error '