CRAN Package Check Results for Package polyglotr

Last updated on 2024-07-15 06:49:34 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.5.0 4.00 56.29 60.29 OK
r-devel-linux-x86_64-debian-gcc 1.5.0 3.06 42.42 45.48 OK
r-devel-linux-x86_64-fedora-clang 1.5.0 75.88 OK
r-devel-linux-x86_64-fedora-gcc 1.5.0 84.31 OK
r-devel-windows-x86_64 1.5.0 6.00 74.00 80.00 OK
r-patched-linux-x86_64 1.5.0 3.85 54.26 58.11 OK
r-release-linux-x86_64 1.5.0 3.82 54.14 57.96 OK
r-release-macos-arm64 1.5.0 67.00 OK
r-release-macos-x86_64 1.5.0 78.00 OK
r-release-windows-x86_64 1.5.0 4.00 74.00 78.00 OK
r-oldrel-macos-arm64 1.5.0 76.00 OK
r-oldrel-macos-x86_64 1.5.0 100.00 OK
r-oldrel-windows-x86_64 1.5.0 5.00 83.00 88.00 ERROR

Check Details

Version: 1.5.0
Check: tests
Result: ERROR Running 'testthat.R' [4s] Running the tests in 'tests/testthat.R' failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > > testthat::test_check("polyglotr") Loading required package: polyglotr [ FAIL 2 | WARN 0 | SKIP 0 | PASS 14 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-google_translate.R:34:3'): google translate returns translations with special characters ── `translation` (`actual`) not equal to `expected_translation` (`expected`). actual vs expected - "The Saône rises in Vioménil in the Vosges foothills at an altitude of 405 m. The river joins the Rhône 473.3 km further on." + "The Saône has its source at Vioménil in the pre-Vosges at an altitude of 405 m. The river confluences with the Rhône 473.3 km further." ── Failure ('test-google_translate.R:44:3'): google translate returns translations with special characters ── `translation` (`actual`) not equal to `expected_translation` (`expected`). actual vs expected - "The Nile flows through the Sudanese desert into Egypt towards the north and passes through the city of Cairo, located on the large river delta (the Nile Delta), then the river crosses the cities of Damietta and Rosetta and empties into..." + "The Nile flows through the Sudanese desert to Egypt towards the north and passes through the city of Cairo, located on the large river delta (Nile Delta), then the river crosses the cities of Damietta and Rosetta and flows..." [ FAIL 2 | WARN 0 | SKIP 0 | PASS 14 ] Error: Test failures Execution halted Flavor: r-oldrel-windows-x86_64