CRAN Package Check Results for Maintainer ‘Chris Littleboy <chris.littleboy at stir.ac.uk>’

Last updated on 2025-12-03 05:50:41 CET.

Package ERROR OK
damAOI 1 12

Package damAOI

Current CRAN status: ERROR: 1, OK: 12

Version: 0.1
Check: tests
Result: ERROR Running 'testthat.R' [72s] 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/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(damAOI) > > test_check("damAOI") Saving _problems/test-makesystem-5.R [ FAIL 1 | WARN 25 | SKIP 0 | PASS 14 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-makesystem.R:5:3'): makesystem ───────────────────────────────── Error in `data.frame(name = vect(system[system$area == "reservoir", ])$name, elev = extract(dem, vect(system[system$area == "reservoir", ]), fun = "mean", ID = FALSE))`: arguments imply differing number of rows: 2, 0 Backtrace: ▆ 1. └─damAOI::makesystem(names, system, dem_system) at test-makesystem.R:5:3 2. └─base::data.frame(...) [ FAIL 1 | WARN 25 | SKIP 0 | PASS 14 ] Error: ! Test failures. Execution halted Flavor: r-oldrel-windows-x86_64

mirror server hosted at Truenetwork, Russian Federation.