Last updated on 2024-04-27 12:48:20 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.4.0 | 3.74 | 53.85 | 57.59 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 1.4.0 | 2.66 | 42.17 | 44.83 | OK | |
r-devel-linux-x86_64-fedora-clang | 1.4.0 | 74.34 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 1.4.0 | 83.41 | OK | |||
r-devel-windows-x86_64 | 1.4.0 | 4.00 | 73.00 | 77.00 | OK | |
r-patched-linux-x86_64 | 1.4.0 | 4.04 | 53.98 | 58.02 | OK | |
r-release-linux-x86_64 | 1.4.0 | 3.36 | 52.46 | 55.82 | OK | |
r-release-macos-arm64 | 1.4.0 | 65.00 | OK | |||
r-release-macos-x86_64 | 1.4.0 | 109.00 | OK | |||
r-release-windows-x86_64 | 1.4.0 | 5.00 | 73.00 | 78.00 | OK | |
r-oldrel-macos-arm64 | 1.4.0 | 73.00 | OK | |||
r-oldrel-macos-x86_64 | 1.4.0 | 104.00 | OK | |||
r-oldrel-windows-x86_64 | 1.4.0 | 6.00 | 80.00 | 86.00 | OK |
Version: 1.4.0
Check: examples
Result: ERROR
Running examples in ‘polyglotr-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: create_translation_table
> ### Title: Create a Translation Table
> ### Aliases: create_translation_table
>
> ### ** Examples
>
> words <- c("Hello", "Translate", "Table", "Script")
> languages <- c("es", "fr", "de", "nl")
> translations <- create_translation_table(words, languages)
Error in `dplyr::mutate()`:
ℹ In argument: `es = purrr::map_chr(original_word, ~google_translate(.,
target_language = language))`.
Caused by error in `purrr::map_chr()`:
ℹ In index: 2.
Caused by error:
! Result must be length 1, not 0.
Backtrace:
▆
1. ├─polyglotr::create_translation_table(words, languages)
2. │ └─translations %>% ...
3. ├─dplyr::mutate(...)
4. ├─dplyr:::mutate.data.frame(...)
5. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by)
6. │ ├─base::withCallingHandlers(...)
7. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns)
8. │ └─mask$eval_all_mutate(quo)
9. │ └─dplyr (local) eval()
10. ├─purrr::map_chr(original_word, ~google_translate(., target_language = language))
11. │ └─purrr:::map_("character", .x, .f, ..., .progress = .progress)
12. │ ├─purrr:::with_indexed_errors(...)
13. │ │ └─base::withCallingHandlers(...)
14. │ └─purrr:::call_with_cleanup(...)
15. └─base::.handleSimpleError(...)
16. └─purrr (local) h(simpleError(msg, call))
17. └─cli::cli_abort(...)
18. └─rlang::abort(...)
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 1.4.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [4s/8s]
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 1 | WARN 0 | SKIP 0 | PASS 15 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-google_translate.R:2:3'): translation works ──────────────────
google_translate("Hello", target_language = "nl") (`actual`) not equal to "Hallo" (`expected`).
`actual`:
`expected`: "Hallo"
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 15 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 1.4.0
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘Linguee.Rmd’ using rmarkdown
--- finished re-building ‘Linguee.Rmd’
--- re-building ‘Movie_Reviews.Rmd’ using rmarkdown
Quitting from lines at lines 46-49 [translated] (Movie_Reviews.Rmd)
Error: processing vignette 'Movie_Reviews.Rmd' failed with diagnostics:
ℹ In argument: `french_review = purrr::map_chr(...)`.
Caused by error in `purrr::map_chr()`:
ℹ In index: 3.
Caused by error:
! Result must be length 1, not 0.
--- failed re-building ‘Movie_Reviews.Rmd’
--- re-building ‘polyglotr.Rmd’ using rmarkdown
--- finished re-building ‘polyglotr.Rmd’
SUMMARY: processing the following file failed:
‘Movie_Reviews.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang