CRAN Package Check Results for Package airGR

Last updated on 2021-01-23 22:55:01 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.4.3.65 13.83 114.96 128.79 OK
r-devel-linux-x86_64-debian-gcc 1.6.9.27 11.55 104.68 116.23 OK
r-devel-linux-x86_64-fedora-clang 1.6.9.27 195.50 OK
r-devel-linux-x86_64-fedora-gcc 1.6.9.27 181.72 OK
r-devel-windows-ix86+x86_64 1.4.3.65 31.00 206.00 237.00 OK
r-patched-linux-x86_64 1.6.9.27 13.08 130.01 143.09 OK
r-patched-solaris-x86 1.6.9.27 222.30 OK
r-release-linux-x86_64 1.6.9.27 13.38 128.85 142.23 OK
r-release-macos-x86_64 1.4.3.65 OK
r-release-windows-ix86+x86_64 1.6.9.27 33.00 265.00 298.00 OK
r-oldrel-macos-x86_64 1.6.9.27 ERROR
r-oldrel-windows-ix86+x86_64 1.4.3.65 25.00 196.00 221.00 OK

Check Details

Version: 1.6.9.27
Check: examples
Result: ERROR
    Running examples in ‘airGR-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: RunModel_GR1A
    > ### Title: Run with the GR1A hydrological model
    > ### Aliases: RunModel_GR1A
    >
    > ### ** Examples
    >
    > library(airGR)
    >
    > ## loading catchment data
    > data(L0123001)
    >
    > ## conversion of example data from daily to yearly time step
    > TabSeries <- data.frame(DatesR = BasinObs$DatesR,
    + P = BasinObs$P,
    + E = BasinObs$E,
    + Qmm = BasinObs$Qmm)
    > TabSeries <- TabSeries[TabSeries$DatesR < "2012-09-01", ]
    > BasinObs <- SeriesAggreg(TabSeries, Format = "%Y",
    + YearFirstMonth = 09,
    + ConvertFun = c("sum", "sum", "sum"))
    >
    > ## preparation of the InputsModel object
    > InputsModel <- CreateInputsModel(FUN_MOD = RunModel_GR1A, DatesR = BasinObs$DatesR,
    + Precip = BasinObs$P, PotEvap = BasinObs$E)
    Warning in CreateInputsModel(FUN_MOD = RunModel_GR1A, DatesR = BasinObs$DatesR, :
     Values < 0 or NA values detected in 'Precip' series
    Warning in CreateInputsModel(FUN_MOD = RunModel_GR1A, DatesR = BasinObs$DatesR, :
     Values < 0 or NA values detected in 'PotEvap' series
    Error in CreateInputsModel(FUN_MOD = RunModel_GR1A, DatesR = BasinObs$DatesR, :
     time series could not be trunced since missing values were detected at the last time-step
    Execution halted
Flavor: r-oldrel-macos-x86_64

Version: 1.6.9.27
Check: tests
Result: ERROR
     Running ‘testthat.R’ [8s/8s]
    Running the tests in ‘tests/testthat.R’ failed.
    Last 13 lines of output:
     > test_check("airGR")
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     ● On CRAN (6)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure (test-SeriesAggreg.R:71:3): Check SeriesAggreg output values on yearly aggregation ──
     `GoodValues` not equal to `TestedValues`.
     3/3 mismatches (average diff: 0.58)
     [1] 860 - 859 == 1.550
     [2] 770 - 770 == 0.032
     [3] 499 - 499 == -0.159
    
     [ FAIL 1 | WARN 0 | SKIP 6 | PASS 51 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-macos-x86_64