Skip to content

Commit fa600d6

Browse files
committed
revert change in import-standalone
1 parent 849d541 commit fa600d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/import-standalone-types-check.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ check_character <- function(x,
476476

477477
if (!missing(x)) {
478478
if (is_character(x)) {
479-
if (!allow_na && anyNA(x)) {
479+
if (!allow_na && any(is.na(x))) {
480480
abort(
481481
sprintf("`%s` can't contain NA values.", arg),
482482
arg = arg,

0 commit comments

Comments
 (0)