We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41f6ee6 commit 31566a0Copy full SHA for 31566a0
tests/testthat/test-qenv_get_code.R
@@ -648,7 +648,8 @@ testthat::test_that("understands @ usage and do not treat rhs of @ as objects (o
648
"a@x <- a@x + 2",
649
"a@x <- x@a"
650
)
651
- q <- eval_code(qenv(), code)
+ q <- qenv()
652
+ q@code <- code # we don't use eval_code so the code is not run
653
testthat::expect_identical(
654
get_code(q, names = "x"),
655
paste(
0 commit comments