From f0b2ba4116483664c1e6f852877c85555fd7f7e5 Mon Sep 17 00:00:00 2001 From: Hiroaki Yutani Date: Tue, 26 Nov 2024 13:54:32 +0900 Subject: [PATCH] Fix a minor deprecated warning about `trans` arg --- tests/testthat/test-scale-binned.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testthat/test-scale-binned.R b/tests/testthat/test-scale-binned.R index 1f558b6c77..527d862339 100644 --- a/tests/testthat/test-scale-binned.R +++ b/tests/testthat/test-scale-binned.R @@ -47,7 +47,7 @@ test_that("binned limits should not compute out-of-bounds breaks", { test_that("binned scales can use limits and transformations simultaneously (#6144)", { s <- scale_x_binned( limits = function(x) x + 1, - trans = transform_log10() + transform = transform_log10() ) s$train(c(0, 1)) # c(1, 10) in untransformed space out <- s$get_limits()