Conversation
|
I can't reproduce this, the test passes in the build pane, and also in an RStudio terminal. :( Can you check your config for potentially related env vars and options? |
|
I've removed |
|
Yeah, same here. Same RStudio, R 4.3.2, no profile, no env vars, no test failure. The stack trace, otoh, looks pretty good, I might be able to work something out there. |
|
What's your theme? |
|
Looks same as you: rstudioapi::getThemeInfo()
#> $editor
#> [1] "Chrome"
#>
#> $global
#> [1] "Modern"
#>
#> $dark
#> [1] FALSE
#>
#> $foreground
#> [1] "rgb(0, 0, 0)"
#>
#> $background
#> [1] "rgb(255, 255, 255)" |
|
What's your testthat version? |
|
testthat 3.2.1 Freshly re-installed and re-checked, for good measure. Still seeing my same result. |
|
@jennybc Is this still relevant? Can you still reproduce it? |
|
I'm going to close this, because it's sort of foggy for me now. If it's still real, I'll encounter it again and we can discuss then. |
As per slack discussion
This test passes when executed via
test_active_file()ortest()in the RStudio console, but fails in the RStudio build pane or in a terminal inside RStudio. It passes via any method when run via R in a (non-RStudio) terminal.Update: the CI test failures seem to just be snapshot related and are not what I'm seeing, which I'll copy/paste below.