Skip to content

Commit 37105af

Browse files
committed
TIL: is.vector(<Date>) is FALSE, whereas is_vector(<Date>) is TRUE
1 parent 6f1badc commit 37105af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/coord-.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,6 @@ check_coord_limits <- function(
271271
if (is.null(limits)) {
272272
return(invisible(NULL))
273273
}
274-
check_object(limits, is.vector, "a vector", arg = arg, call = call)
274+
check_object(limits, is_vector, "a vector", arg = arg, call = call)
275275
check_length(limits, 2L, arg = arg, call = call)
276276
}

0 commit comments

Comments
 (0)