CRAN Package Check Results for Package lingglosses

Last updated on 2022-12-09 08:53:53 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.0.5 5.12 47.80 52.92 ERROR
r-devel-linux-x86_64-debian-gcc 0.0.5 4.20 41.69 45.89 OK
r-devel-linux-x86_64-fedora-clang 0.0.5 80.13 OK
r-devel-linux-x86_64-fedora-gcc 0.0.5 79.05 OK
r-devel-windows-x86_64 0.0.5 37.00 85.00 122.00 OK
r-patched-linux-x86_64 0.0.5 3.93 49.00 52.93 OK
r-release-linux-x86_64 0.0.5 5.35 47.43 52.78 OK
r-release-macos-arm64 0.0.5 25.00 OK
r-release-macos-x86_64 0.0.5 34.00 OK
r-release-windows-x86_64 0.0.5 23.00 84.00 107.00 OK
r-oldrel-macos-arm64 0.0.5 29.00 OK
r-oldrel-macos-x86_64 0.0.5 38.00 OK
r-oldrel-windows-ix86+x86_64 0.0.5 13.00 78.00 91.00 ERROR

Check Details

Version: 0.0.5
Check: tests
Result: ERROR
     Running 'testthat.R' [3s/3s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(lingglosses)
     >
     > test_check("lingglosses")
     Quitting from lines 48-63 (skeleton.Rmd)
     [ FAIL 1 | WARN 0 | SKIP 2 | PASS 0 ]
    
     == Skipped tests ===============================================================
     * On CRAN (2)
    
     == Failed tests ================================================================
     -- Error (???): add_gloss(), gloss_example(), make_gloss_list() test -----------
     Error in `data.frame(example_id = counter, word_id = gsub("w_.*", "", names(single_tr)),
     morpheme_id = morpheme_id, transliteration = if (drop_transliteration) {
     ""
     } else {
     unname(single_tr)
     }, gloss = unname(single_gl), delimiter = delimiters, transliteration_orig = if (drop_transliteration) {
     ""
     } else {
     transliteration
     }, glosses_orig = glosses, free_translation = free_translation,
     comment = comment)`: arguments imply differing number of rows: 1, 4, 5
     Backtrace:
     x
     1. \-lingglosses::gloss_example("CL-i<U+0281>i", "CL-stop.AOR", intext = TRUE)
     2. \-lingglosses::convert_to_df(...)
     3. \-base::data.frame(...)
    
     [ FAIL 1 | WARN 0 | SKIP 2 | PASS 0 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.0.5
Check: for code/documentation mismatches
Result: WARN
    Codoc mismatches from documentation object 'gloss_example':
    gloss_example
     Code: function(transliteration, glosses, free_translation = "",
     comment = "", annotation = NULL, grammaticality =
     NULL, audio_path = NULL, audio_label = "<U+266A>",
     video_path = NULL, video_width = 320, video_height =
     240, line_length = 70, italic_transliteration =
     getOption("lingglosses.italic_transliteration"),
     drop_transliteration = FALSE, intext = FALSE,
     write_to_db = TRUE)
     Docs: function(transliteration, glosses, free_translation = "",
     comment = "", annotation = NULL, grammaticality =
     NULL, audio_path = NULL, audio_label = "<U+266A>",
     video_path = NULL, video_width = 320, video_height =
     240, line_length = 70, italic_transliteration =
     getOption("lingglosses.italic_transliteration"),
     drop_transliteration = FALSE, intext = FALSE,
     write_to_db = TRUE)
     Mismatches in argument default values:
     Name: 'audio_label' Code: "<U+266A>" Docs: "<U+266A>"
Flavor: r-oldrel-windows-ix86+x86_64

Version: 0.0.5
Check: tests
Result: ERROR
     Running 'testthat.R' [4s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(lingglosses)
     >
     > test_check("lingglosses")
     Quitting from lines 48-63 (skeleton.Rmd)
     [ FAIL 1 | WARN 0 | SKIP 2 | PASS 0 ]
    
     == Skipped tests ===============================================================
     * On CRAN (2)
    
     == Failed tests ================================================================
     -- Error (???): add_gloss(), gloss_example(), make_gloss_list() test -----------
     Error in `data.frame(example_id = counter, word_id = gsub("w_.*", "", names(single_tr)),
     morpheme_id = morpheme_id, transliteration = if (drop_transliteration) {
     ""
     } else {
     unname(single_tr)
     }, gloss = unname(single_gl), delimiter = delimiters, transliteration_orig = if (drop_transliteration) {
     ""
     } else {
     transliteration
     }, glosses_orig = glosses, free_translation = free_translation,
     comment = comment)`: arguments imply differing number of rows: 1, 4, 5
     Backtrace:
     x
     1. \-lingglosses::gloss_example("CL-i<U+0281>i", "CL-stop.AOR", intext = TRUE)
     2. \-lingglosses::convert_to_df(...)
     3. \-base::data.frame(...)
    
     [ FAIL 1 | WARN 0 | SKIP 2 | PASS 0 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64