1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-20 16:13:21 +02:00

(v2.1.1.9163) cleanup

This commit is contained in:
2025-02-27 14:04:29 +01:00
parent 68efddab3d
commit 07efc292bc
73 changed files with 2187 additions and 1715 deletions

View File

@ -33,8 +33,11 @@ library(AMR)
# add functions from the tinytest package (which we use for older R versions)
expect_inherits <- function(x, y, ...) {
expect(inherits(x, y),
failure_message = paste0("object has class ", paste0(class(x), collapse = "/"),
", required is class ", paste0(y, collapse = "/")))
failure_message = paste0(
"object has class ", paste0(class(x), collapse = "/"),
", required is class ", paste0(y, collapse = "/")
)
)
}
expect_stdout <- expect_output