mirror of
https://github.com/msberends/AMR.git
synced 2026-11-16 06:30:48 +01:00
new mo_group_members()
This commit is contained in:
1 parent
7e7bc9d56e
commit
2899b3c840
10 files changed
+86
-26
No files matched your search
@@ -835,7 +835,7 @@ meet_criteria <- function(object, # can be literally `list(...)` for `allow_argu
|
||||
return(invisible())
|
||||
}
|
||||
|
||||
if (!is.null(allow_class)) {
|
||||
if (!is.null(allow_class) && !(suppressWarnings(all(is.na(object))) && allow_NA == TRUE)) {
|
||||
stop_ifnot(inherits(object, allow_class), "argument `", obj_name,
|
||||
"` must be ", format_class(allow_class, plural = isTRUE(has_length > 1)),
|
||||
", i.e. not be ", format_class(class(object), plural = isTRUE(has_length > 1)),
|
||||
|
||||
Reference in new issue
Block a user