CRAN Package Check Results for Package polyglotr

Last updated on 2024-06-04 07:55:14 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.5.0 3.61 56.04 59.65 OK
r-devel-linux-x86_64-debian-gcc 1.5.0 2.94 42.89 45.83 ERROR
r-devel-linux-x86_64-fedora-clang 1.5.0 75.75 OK
r-devel-linux-x86_64-fedora-gcc 1.5.0 84.29 OK
r-devel-windows-x86_64 1.5.0 4.00 74.00 78.00 OK
r-patched-linux-x86_64 1.5.0 3.05 53.79 56.84 OK
r-release-linux-x86_64 1.5.0 3.50 54.22 57.72 OK
r-release-macos-arm64 1.5.0 67.00 OK
r-release-macos-x86_64 1.5.0 116.00 OK
r-release-windows-x86_64 1.5.0 4.00 73.00 77.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 78.00 83.00 OK

Check Details

Version: 1.5.0
Check: tests
Result: ERROR Running ‘testthat.R’ [3s/6s] 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-devel-linux-x86_64-debian-gcc