- using R Under development (unstable) (2025-02-20 r87771)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 20.1.0-rc2
flang version 20.1.0-rc2
- running under: Fedora Linux 40 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘ebvcube/DESCRIPTION’ ... OK
- this is package ‘ebvcube’ version ‘0.3.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 ‘ebvcube’ can be installed ... [14s/28s] OK
See the install log for details.
- checking installed package size ... OK
- checking package 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 ... 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 use of S3 registration ... 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 ... [34s/90s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... 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 ... OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking examples ... OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [64s/114s] ERROR
Running ‘testthat.R’ [64s/113s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(ebvcube)
>
> test_check("ebvcube")
[ FAIL 9 | WARN 0 | SKIP 0 | PASS 194 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-plots.R:4:3'): test ebv_trend mean ─────────────────────────────
Error in `h(simpleError(msg, call))`: error in evaluating the argument 'i' in selecting a method for function '[<-': '==' between a DelayedArray object and an array is not supported yet
Backtrace:
▆
1. ├─ebvcube::ebv_trend(file, "metric_1/ebv_cube", 1, "mean", verbose = FALSE) at test-plots.R:4:3
2. │ ├─base::replace(data.all, data.all == fillvalue, c(NA))
3. │ │ └─methods (local) `[<-`(`*tmp*`, list, value = `<lgl>`)
4. │ ├─data.all == fillvalue
5. │ └─data.all == fillvalue
6. │ └─base::stop(...)
7. └─base::.handleSimpleError(...)
8. └─base (local) h(simpleError(msg, call))
── Error ('test-plots.R:27:3'): test ebv_trend min ─────────────────────────────
Error in `h(simpleError(msg, call))`: error in evaluating the argument 'i' in selecting a method for function '[<-': '==' between a DelayedArray object and an array is not supported yet
Backtrace:
▆
1. ├─ebvcube::ebv_trend(file, "metric_1/ebv_cube", 1, "min", verbose = FALSE) at test-plots.R:27:3
2. │ ├─base::replace(data.all, data.all == fillvalue, c(NA))
3. │ │ └─methods (local) `[<-`(`*tmp*`, list, value = `<lgl>`)
4. │ ├─data.all == fillvalue
5. │ └─data.all == fillvalue
6. │ └─base::stop(...)
7. └─base::.handleSimpleError(...)
8. └─base (local) h(simpleError(msg, call))
── Error ('test-plots.R:37:3'): test ebv_trend max ─────────────────────────────
Error in `h(simpleError(msg, call))`: error in evaluating the argument 'i' in selecting a method for function '[<-': '==' between a DelayedArray object and an array is not supported yet
Backtrace:
▆
1. ├─ebvcube::ebv_trend(...) at test-plots.R:37:3
2. │ ├─base::replace(data.all, data.all == fillvalue, c(NA))
3. │ │ └─methods (local) `[<-`(`*tmp*`, list, value = `<lgl>`)
4. │ ├─data.all == fillvalue
5. │ └─data.all == fillvalue
6. │ └─base::stop(...)
7. └─base::.handleSimpleError(...)
8. └─base (local) h(simpleError(msg, call))
── Error ('test-plots.R:47:3'): test ebv_trend boxplot ─────────────────────────
Error in `h(simpleError(msg, call))`: error in evaluating the argument 'i' in selecting a method for function '[<-': '==' between a DelayedArray object and an array is not supported yet
Backtrace:
▆
1. ├─ebvcube::ebv_trend(...) at test-plots.R:47:3
2. │ ├─base::replace(data.all, data.all == fillvalue, c(NA))
3. │ │ └─methods (local) `[<-`(`*tmp*`, list, value = `<lgl>`)
4. │ ├─data.all == fillvalue
5. │ └─data.all == fillvalue
6. │ └─base::stop(...)
7. └─base::.handleSimpleError(...)
8. └─base (local) h(simpleError(msg, call))
── Error ('test-plots.R:57:3'): test ebv_trend metric ──────────────────────────
Error in `h(simpleError(msg, call))`: error in evaluating the argument 'i' in selecting a method for function '[<-': '==' between a DelayedArray object and an array is not supported yet
Backtrace:
▆
1. ├─ebvcube::ebv_trend(...) at test-plots.R:57:3
2. │ ├─base::replace(data.all, data.all == fillvalue, c(NA))
3. │ │ └─methods (local) `[<-`(`*tmp*`, list, value = `<lgl>`)
4. │ ├─data.all == fillvalue
5. │ └─data.all == fillvalue
6. │ └─base::stop(...)
7. └─base::.handleSimpleError(...)
8. └─base (local) h(simpleError(msg, call))
── Error ('test-plots.R:69:3'): test ebv_map 1 ─────────────────────────────────
Error in `h(simpleError(msg, call))`: error in evaluating the argument 'i' in selecting a method for function '[<-': '==' between a DelayedArray object and an array is not supported yet
Backtrace:
▆
1. ├─ebvcube::ebv_map(...) at test-plots.R:69:3
2. │ ├─methods (local) `[<-`(`*tmp*`, data.all == nodata, value = `<lgl>`)
3. │ ├─data.all == nodata
4. │ └─data.all == nodata
5. │ └─base::stop(...)
6. └─base::.handleSimpleError(...)
7. └─base (local) h(simpleError(msg, call))
── Error ('test-plots.R:82:3'): test ebv_map: col_rev ──────────────────────────
Error in `h(simpleError(msg, call))`: error in evaluating the argument 'i' in selecting a method for function '[<-': '==' between a DelayedArray object and an array is not supported yet
Backtrace:
▆
1. ├─ebvcube::ebv_map(...) at test-plots.R:82:3
2. │ ├─methods (local) `[<-`(`*tmp*`, data.all == nodata, value = `<lgl>`)
3. │ ├─data.all == nodata
4. │ └─data.all == nodata
5. │ └─base::stop(...)
6. └─base::.handleSimpleError(...)
7. └─base (local) h(simpleError(msg, call))
── Error ('test-plots.R:97:3'): test ebv_map: no countries, one class only ─────
Error in `h(simpleError(msg, call))`: error in evaluating the argument 'i' in selecting a method for function '[<-': '==' between a DelayedArray object and an array is not supported yet
Backtrace:
▆
1. ├─ebvcube::ebv_map(...) at test-plots.R:97:3
2. │ ├─methods (local) `[<-`(`*tmp*`, data.all == nodata, value = `<lgl>`)
3. │ ├─data.all == nodata
4. │ └─data.all == nodata
5. │ └─base::stop(...)
6. └─base::.handleSimpleError(...)
7. └─base (local) h(simpleError(msg, call))
── Error ('test-write.R:35:3'): test ebv_write and ebv_read DelayedMatrix Array ──
Error in `h(simpleError(msg, call))`: error in evaluating the argument 'i' in selecting a method for function '[<-': '==' between a DelayedArray object and an array is not supported yet
Backtrace:
▆
1. ├─ebvcube::ebv_read(...) at test-write.R:35:3
2. │ ├─base::replace(h5array, h5array == fillvalue, c(NA))
3. │ │ └─methods (local) `[<-`(`*tmp*`, list, value = `<lgl>`)
4. │ ├─h5array == fillvalue
5. │ └─h5array == fillvalue
6. │ └─base::stop(...)
7. └─base::.handleSimpleError(...)
8. └─base (local) h(simpleError(msg, call))
[ FAIL 9 | WARN 0 | SKIP 0 | PASS 194 ]
Error: Test failures
Execution halted
- checking PDF version of manual ... [8s/18s] OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR