- using R version 4.2.0 (2022-04-22)
- using platform: x86_64-apple-darwin17.0 (64-bit)
- using session charset: UTF-8
- checking for file ‘dtwSat/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘dtwSat’ version ‘1.0.0’
- 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 ‘dtwSat’ can be installed ... [8s/8s] OK
See the install log for details.
- 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 R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... 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 ... [6s/6s] 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 installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [2s/3s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [3s/3s] ERROR
Running ‘testthat.R’ [3s/3s]
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-twdtw_classify.R:24:1'): (code run outside of `test_that()`) ───
Error in `split.stars(x, c("time"))`: length(x) == 1 is not TRUE
Backtrace:
▆
1. ├─base::system.time(...) at test-twdtw_classify.R:24:0
2. └─dtwSat::twdtw_knn1(...)
3. ├─base::split(x, c("time"))
4. └─stars:::split.stars(x, c("time"))
5. └─base::stopifnot(length(x) == 1)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in ‘inst/doc’ ... OK
- checking running R code from vignettes ... [0s/0s] NONE
‘landuse-mapping.Rmd’ using ‘UTF-8’... [0s/0s] OK
- checking re-building of vignette outputs ... [3s/3s] ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘landuse-mapping.Rmd’ using rmarkdown
Quitting from lines 81-89 [unnamed-chunk-4] (landuse-mapping.Rmd)
Error: processing vignette 'landuse-mapping.Rmd' failed with diagnostics:
length(x) == 1 is not TRUE
--- failed re-building ‘landuse-mapping.Rmd’
SUMMARY: processing the following file failed:
‘landuse-mapping.Rmd’
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... OK
- DONE
Status: 2 ERRORs
- using check arguments '--no-clean-on-error '