From 9cfbd6ee5c4bc85daf4e249fbe09d53082df60ee Mon Sep 17 00:00:00 2001 From: Tomasz Kalinowski Date: Tue, 10 Sep 2024 17:04:02 -0400 Subject: [PATCH] Can't use `\()` yet. --- tests/testthat/test-constructor.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testthat/test-constructor.R b/tests/testthat/test-constructor.R index d577bc8a..0796ece5 100644 --- a/tests/testthat/test-constructor.R +++ b/tests/testthat/test-constructor.R @@ -116,7 +116,7 @@ test_that("can create constructors with missing or lazy defaults", { ), # dynamic property, not a constructor argument - age = new_property(class = class_any, getter = \(self) { + age = new_property(class = class_any, getter = function(self) { Sys.Date() - self@birthdate }) )