Last updated on 2025-01-30 20:48:41 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 2.5.1 | 14.73 | 212.31 | 227.04 | OK | |
r-devel-linux-x86_64-debian-gcc | 2.5.1 | 10.14 | 123.12 | 133.26 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 2.5.1 | 360.02 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 2.5.1 | 359.94 | OK | |||
r-devel-windows-x86_64 | 2.5.1 | 17.00 | 248.00 | 265.00 | OK | |
r-patched-linux-x86_64 | 2.5.1 | 14.83 | 200.63 | 215.46 | OK | |
r-release-linux-x86_64 | 2.5.1 | 14.12 | 199.03 | 213.15 | OK | |
r-release-macos-arm64 | 2.5.1 | 118.00 | OK | |||
r-release-macos-x86_64 | 2.5.1 | 365.00 | OK | |||
r-release-windows-x86_64 | 2.5.1 | 16.00 | 256.00 | 272.00 | OK | |
r-oldrel-macos-arm64 | 2.5.1 | 124.00 | OK | |||
r-oldrel-macos-x86_64 | 2.5.1 | 231.00 | OK | |||
r-oldrel-windows-x86_64 | 2.5.1 | 20.00 | 309.00 | 329.00 | OK |
Version: 2.5.1
Check: examples
Result: ERROR
Running examples in ‘SWMPr-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: decomp
> ### Title: Simple trend decomposition
> ### Aliases: decomp decomp.swmpr decomp.default
>
> ### ** Examples
>
>
> ## get data
> data(apadbwq)
> swmp1 <- apadbwq
>
> ## subset for daily decomposition
> dat <- subset(swmp1, subset = c('2013-07-01 00:00', '2013-07-31 00:00'))
>
> ## decomposition and plot
> test <- decomp(dat, param = 'do_mgl', frequency = 'daily')
Error in `/.difftime`(24 * 60, chk_step) :
second argument of / cannot be a "difftime" object
Calls: decomp ... decomp.swmpr -> decomp -> decomp.default -> /.difftime
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 2.5.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [60s/78s]
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(SWMPr)
Loading required package: ggplot2
Loading required package: zoo
Attaching package: 'zoo'
The following objects are masked from 'package:base':
as.Date, as.Date.numeric
>
> test_check("SWMPr")
ℹ Google's Terms of Service: <https://mapsplatform.google.com>
Stadia Maps' Terms of Service: <https://stadiamaps.com/terms-of-service/>
OpenStreetMap's Tile Usage Policy: <https://operations.osmfoundation.org/policies/tiles/>
ℹ Please cite ggmap if you use it! Use `citation("ggmap")` for details.
Importing...
Estimating ecosystem metabolism...
4.172 sec elapsed
Loading files...
apadbwq.csv
Data imported...
Loading files...
apaebmet.csv
Data imported...
Loading files...
apacpnut.csv
Data imported...
Loading files...
apacp2nut.csv
Data imported...
`geom_smooth()` using formula = 'y ~ x'
`geom_smooth()` using formula = 'y ~ x'
`geom_smooth()` using formula = 'y ~ x'
`geom_smooth()` using formula = 'y ~ x'
`geom_smooth()` using formula = 'y ~ x'
`geom_smooth()` using formula = 'y ~ x'
Processing QAQC columns...
QAQC processed...[ FAIL 2 | WARN 18 | SKIP 1 | PASS 216 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test-import_local.R:81:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-decomp.R:5:3'): decomp decomposes the input data correctly ─────
Error in ``/.difftime`(24 * 60, chk_step)`: second argument of / cannot be a "difftime" object
Backtrace:
▆
1. ├─SWMPr::decomp(dcmdat, param = "do_mgl", frequency = "daily") at test-decomp.R:5:3
2. └─SWMPr:::decomp.swmpr(dcmdat, param = "do_mgl", frequency = "daily")
3. ├─SWMPr::decomp(...)
4. └─SWMPr:::decomp.default(...)
5. └─base::`/.difftime`(24 * 60, chk_step)
── Error ('test-import_local.R:126:3'): import_local works with downstream functions when keep_qaqcstatus = T ──
Error in ``/.difftime`(24 * 60, chk_step)`: second argument of / cannot be a "difftime" object
Backtrace:
▆
1. ├─SWMPr::decomp(datin, param = "do_mgl", frequency = "daily") at test-import_local.R:126:3
2. └─SWMPr:::decomp.swmpr(datin, param = "do_mgl", frequency = "daily")
3. ├─SWMPr::decomp(...)
4. └─SWMPr:::decomp.default(...)
5. └─base::`/.difftime`(24 * 60, chk_step)
[ FAIL 2 | WARN 18 | SKIP 1 | PASS 216 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.