- using R version 4.3.3 (2024-02-29)
- using platform: aarch64-apple-darwin20 (64-bit)
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 12.2.0
- running under: macOS Ventura 13.4
- using session charset: UTF-8
- checking for file ‘uwot/DESCRIPTION’ ... OK
- this is package ‘uwot’ version ‘0.2.2’
- 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 ‘uwot’ can be installed ... [26s/28s] OK
See the install log for details.
- used C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’
- used SDK: ‘MacOSX11.3.sdk’
- checking installed package size ... NOTE
installed size is 14.0Mb
sub-directories of 1Mb or more:
libs 13.0Mb
- 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 R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/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 ... [4s/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 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 ... [10s/10s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [40s/41s] ERROR
Running ‘testthat.R’ [40s/41s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(uwot)
Loading required package: Matrix
>
> test_check("uwot")
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 683 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_normlaplacian.R:36:5'): normalized laplacian ───────────────────
Error in `irlba::irlba(L, nv = n, nu = 0, maxit = iters)`: function 'as_cholmod_sparse' not provided by package 'Matrix'
Backtrace:
▆
1. └─uwot:::irlba_tsvd_normalized_laplacian_init(sparse_m) at test_normlaplacian.R:36:5
2. └─uwot:::irlba_spectral_tsvd(L, ndim + 1)
3. ├─base::suppressWarnings(...)
4. │ └─base::withCallingHandlers(...)
5. └─irlba::irlba(L, nv = n, nu = 0, maxit = iters)
── Error ('test_output.R:315:3'): (code run outside of `test_that()`) ──────────
Error in `irlba::irlba(L, nv = n, nu = 0, maxit = iters)`: function 'as_cholmod_sparse' not provided by package 'Matrix'
Backtrace:
▆
1. └─uwot::umap(...) at test_output.R:315:3
2. └─uwot:::uwot(...)
3. └─uwot:::spectral_init(...)
4. └─uwot:::irlba_tsvd_normalized_laplacian_init(A, ndim, verbose = FALSE)
5. └─uwot:::irlba_spectral_tsvd(L, ndim + 1)
6. ├─base::suppressWarnings(...)
7. │ └─base::withCallingHandlers(...)
8. └─irlba::irlba(L, nv = n, nu = 0, maxit = iters)
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 683 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in ‘inst/doc’ ... OK
- checking re-building of vignette outputs ... [11s/12s] OK
- checking PDF version of manual ... [5s/5s] OK
- DONE
Status: 1 ERROR, 1 NOTE
- using check arguments '--no-clean-on-error '