Last updated on 2024-03-28 19:48:44 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.1.5 | 70.97 | 305.19 | 376.16 | OK | |
r-devel-linux-x86_64-debian-gcc | 0.1.5 | 55.94 | 212.77 | 268.71 | OK | |
r-devel-linux-x86_64-fedora-clang | 0.1.5 | 453.49 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 0.1.5 | 456.21 | OK | |||
r-devel-windows-x86_64 | 0.1.5 | 53.00 | 200.00 | 253.00 | OK | |
r-patched-linux-x86_64 | 0.1.5 | 69.93 | 287.63 | 357.56 | OK | |
r-release-linux-x86_64 | 0.1.5 | 60.52 | 276.50 | 337.02 | OK | |
r-release-macos-arm64 | 0.1.5 | 105.00 | OK | |||
r-release-macos-x86_64 | 0.1.5 | 291.00 | OK | |||
r-release-windows-x86_64 | 0.1.5 | 69.00 | 278.00 | 347.00 | OK | |
r-oldrel-macos-arm64 | 0.1.5 | 94.00 | ERROR | |||
r-oldrel-windows-x86_64 | 0.1.5 | 68.00 | 252.00 | 320.00 | OK |
Version: 0.1.5
Check: examples
Result: ERROR
Running examples in ‘rtrend-Ex.R’ failed
The error most likely occurred in:
> ### Name: slope_rast
> ### Title: calculate slope of rast object
> ### Aliases: slope_rast rast_filter_time
>
> ### ** Examples
>
> library(rtrend)
> library(terra)
terra 1.7.71
>
> f <- system.file("rast/MOD15A2_LAI_China_G050_2001-2020.tif", package = "rtrend")
> r <- rast(f)
> r
class : SpatRaster
dimensions : 80, 140, 20 (nrow, ncol, nlyr)
resolution : 0.5, 0.5 (x, y)
extent : 70, 140, 15, 55 (xmin, xmax, ymin, ymax)
coord. ref. : lon/lat WGS 84 (EPSG:4326)
source : MOD15A2_LAI_China_G050_2001-2020.tif
names : LAI, LAI, LAI, LAI, LAI, LAI, ...
min values : 0.000000, 0.000000, 0.000000, 0.00000, 0.000000, 0.000000, ...
max values : 5.692542, 5.479348, 5.585326, 5.33587, 5.822826, 5.533152, ...
time : 978307200 to 1577836800
> time(r)
[1] 978307200 1009843200 1041379200 1072915200 1104537600 1136073600
[7] 1167609600 1199145600 1230768000 1262304000 1293840000 1325376000
[13] 1356998400 1388534400 1420070400 1451606400 1483228800 1514764800
[19] 1546300800 1577836800
>
> slp <- slope_rast(r,
+ period = c(2001, 2020),
+ outfile = "LAI_trend.tif", overwrite = TRUE,
+ fun = rtrend::slope_mk, .progress = "none"
+ )
Error in as.POSIXlt.numeric(x, tz = tz(x)) : 'origin' must be supplied
Calls: slope_rast ... year -> year.default -> as.POSIXlt -> as.POSIXlt.numeric
Execution halted
Flavor: r-oldrel-macos-arm64
Version: 0.1.5
Check: tests
Result: ERROR
Running ‘testthat.R’ [3s/3s]
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
── Error ('test-slope_rast.R:9:3'): slope_rast works ───────────────────────────
Error in `as.POSIXlt.numeric(x, tz = tz(x))`: 'origin' must be supplied
Backtrace:
▆
1. ├─rtrend::slope_rast(...) at test-slope_rast.R:9:3
2. │ └─r %<>% rast_filter_time(period)
3. └─rtrend::rast_filter_time(., period)
4. ├─lubridate::year(time(r))
5. └─lubridate:::year.default(time(r))
6. ├─base::as.POSIXlt(x, tz = tz(x))
7. └─base::as.POSIXlt.numeric(x, tz = tz(x))
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 23 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-macos-arm64
Version: 0.1.5
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘slope_rast.Rmd’ using rmarkdown
Quitting from lines 20-33 [setup] (slope_rast.Rmd)
Error: processing vignette 'slope_rast.Rmd' failed with diagnostics:
'origin' must be supplied
--- failed re-building ‘slope_rast.Rmd’
SUMMARY: processing the following file failed:
‘slope_rast.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-oldrel-macos-arm64