Skip to content

Commit 03e69ae

Browse files
committed
use is_finite() helper in check_transformation()
1 parent a219cc3 commit 03e69ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/scale-.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1387,7 +1387,7 @@ scale_flip_position <- function(scale) {
13871387
}
13881388

13891389
check_transformation <- function(x, transformed, name, arg = NULL, call = NULL) {
1390-
if (!any(is.finite(x) != is.finite(transformed))) {
1390+
if (!any(is_finite(x) != is_finite(transformed))) {
13911391
return(invisible())
13921392
}
13931393
if (is.null(arg)) {

0 commit comments

Comments
 (0)