(v3.0.0.9008) fix ggplot_sir(), support lighter green for SDD

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2025-07-17 17:05:41 +02:00
1 parent 8dab0a3730
commit d94bdd2c6a
23 files changed
+237 -164

No files matched your search

+1 -1
View File
@@ -445,7 +445,7 @@ ab_validate <- function(x, property, ...) {
# try to catch an error when inputting an invalid argument
# so the 'call.' can be set to FALSE
tryCatch(x[1L] %in% AMR_env$AB_lookup[1, property, drop = TRUE],
error = function(e) stop(e$message, call. = FALSE)
error = function(e) stop(conditionMessage(e), call. = FALSE)
)
if (!all(x %in% AMR_env$AB_lookup[, property, drop = TRUE])) {