We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
anyNA()
1 parent bda9fa7 commit a394310Copy full SHA for a394310
R/xml_namespaces.R
@@ -93,7 +93,7 @@ xml_ns_rename <- function(old, ...) {
93
new <- c(...)
94
95
m <- match(names(new), names(old))
96
- if (any(is.na(m))) {
+ if (anyNA(m)) {
97
missing <- paste(names(new)[is.na(m)], collapse = ", ")
98
cli::cli_abort("Some prefixes [{missing}] don't already exist.")
99
}
0 commit comments