Last updated on 2019-05-01 01:52:04 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.0.5 | 5.45 | 55.51 | 60.96 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 1.0.5 | 4.52 | 44.58 | 49.10 | OK | |
r-devel-linux-x86_64-fedora-clang | 1.0.5 | 72.43 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 1.0.5 | 71.48 | OK | |||
r-patched-linux-x86_64 | 1.0.5 | 5.01 | 55.82 | 60.83 | OK | |
r-patched-solaris-x86 | 1.0.5 | 99.80 | OK | |||
r-release-linux-x86_64 | 1.0.5 | 5.14 | 55.15 | 60.29 | OK | |
r-release-windows-ix86+x86_64 | 1.0.5 | 17.00 | 91.00 | 108.00 | OK | |
r-release-osx-x86_64 | 1.0.5 | OK | ||||
r-oldrel-windows-ix86+x86_64 | 1.0.5 | 9.00 | 89.00 | 98.00 | OK | |
r-oldrel-osx-x86_64 | 1.0.5 | OK |
Version: 1.0.5
Check: tests
Result: ERROR
Running 'testthat.R' [8s/10s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(skimr)
Registered S3 method overwritten by 'skimr':
method from
print.spark pillar
Attaching package: 'skimr'
The following object is masked from 'package:testthat':
matches
The following object is masked from 'package:stats':
filter
>
> test_check("skimr")
-- 1. Failure: Using skim_tee prints out the object (@test-skim.R#44) ---------
`skim_tee\(chickwts\)` does not match "<U+2500><U+2500> Variable type:factor <U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500>".
Actual value: "Skim summary statistics\\n n obs: 71 \\n n variables: 2 \\n\\n-- Variable type:factor --------------------------------------------------------\\n variable missing complete n n_unique top_counts\\n feed 0 71 71 6 soy: 14, cas: 12, lin: 12, sun: 12\\n ordered\\n FALSE\\n\\n-- Variable type:numeric -------------------------------------------------------\\n variable missing complete n mean sd p0 p25 p50 p75 p100\\n weight 0 71 71 261\.31 78\.07 108 204\.5 258 323\.5 423\\n hist\\n <U\+2583><U\+2585><U\+2585><U\+2587><U\+2583><U\+2587><U\+2582><U\+2582>"
-- 2. Failure: Skim prints a header for the entire output and each type (@test-s
`print\(input\)` does not match "<U+2500><U+2500> Variable type:factor <U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500>".
Actual value: "Skim summary statistics\\n n obs: 150 \\n n variables: 5 \\n\\n-- Variable type:factor --------------------------------------------------------\\n variable missing complete n n_unique top_counts\\n Species 0 150 150 3 set: 50, ver: 50, vir: 50, NA: 0\\n ordered\\n FALSE\\n\\n-- Variable type:numeric -------------------------------------------------------\\n variable missing complete n mean sd p0 p25 p50 p75 p100\\n Petal\.Length 0 150 150 3\.76 1\.77 1 1\.6 4\.35 5\.1 6\.9\\n Petal\.Width 0 150 150 1\.2 0\.76 0\.1 0\.3 1\.3 1\.8 2\.5\\n Sepal\.Length 0 150 150 5\.84 0\.83 4\.3 5\.1 5\.8 6\.4 7\.9\\n Sepal\.Width 0 150 150 3\.06 0\.44 2 2\.8 3 3\.3 4\.4\\n hist\\n <U\+2587><U\+2581><U\+2581><U\+2582><U\+2585><U\+2585><U\+2583><U\+2581>\\n <U\+2587><U\+2581><U\+2581><U\+2585><U\+2583><U\+2583><U\+2582><U\+2582>\\n <U\+2582><U\+2587><U\+2585><U\+2587><U\+2586><U\+2585><U\+2582><U\+2582>\\n <U\+2581><U\+2582><U\+2585><U\+2587><U\+2583><U\+2582><U\+2581><U\+2581>"
-- 3. Failure: Skim prints a header for the entire output and each type (@test-s
`print\(input\)` does not match "<U+2500><U+2500> Variable type:factor <U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500>".
Actual value: "Skim summary statistics\\n n obs: 150 \\n n variables: 5 \\n\\n-- Variable type:factor --------------------------------------------------------\\n variable missing complete n n_unique top_counts\\n Species 0 150 150 3 set: 50, ver: 50, vir: 50, NA: 0\\n ordered\\n FALSE\\n\\n-- Variable type:numeric -------------------------------------------------------\\n variable missing complete n mean sd p0 p25 p50 p75 p100\\n Petal\.Length 0 150 150 3\.76 1\.77 1 1\.6 4\.35 5\.1 6\.9\\n Petal\.Width 0 150 150 1\.2 0\.76 0\.1 0\.3 1\.3 1\.8 2\.5\\n Sepal\.Length 0 150 150 5\.84 0\.83 4\.3 5\.1 5\.8 6\.4 7\.9\\n Sepal\.Width 0 150 150 3\.06 0\.44 2 2\.8 3 3\.3 4\.4\\n hist\\n <U\+2587><U\+2581><U\+2581><U\+2582><U\+2585><U\+2585><U\+2583><U\+2581>\\n <U\+2587><U\+2581><U\+2581><U\+2585><U\+2583><U\+2583><U\+2582><U\+2582>\\n <U\+2582><U\+2587><U\+2585><U\+2587><U\+2586><U\+2585><U\+2582><U\+2582>\\n <U\+2581><U\+2582><U\+2585><U\+2587><U\+2583><U\+2582><U\+2581><U\+2581>"
-- 4. Failure: Skim prints a special header for vectors (@test-skim_print.R#26)
`print\(input\)` does not match "<U+2500><U+2500> Variable type:ts <U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500><U+2500>".
Actual value: "\\nSkim summary statistics\\n\\n-- Variable type:ts ------------------------------------------------------------\\n variable missing complete n start end frequency deltat mean sd min\\n lynx 0 114 114 1821 1934 1 1 1538\.02 1585\.84 39\\n max median line_graph\\n 6991 771 <U\+2848><U\+2884><U\+2860><U\+2881><U\+28C0><U\+2812><U\+28C0><U\+2814>"
-- 5. Failure: Skimr kable prints as expected, 64-bit (@test-skim_print.R#92) -
input[13] not equal to "| variable | missing | complete | n | mean | sd | p0 | p25 | p50 | p75 | p100 | hist |".
1/1 mismatches
x[1]: "| variable | missing | complete | n | mean | sd | p0 | p25 | p50
x[1]: | p75 | p100 | hist
x[1]: |"
y[1]: "| variable | missing | complete | n | mean | sd | p0 | p25 | p50
y[1]: | p75 | p100 | hist |"
-- 6. Failure: Skimr kable prints as expected, 64-bit (@test-skim_print.R#95) -
input[14] not equal to "|--------------|---------|----------|-----|------|------|-----|-----|------|-----|------|----------|".
1/1 mismatches
x[1]: "|--------------|---------|----------|-----|------|------|-----|-----|----
x[1]: --|-----|------|----------------------------------------------------------
x[1]: --------|"
y[1]: "|--------------|---------|----------|-----|------|------|-----|-----|----
y[1]: --|-----|------|----------|"
-- 7. Failure: skimr::pander prints as expected (@test-skim_print.R#179) ------
input[31] not equal to "-------------------------".
1/1 mismatches
x[1]: "-------------------------------------------------------------------------
x[1]: --------"
y[1]: "-------------------------"
-- 8. Failure: skimr::pander prints as expected (@test-skim_print.R#180) ------
input[32] not equal to " p75 p100 hist ".
1/1 mismatches
x[1]: " p75 p100 hist
x[1]: "
y[1]: " p75 p100 hist "
-- 9. Failure: skimr::pander prints as expected (@test-skim_print.R#181) ------
input[33] not equal to "------- ------ ----------".
1/1 mismatches
x[1]: "------- ------ ----------------------------------------------------------
x[1]: --------"
y[1]: "------- ------ ----------"
-- 10. Failure: skimr::pander prints as expected (@test-skim_print.R#182) -----
input[34] not equal to " 323.5 423 <U+2583><U+2585><U+2585><U+2587><U+2583><U+2587><U+2582><U+2582> ".
1/1 mismatches
x[1]: " 323.5 423 <U+2583><U+2585><U+2585><U+2587><U+2583><U+2587><U+2582><
x[1]: U+2582> "
y[1]: " 323.5 423 <U+2583><U+2585><U+2585><U+2587><U+2583><U+2587><U+2582><U+2582> "
-- 11. Failure: skimr::pander prints as expected (@test-skim_print.R#183) -----
input[35] not equal to "-------------------------".
1/1 mismatches
x[1]: "-------------------------------------------------------------------------
x[1]: --------"
y[1]: "-------------------------"
-- 12. Failure: skim_v returns expected response for numeric vectors (@test-skim
input$formatted[11] not identical to "<U+2583><U+2587><U+2587><U+2587><U+2583><U+2582><U+2582><U+2582>".
1/1 mismatches
x[1]: "<U+2583><U+2587><U+2587><U+2587><U+2583><U+2582><U+2582><U+2582>"
y[1]: "<U+2583><U+2587><U+2587><U+2587><U+2583><U+2582><U+2582><U+2582>"
-- 13. Failure: skim_v handles numeric vectors with NAs and extreme numbers (@te
input[11, ] not identical to correct_patho[11, ].
Rows in x but not y: 1. Rows in y but not x: 1.
-- 14. Failure: skim_v returns expected response for ts vectors (@test-skim_v.R#
input[13, ] not identical to correct[13, ].
Rows in x but not y: 1. Rows in y but not x: 1.
-- 15. Failure: numeric skim is calculated correctly when x is all zeores or NAs
input$formatted[11] not identical to "<U+2581><U+2581><U+2581><U+2587><U+2581><U+2581><U+2581><U+2581>".
1/1 mismatches
x[1]: "<U+2581><U+2581><U+2581><U+2587><U+2581><U+2581><U+2581><U+2581>"
y[1]: "<U+2581><U+2581><U+2581><U+2587><U+2581><U+2581><U+2581><U+2581>"
== testthat results ===========================================================
OK: 425 SKIPPED: 2 WARNINGS: 1 FAILED: 15
1. Failure: Using skim_tee prints out the object (@test-skim.R#44)
2. Failure: Skim prints a header for the entire output and each type (@test-skim_print.R#8)
3. Failure: Skim prints a header for the entire output and each type (@test-skim_print.R#11)
4. Failure: Skim prints a special header for vectors (@test-skim_print.R#26)
5. Failure: Skimr kable prints as expected, 64-bit (@test-skim_print.R#92)
6. Failure: Skimr kable prints as expected, 64-bit (@test-skim_print.R#95)
7. Failure: skimr::pander prints as expected (@test-skim_print.R#179)
8. Failure: skimr::pander prints as expected (@test-skim_print.R#180)
9. Failure: skimr::pander prints as expected (@test-skim_print.R#181)
1. ...
Error: testthat unit tests failed
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang