Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testunit fails #1924

Open
nunotexbsd opened this issue Jan 26, 2024 · 1 comment
Open

testunit fails #1924

nunotexbsd opened this issue Jan 26, 2024 · 1 comment
Labels
upkeep maintenance, infrastructure, and similar

Comments

@nunotexbsd
Copy link

nunotexbsd commented Jan 26, 2024

testthat 3.2.1 / R 4.3.2

Any hints on how to run this test without failing?
Isn't this test to be bypassed when LANG=C on #1689 ?

Thanks

== Failed tests ================================================================
-- Failure ('test-capture-output.R:6:3'): multiplication works -----------------
capture_output_lines(cat(latin1)) (`actual`) not equal to `utf8` (`expected`).

`Encoding(actual)`:   "unknown"
`Encoding(expected)`: "UTF-8"

`actual`:   "M?chler"
`expected`: "M\u00e4chler"
-- Failure ('test-local.R:24:3'): local context is 'as promised' inside test_that() --
Sys.getenv("LANGUAGE") (`actual`) not equal to "en" (`expected`).

`actual`:   "C"
`expected`: "en"

[ FAIL 2 | WARN 12 | SKIP 123 | PASS 828 ]
Deleting unused snapshots:
* R4.0/snapshot-file/version.txt
* R4.1/snapshot-file/version.txt
* R4.2/snapshot-file/version.txt
* R4.3/snapshot-file/version.txt
* snapshot-file/a.txt
* snapshot-file/foo.csv
* snapshot-file/foo.png
* snapshot-file/foo.r
* snapshot-file/secret.txt
Error: Test failures
Execution halted
@hadley hadley added the upkeep maintenance, infrastructure, and similar label Oct 22, 2024
@nunotexbsd
Copy link
Author

3.2.2 results are equal with added 3rd edition required failure like in #1347

I'm sending full log with hope that someone finds where the problem is.

Thanks

Full log:
00check.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upkeep maintenance, infrastructure, and similar
Projects
None yet
Development

No branches or pull requests

2 participants