You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
character(0)
── Skip: get_message ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Reason: empty test
The text was updated successfully, but these errors were encountered:
gael-millot
changed the title
testthat::test_that() : output of a function using utils::capture.output() is different outside ans inside testthat::test_that()testthat::test_that() : output of a function using utils::capture.output() is different outside and inside testthat::test_that()Apr 10, 2025
gael-millot
changed the title
testthat::test_that() : output of a function using utils::capture.output() is different outside and inside testthat::test_that()testthat::test_that() : output of utils::capture.output() is different outside and inside testthat::test_that()Apr 11, 2025
Uh oh!
There was an error while loading. Please reload this page.
Hello.
I do not understand this behavior. Is it a bug ?
If not, how to solve this?
Thanks !
Gael.
In the follwing code,
print(output)
should return"HELLO"
, notcharacter(0)
:character(0)
── Skip: get_message ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Reason: empty test
[1] "HELLO"
Another more complicate example:
[1] "HELLO"
character(0)
── Skip: get_message ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Reason: empty test
The text was updated successfully, but these errors were encountered: