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

Last updated on 2025-12-07 07:50:23 CET.

Package ERROR OK
damAOI 2 11

Package damAOI

Current CRAN status: ERROR: 2, OK: 11

Version: 0.1
Check: package dependencies
Result: ERROR Package required but not available: ‘leaflet’ Packages suggested but not available for checking: 'knitr', 'rmarkdown' VignetteBuilder package required for checking but not installed: ‘knitr’ See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’ manual. Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1
Check: tests
Result: ERROR Running 'testthat.R' [70s] 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