Last updated on 2025-03-13 14:52:36 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 4.8.0 | 457.84 | 173.96 | 631.80 | OK | |
r-devel-linux-x86_64-debian-gcc | 4.8.0 | 297.78 | 110.93 | 408.71 | OK | |
r-devel-linux-x86_64-fedora-clang | 4.8.0 | 1073.25 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 4.8.0 | 1062.35 | OK | |||
r-devel-macos-arm64 | 4.8.0 | 131.00 | OK | |||
r-devel-macos-x86_64 | 4.8.0 | 239.00 | OK | |||
r-devel-windows-x86_64 | 4.8.0 | 343.00 | 209.00 | 552.00 | ERROR | |
r-patched-linux-x86_64 | 4.8.0 | OK | ||||
r-release-linux-x86_64 | 4.8.0 | 399.32 | 164.94 | 564.26 | OK | |
r-release-macos-arm64 | 4.8.0 | 187.00 | NOTE | |||
r-release-macos-x86_64 | 4.8.0 | 222.00 | NOTE | |||
r-release-windows-x86_64 | 4.8.0 | 340.00 | 253.00 | 593.00 | NOTE | |
r-oldrel-macos-arm64 | 4.7.0 | NOTE | ||||
r-oldrel-macos-x86_64 | 4.8.0 | 239.00 | NOTE | |||
r-oldrel-windows-x86_64 | 4.8.0 | 449.00 | 313.00 | 762.00 | NOTE |
Version: 4.8.0
Check: examples
Result: ERROR
Running examples in 'medfate-Ex.R' failed
The error most likely occurred in:
> ### Name: plot.spwb_day
> ### Title: Plots simulation results for one day
> ### Aliases: plot.spwb_day plot.growth_day plot.pwb_day
>
> ### ** Examples
>
> #Load example daily meteorological data
> data(examplemeteo)
>
> #Load example plot plant data
> data(exampleforest)
>
> #Default species parameterization
> data(SpParamsMED)
>
> #Define soil with default soil params (2 layers)
> examplesoil <- defaultSoilParams(4)
>
> #Switch to 'Sperry' transpiration mode
> control <- defaultControl("Sperry")
>
> #Enable subdaily results for plotting
> control["subdailyResults"] <- TRUE
>
> #Initialize model inputs
> x2 <- spwbInput(exampleforest,examplesoil, SpParamsMED, control)
>
> #Simulate one day only
> d <- 100
> date <- examplemeteo$dates[d]
> meteovec <- unlist(examplemeteo[d,])
> sd2 <- spwb_day(x2, date, meteovec,
+ latitude = 41.82592, elevation = 100, slope= 0, aspect = 0)
Package 'meteoland' [ver. 2.2.3]
Error in spwb_day(x2, date, meteovec, latitude = 41.82592, elevation = 100, :
NA Idf
Execution halted
Flavor: r-devel-windows-x86_64
Version: 4.8.0
Check: tests
Result: ERROR
Running 'testthat.R' [28s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(medfate)
Package 'medfate' [ver. 4.8.0]
>
> test_check("medfate")
Package 'meteoland' [ver. 2.2.3]
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
c++ error: NA Idf
[ FAIL 10 | WARN 0 | SKIP 0 | PASS 453 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_growth.R:105:3'): growth can be run disabling output ───────────
Error in `medfate::growth_day(growthInput(exampleforest, examplesoil, SpParamsMED,
control), date, meteovec, latitude = 41.82592, elevation = 100,
slope = 0, aspect = 0, modifyInput = FALSE)`: NA Idf
Backtrace:
▆
1. ├─testthat::expect_s3_class(...) at test_growth.R:105:3
2. │ └─testthat::quasi_label(enquo(object), arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─medfate::growth_day(...)
── Error ('test_growth.R:120:3'): growth_day gives same result with inner and direct calls ──
Error in `medfate::growth_day_inner(ic, x2, date, meteovec, latitude = 41.82592,
elevation = 100, slope = 0, aspect = 0, modifyInput = FALSE)`: NA Idf
Backtrace:
▆
1. └─medfate::growth_day_inner(...) at test_growth.R:120:3
── Error ('test_growth.R:156:3'): growth_day gives same result with inner and direct calls with general communication ──
Error in `medfate::growth_day(x2d, date, meteovec, latitude = 41.82592,
elevation = 100, slope = 0, aspect = 0, modifyInput = TRUE)`: NA Idf
Backtrace:
▆
1. └─medfate::growth_day(...) at test_growth.R:156:3
── Error ('test_post_processing.R:148:5'): Can produce all advanced subdaily spwb plots ──
Error in `t.default(ori)`: argument is not a matrix
Backtrace:
▆
1. ├─testthat::expect_s3_class(...) at test_post_processing.R:148:5
2. │ └─testthat::quasi_label(enquo(object), arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::plot(S2, "LeafPsi", subdaily = TRUE)
5. └─medfate::plot.spwb(S2, "LeafPsi", subdaily = TRUE)
6. └─medfate:::.plotsubdaily(...)
7. └─medfate:::.extractSubdaily(x, "SunlitLeaves$Psi", dates)
8. ├─base::t(ori)
9. └─base::t.default(ori)
── Error ('test_post_processing.R:216:5'): Can produce all advanced spwb_day plots ──
Error in `spwb_day(x2, examplemeteo$dates[d1], unlist(examplemeteo[d1,
]), latitude = 41.82592, elevation = 100, slope = 0, aspect = 0)`: NA Idf
Backtrace:
▆
1. └─medfate::spwb_day(...) at test_post_processing.R:216:5
── Error ('test_post_processing.R:345:5'): Can produce all advanced subdaily growth plots ──
Error in `matrix(nrow = numDates * numSteps, ncol = ncols + 1)`: invalid 'ncol' value (too large or NA)
Backtrace:
▆
1. ├─testthat::expect_s3_class(...) at test_post_processing.R:345:5
2. │ └─testthat::quasi_label(enquo(object), arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::plot(G2, "GrossPhotosynthesis", subdaily = TRUE)
5. └─medfate::plot.growth(G2, "GrossPhotosynthesis", subdaily = TRUE)
6. └─medfate:::.plotsubdaily(...)
7. └─medfate:::.extractSubdaily(x, type, dates)
8. ├─base::data.frame(...)
9. └─base::matrix(nrow = numDates * numSteps, ncol = ncols + 1)
── Error ('test_post_processing.R:379:5'): Can produce all advanced growth_day plots ──
Error in `growth_day(x2, examplemeteo$dates[d1], unlist(examplemeteo[d1,
]), latitude = 41.82592, elevation = 100, slope = 0, aspect = 0)`: NA Idf
Backtrace:
▆
1. └─medfate::growth_day(...) at test_post_processing.R:379:5
── Error ('test_pre_processing.R:52:3'): Stomatal regulation plot can be shown ──
<Rcpp::exception/C++Error/error/condition>
Error: NA Idf
Backtrace:
▆
1. ├─testthat::expect_s3_class(...) at test_pre_processing.R:52:3
2. │ └─testthat::quasi_label(enquo(object), arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─medfate::transp_stomatalRegulationPlot(...)
5. └─medfate::transp_transpirationSperry(...)
── Error ('test_spwb.R:114:3'): spwb_day gives same result with inner and direct calls ──
Error in `medfate::spwb_day(x2, date, meteovec, latitude = 41.82592, elevation = 100,
slope = 0, aspect = 0, modifyInput = FALSE)`: NA Idf
Backtrace:
▆
1. └─medfate::spwb_day(...) at test_spwb.R:114:3
── Error ('test_spwb.R:149:3'): spwb_day gives same result with inner and direct calls with general communication ──
Error in `medfate::spwb_day_inner(ic, x2i, date, meteovec, latitude = 41.82592,
elevation = 100, slope = 0, aspect = 0, modifyInput = TRUE)`: NA Idf
Backtrace:
▆
1. └─medfate::spwb_day_inner(...) at test_spwb.R:149:3
[ FAIL 10 | WARN 0 | SKIP 0 | PASS 453 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-x86_64
Version: 4.8.0
Check: installed package size
Result: NOTE
installed size is 52.7Mb
sub-directories of 1Mb or more:
libs 51.4Mb
Flavors: r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Version: 4.7.0
Check: installed package size
Result: NOTE
installed size is 50.4Mb
sub-directories of 1Mb or more:
libs 49.1Mb
Flavor: r-oldrel-macos-arm64