Last updated on 2020-08-07 01:50:29 CEST.
Package | ERROR | WARN | NOTE | OK |
---|---|---|---|---|
mbest | 1 | 11 | ||
utf8 | 1 | 1 | 10 |
Current CRAN status: NOTE: 1, OK: 11
Version: 0.6
Check: Rd cross-references
Result: NOTE
Undeclared packages ‘logistf’, ‘brglm’ in Rd xrefs
Flavor: r-devel-linux-x86_64-fedora-clang
Current CRAN status: ERROR: 1, WARN: 1, OK: 10
Version: 1.1.4
Check: running tests for arch ‘i386’
Result: ERROR
Running 'testthat.R' [3s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(utf8)
>
> test_check("utf8")
-- 1. Failure: 'format' can handle long text in C locale (@test-utf8_format.R#92
utf8_encode(utf8_format(raw, chars = 8, justify = "none")) not equal to format(short, justify = "none").
4/9 mismatches
x[4]: "?\\n\\u2026"
y[4]: "?\\n..."
x[5]: "\\u0001\\u2026"
y[5]: "\\u0001..."
x[8]: "\\u6027?\\u2026"
y[8]: "\\u6027?..."
x[9]: "\\u6027\\u2026"
y[9]: "\\u6027..."
-- 2. Failure: 'format' can handle long text in C locale (@test-utf8_format.R#96
sub("\\s+$", "", left) not equal to `short`.
4/9 mismatches
x[4]: "?\\n\\u2026"
y[4]: "?\\n..."
x[5]: "\\u0001\\u2026"
y[5]: "\\u0001..."
x[8]: "\\u6027?\\u2026"
y[8]: "\\u6027?..."
x[9]: "\\u6027\\u2026"
y[9]: "\\u6027..."
-- 3. Failure: 'format' can handle long text in C locale (@test-utf8_format.R#97
as.numeric(nchar(left)) not equal to rep(10, length(raw)).
9/9 mismatches (average diff: 2.44)
[1] 8 - 10 == -2
[2] 8 - 10 == -2
[3] 8 - 10 == -2
[4] 13 - 10 == 3
[5] 13 - 10 == 3
[6] 8 - 10 == -2
[7] 8 - 10 == -2
[8] 13 - 10 == 3
[9] 13 - 10 == 3
-- 4. Failure: 'format' can handle long text in C locale (@test-utf8_format.R#10
sub("^\\s+", "", sub("\\s+$", "", centre)) not equal to `short`.
4/9 mismatches
x[4]: "?\\n\\u2026"
y[4]: "?\\n..."
x[5]: "\\u0001\\u2026"
y[5]: "\\u0001..."
x[8]: "\\u6027?\\u2026"
y[8]: "\\u6027?..."
x[9]: "\\u6027\\u2026"
y[9]: "\\u6027..."
-- 5. Failure: 'format' can handle long text in C locale (@test-utf8_format.R#10
as.numeric(nchar(centre)) not equal to rep(10, length(raw)).
9/9 mismatches (average diff: 2.44)
[1] 8 - 10 == -2
[2] 8 - 10 == -2
[3] 8 - 10 == -2
[4] 13 - 10 == 3
[5] 13 - 10 == 3
[6] 8 - 10 == -2
[7] 8 - 10 == -2
[8] 13 - 10 == 3
[9] 13 - 10 == 3
-- 6. Failure: 'format' can handle long text in C locale (@test-utf8_format.R#10
sub("^\\s+", "", right) not equal to `rshort`.
4/9 mismatches
x[4]: "\\u2026\\n\\u6027"
y[4]: "...\\n\\u6027"
x[5]: "\\u2026\\u6027"
y[5]: "...\\u6027"
x[8]: "\\u2026?\\n"
y[8]: "...?\\n"
x[9]: "\\u2026\\u0001"
y[9]: "...\\u0001"
-- 7. Failure: 'format' can handle long text in C locale (@test-utf8_format.R#10
as.numeric(nchar(right)) not equal to rep(11, length(raw)).
9/9 mismatches (average diff: 2.44)
[1] 9 - 11 == -2
[2] 9 - 11 == -2
[3] 9 - 11 == -2
[4] 14 - 11 == 3
[5] 14 - 11 == 3
[6] 9 - 11 == -2
[7] 9 - 11 == -2
[8] 14 - 11 == 3
[9] 14 - 11 == 3
-- 8. Failure: 'format' can handle marks (@test-utf8_format.R#158) ------------
utf8_format(raw, chars = 6, justify = "left") not equal to "...".
1/1 mismatches
x[1]: "<c2><85>"
y[1]: "..."
-- 9. Failure: 'format' can handle marks (@test-utf8_format.R#160) ------------
utf8_format(raw, chars = 6, justify = "centre") not equal to "...".
1/1 mismatches
x[1]: "<c2><85>"
y[1]: "..."
-- 10. Failure: 'format' can handle marks (@test-utf8_format.R#162) -----------
utf8_format(raw, chars = 5, justify = "right") not equal to "...".
1/1 mismatches
x[1]: "<c2><85>"
y[1]: "..."
-- 11. Failure: 'format' can handle zero, or NULL chars (@test-utf8_format.R#196
as.character(utf8_format(raw, chars = 0, justify = "left")) not equal to "...".
1/1 mismatches
x[1]: "<c2><85>"
y[1]: "..."
-- 12. Failure: 'format' can handle zero, or NULL chars (@test-utf8_format.R#198
as.character(utf8_format(raw, chars = 0, justify = "centre")) not equal to "...".
1/1 mismatches
x[1]: "<c2><85>"
y[1]: "..."
-- 13. Failure: 'format' can handle zero, or NULL chars (@test-utf8_format.R#200
as.character(utf8_format(raw, chars = 0, justify = "right")) not equal to "...".
1/1 mismatches
x[1]: "<c2><85>"
y[1]: "..."
== testthat results ===========================================================
[ OK: 158 | SKIPPED: 6 | WARNINGS: 0 | FAILED: 13 ]
1. Failure: 'format' can handle long text in C locale (@test-utf8_format.R#92)
2. Failure: 'format' can handle long text in C locale (@test-utf8_format.R#96)
3. Failure: 'format' can handle long text in C locale (@test-utf8_format.R#97)
4. Failure: 'format' can handle long text in C locale (@test-utf8_format.R#100)
5. Failure: 'format' can handle long text in C locale (@test-utf8_format.R#101)
6. Failure: 'format' can handle long text in C locale (@test-utf8_format.R#104)
7. Failure: 'format' can handle long text in C locale (@test-utf8_format.R#105)
8. Failure: 'format' can handle marks (@test-utf8_format.R#158)
9. Failure: 'format' can handle marks (@test-utf8_format.R#160)
1. ...
Error: testthat unit tests failed
Execution halted
Flavor: r-devel-windows-ix86+x86_64
Version: 1.1.4
Check: running tests for arch ‘x64’
Result: ERROR
Running 'testthat.R' [3s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(utf8)
>
> test_check("utf8")
-- 1. Failure: 'format' can handle long text in C locale (@test-utf8_format.R#92
utf8_encode(utf8_format(raw, chars = 8, justify = "none")) not equal to format(short, justify = "none").
4/9 mismatches
x[4]: "?\\n\\u2026"
y[4]: "?\\n..."
x[5]: "\\u0001\\u2026"
y[5]: "\\u0001..."
x[8]: "\\u6027?\\u2026"
y[8]: "\\u6027?..."
x[9]: "\\u6027\\u2026"
y[9]: "\\u6027..."
-- 2. Failure: 'format' can handle long text in C locale (@test-utf8_format.R#96
sub("\\s+$", "", left) not equal to `short`.
4/9 mismatches
x[4]: "?\\n\\u2026"
y[4]: "?\\n..."
x[5]: "\\u0001\\u2026"
y[5]: "\\u0001..."
x[8]: "\\u6027?\\u2026"
y[8]: "\\u6027?..."
x[9]: "\\u6027\\u2026"
y[9]: "\\u6027..."
-- 3. Failure: 'format' can handle long text in C locale (@test-utf8_format.R#97
as.numeric(nchar(left)) not equal to rep(10, length(raw)).
9/9 mismatches (average diff: 2.44)
[1] 8 - 10 == -2
[2] 8 - 10 == -2
[3] 8 - 10 == -2
[4] 13 - 10 == 3
[5] 13 - 10 == 3
[6] 8 - 10 == -2
[7] 8 - 10 == -2
[8] 13 - 10 == 3
[9] 13 - 10 == 3
-- 4. Failure: 'format' can handle long text in C locale (@test-utf8_format.R#10
sub("^\\s+", "", sub("\\s+$", "", centre)) not equal to `short`.
4/9 mismatches
x[4]: "?\\n\\u2026"
y[4]: "?\\n..."
x[5]: "\\u0001\\u2026"
y[5]: "\\u0001..."
x[8]: "\\u6027?\\u2026"
y[8]: "\\u6027?..."
x[9]: "\\u6027\\u2026"
y[9]: "\\u6027..."
-- 5. Failure: 'format' can handle long text in C locale (@test-utf8_format.R#10
as.numeric(nchar(centre)) not equal to rep(10, length(raw)).
9/9 mismatches (average diff: 2.44)
[1] 8 - 10 == -2
[2] 8 - 10 == -2
[3] 8 - 10 == -2
[4] 13 - 10 == 3
[5] 13 - 10 == 3
[6] 8 - 10 == -2
[7] 8 - 10 == -2
[8] 13 - 10 == 3
[9] 13 - 10 == 3
-- 6. Failure: 'format' can handle long text in C locale (@test-utf8_format.R#10
sub("^\\s+", "", right) not equal to `rshort`.
4/9 mismatches
x[4]: "\\u2026\\n\\u6027"
y[4]: "...\\n\\u6027"
x[5]: "\\u2026\\u6027"
y[5]: "...\\u6027"
x[8]: "\\u2026?\\n"
y[8]: "...?\\n"
x[9]: "\\u2026\\u0001"
y[9]: "...\\u0001"
-- 7. Failure: 'format' can handle long text in C locale (@test-utf8_format.R#10
as.numeric(nchar(right)) not equal to rep(11, length(raw)).
9/9 mismatches (average diff: 2.44)
[1] 9 - 11 == -2
[2] 9 - 11 == -2
[3] 9 - 11 == -2
[4] 14 - 11 == 3
[5] 14 - 11 == 3
[6] 9 - 11 == -2
[7] 9 - 11 == -2
[8] 14 - 11 == 3
[9] 14 - 11 == 3
-- 8. Failure: 'format' can handle marks (@test-utf8_format.R#158) ------------
utf8_format(raw, chars = 6, justify = "left") not equal to "...".
1/1 mismatches
x[1]: "<c2><85>"
y[1]: "..."
-- 9. Failure: 'format' can handle marks (@test-utf8_format.R#160) ------------
utf8_format(raw, chars = 6, justify = "centre") not equal to "...".
1/1 mismatches
x[1]: "<c2><85>"
y[1]: "..."
-- 10. Failure: 'format' can handle marks (@test-utf8_format.R#162) -----------
utf8_format(raw, chars = 5, justify = "right") not equal to "...".
1/1 mismatches
x[1]: "<c2><85>"
y[1]: "..."
-- 11. Failure: 'format' can handle zero, or NULL chars (@test-utf8_format.R#196
as.character(utf8_format(raw, chars = 0, justify = "left")) not equal to "...".
1/1 mismatches
x[1]: "<c2><85>"
y[1]: "..."
-- 12. Failure: 'format' can handle zero, or NULL chars (@test-utf8_format.R#198
as.character(utf8_format(raw, chars = 0, justify = "centre")) not equal to "...".
1/1 mismatches
x[1]: "<c2><85>"
y[1]: "..."
-- 13. Failure: 'format' can handle zero, or NULL chars (@test-utf8_format.R#200
as.character(utf8_format(raw, chars = 0, justify = "right")) not equal to "...".
1/1 mismatches
x[1]: "<c2><85>"
y[1]: "..."
== testthat results ===========================================================
[ OK: 158 | SKIPPED: 6 | WARNINGS: 0 | FAILED: 13 ]
1. Failure: 'format' can handle long text in C locale (@test-utf8_format.R#92)
2. Failure: 'format' can handle long text in C locale (@test-utf8_format.R#96)
3. Failure: 'format' can handle long text in C locale (@test-utf8_format.R#97)
4. Failure: 'format' can handle long text in C locale (@test-utf8_format.R#100)
5. Failure: 'format' can handle long text in C locale (@test-utf8_format.R#101)
6. Failure: 'format' can handle long text in C locale (@test-utf8_format.R#104)
7. Failure: 'format' can handle long text in C locale (@test-utf8_format.R#105)
8. Failure: 'format' can handle marks (@test-utf8_format.R#158)
9. Failure: 'format' can handle marks (@test-utf8_format.R#160)
1. ...
Error: testthat unit tests failed
Execution halted
Flavor: r-devel-windows-ix86+x86_64
Version: 1.1.4
Check: for unstated dependencies in ‘tests’
Result: WARN
Warning in deparse(e[[2L]]) :
it is not known that wchar_t is Unicode on this platform
Warning in deparse(e[[2L]]) :
it is not known that wchar_t is Unicode on this platform
Warning in deparse(e[[2L]]) :
it is not known that wchar_t is Unicode on this platform
Warning in deparse(e[[2L]]) :
it is not known that wchar_t is Unicode on this platform
Warning in deparse(e[[2L]]) :
it is not known that wchar_t is Unicode on this platform
Warning in deparse(e[[2L]]) :
it is not known that wchar_t is Unicode on this platform
Warning in deparse(e[[2L]]) :
it is not known that wchar_t is Unicode on this platform
Warning in deparse(e[[2L]]) :
it is not known that wchar_t is Unicode on this platform
Warning in deparse(e[[2L]]) :
it is not known that wchar_t is Unicode on this platform
Warning in deparse(e[[2L]]) :
it is not known that wchar_t is Unicode on this platform
Warning in deparse(e[[2L]]) :
it is not known that wchar_t is Unicode on this platform
Warning in deparse(e[[2L]]) :
it is not known that wchar_t is Unicode on this platform
Warning in deparse(e[[2L]]) :
it is not known that wchar_t is Unicode on this platform
Warning in deparse(e[[2L]]) :
it is not known that wchar_t is Unicode on this platform
Warning in deparse(e[[2L]]) :
it is not known that wchar_t is Unicode on this platform
Warning in deparse(e[[2L]]) :
it is not known that wchar_t is Unicode on this platform
Flavor: r-patched-solaris-x86