Last updated on 2019-04-22 07:46:57 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.1.0 | 1.26 | 18.32 | 19.58 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 0.1.0 | 1.28 | 14.93 | 16.21 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 0.1.0 | 23.80 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 0.1.0 | 22.72 | ERROR | |||
r-devel-windows-ix86+x86_64 | 0.1.0 | 6.00 | 27.00 | 33.00 | ERROR | |
r-patched-linux-x86_64 | 0.1.0 | 1.46 | 18.51 | 19.97 | ERROR | |
r-patched-solaris-x86 | 0.1.0 | 37.50 | ERROR | |||
r-release-linux-x86_64 | 0.1.0 | 0.77 | 17.65 | 18.42 | OK | |
r-release-windows-ix86+x86_64 | 0.1.0 | 2.00 | 49.00 | 51.00 | OK | |
r-release-osx-x86_64 | 0.1.0 | OK | ||||
r-oldrel-windows-ix86+x86_64 | 0.1.0 | 2.00 | 40.00 | 42.00 | OK | |
r-oldrel-osx-x86_64 | 0.1.0 | OK |
Version: 0.1.0
Check: tests
Result: ERROR
Running 'testthat.R' [1s/1s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(profilr)
Attaching package: 'profilr'
The following object is masked from 'package:stats':
profile
>
> test_check("profilr")
-- 1. Failure: most frequent_values work properly (@test-frequent_values.R#17)
frequent_values(v, n = 5L, type = "most") not equal to "(1) 25 [125]\n (2) 5 [123]\n (3) 86 [120]\n (4) 40 [119]\n (5) 33 [118]\n".
1/1 mismatches
x[1]: "(1) 23 [119]\n (2) 40 [118]\n (2) 89 [118]\n (4) 32 [117]\n (4) 45 [117]\
x[1]: n"
y[1]: "(1) 25 [125]\n (2) 5 [123]\n (3) 86 [120]\n (4) 40 [119]\n (5) 33 [118]\n
y[1]: "
-- 2. Failure: most frequent_values work properly (@test-frequent_values.R#18)
frequent_values(w, n = 5L, type = "most") not equal to "(1) 0.244897959183673 [125]\n (2) 0.0408163265306122 [123]\n (3) 0.86734693877551 [120]\n (4) 0.397959183673469 [119]\n (5) 0.326530612244898 [118]\n".
1/1 mismatches
x[1]: "(1) 0.224489795918367 [119]\n (2) 0.397959183673469 [118]\n (2) 0.8979591
x[1]: 83673469 [118]\n (4) 0.316326530612245 [117]\n (4) 0.448979591836735 [117]
x[1]: \n"
y[1]: "(1) 0.244897959183673 [125]\n (2) 0.0408163265306122 [123]\n (3) 0.867346
y[1]: 93877551 [120]\n (4) 0.397959183673469 [119]\n (5) 0.326530612244898 [118]
y[1]: \n"
-- 3. Failure: most frequent_values work properly (@test-frequent_values.R#19)
frequent_values(x, n = 5L, type = "most") not equal to "(1) w [406]\n (2) j [404]\n (3) g [397]\n (4) i [396]\n (5) y [390]\n".
1/1 mismatches
x[1]: "(1) m [405]\n (2) l [404]\n (3) s [399]\n (4) f [391]\n (4) v [391]\n"
y[1]: "(1) w [406]\n (2) j [404]\n (3) g [397]\n (4) i [396]\n (5) y [390]\n"
-- 4. Failure: most frequent_values work properly (@test-frequent_values.R#20)
frequent_values(y, n = 5L, type = "most") not equal to "(1) FALSE [3367]\n (2) TRUE [3310]\n".
1/1 mismatches
x[1]: "(1) TRUE [3292]\n (2) FALSE [3284]\n"
y[1]: "(1) FALSE [3367]\n (2) TRUE [3310]\n"
-- 5. Failure: most frequent_values work properly (@test-frequent_values.R#21)
frequent_values(z, n = 5L, type = "most") not equal to "(1) 1999-01-01 [1044]\n (2) 1990-01-01 [1035]\n (3) 1998-01-01 [1024]\n (4) 1994-01-01 [1016]\n (5) 1993-01-01 [1011]\n".
1/1 mismatches
x[1]: "(1) 1996-01-01 [1072]\n (2) 1999-01-01 [1030]\n (3) 1997-01-01 [1023]\n (
x[1]: 4) 1993-01-01 [1018]\n (5) 1998-01-01 [1015]\n"
y[1]: "(1) 1999-01-01 [1044]\n (2) 1990-01-01 [1035]\n (3) 1998-01-01 [1024]\n (
y[1]: 4) 1994-01-01 [1016]\n (5) 1993-01-01 [1011]\n"
-- 6. Failure: least frequent_values work properly (@test-frequent_values.R#25)
frequent_values(v, n = 5L, type = "least") not equal to "(99) 66 [72]\n (97) 46 [76]\n (97) 31 [76]\n (95) 73 [80]\n (95) 60 [80]\n".
1/1 mismatches
x[1]: "(99) 55 [82]\n (98) 25 [83]\n (97) 90 [84]\n (95) 97 [86]\n (95) 35 [86]\
x[1]: n"
y[1]: "(99) 66 [72]\n (97) 46 [76]\n (97) 31 [76]\n (95) 73 [80]\n (95) 60 [80]\
y[1]: n"
-- 7. Failure: least frequent_values work properly (@test-frequent_values.R#26)
frequent_values(w, n = 5L, type = "least") not equal to "(99) 0.663265306122449 [72]\n (97) 0.459183673469388 [76]\n (97) 0.306122448979592 [76]\n (95) 0.73469387755102 [80]\n (95) 0.602040816326531 [80]\n".
1/1 mismatches
x[1]: "(99) 0.551020408163265 [82]\n (98) 0.244897959183673 [83]\n (97) 0.908163
x[1]: 265306122 [84]\n (95) 0.979591836734694 [86]\n (95) 0.346938775510204 [86]
x[1]: \n"
y[1]: "(99) 0.663265306122449 [72]\n (97) 0.459183673469388 [76]\n (97) 0.306122
y[1]: 448979592 [76]\n (95) 0.73469387755102 [80]\n (95) 0.602040816326531 [80]\
y[1]: n"
-- 8. Failure: least frequent_values work properly (@test-frequent_values.R#27)
frequent_values(x, n = 5L, type = "least") not equal to "(26) p [319]\n (25) h [338]\n (24) e [342]\n (22) s [343]\n (22) q [343]\n".
1/1 mismatches
x[1]: "(26) a [333]\n (25) z [337]\n (24) b [344]\n (23) n [353]\n (22) p [354]\
x[1]: n"
y[1]: "(26) p [319]\n (25) h [338]\n (24) e [342]\n (22) s [343]\n (22) q [343]\
y[1]: n"
-- 9. Failure: least frequent_values work properly (@test-frequent_values.R#28)
frequent_values(y, n = 5L, type = "least") not equal to "(2) TRUE [3310]\n (1) FALSE [3367]\n".
1/1 mismatches
x[1]: "(2) FALSE [3284]\n (1) TRUE [3292]\n"
y[1]: "(2) TRUE [3310]\n (1) FALSE [3367]\n"
-- 10. Failure: least frequent_values work properly (@test-frequent_values.R#29
frequent_values(z, n = 5L, type = "least") not equal to "(10) 1996-01-01 [930]\n (9) 1997-01-01 [968]\n (8) 1991-01-01 [977]\n (7) 1995-01-01 [987]\n (6) 1992-01-01 [1008]\n".
1/1 mismatches
x[1]: "(10) 1991-01-01 [937]\n (9) 1992-01-01 [972]\n (8) 1994-01-01 [974]\n (7)
x[1]: 1995-01-01 [979]\n (6) 1990-01-01 [980]\n"
y[1]: "(10) 1996-01-01 [930]\n (9) 1997-01-01 [968]\n (8) 1991-01-01 [977]\n (7)
y[1]: 1995-01-01 [987]\n (6) 1992-01-01 [1008]\n"
== testthat results ===========================================================
OK: 14 SKIPPED: 0 FAILED: 10
1. Failure: most frequent_values work properly (@test-frequent_values.R#17)
2. Failure: most frequent_values work properly (@test-frequent_values.R#18)
3. Failure: most frequent_values work properly (@test-frequent_values.R#19)
4. Failure: most frequent_values work properly (@test-frequent_values.R#20)
5. Failure: most frequent_values work properly (@test-frequent_values.R#21)
6. Failure: least frequent_values work properly (@test-frequent_values.R#25)
7. Failure: least frequent_values work properly (@test-frequent_values.R#26)
8. Failure: least frequent_values work properly (@test-frequent_values.R#27)
9. Failure: least frequent_values work properly (@test-frequent_values.R#28)
10. Failure: least frequent_values work properly (@test-frequent_values.R#29)
Error: testthat unit tests failed
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [1s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(profilr)
Attaching package: 'profilr'
The following object is masked from 'package:stats':
profile
>
> test_check("profilr")
── 1. Failure: most frequent_values work properly (@test-frequent_values.R#17)
frequent_values(v, n = 5L, type = "most") not equal to "(1) 25 [125]\n (2) 5 [123]\n (3) 86 [120]\n (4) 40 [119]\n (5) 33 [118]\n".
1/1 mismatches
x[1]: "(1) 23 [119]\n (2) 40 [118]\n (2) 89 [118]\n (4) 32 [117]\n (4) 45 [117]\
x[1]: n"
y[1]: "(1) 25 [125]\n (2) 5 [123]\n (3) 86 [120]\n (4) 40 [119]\n (5) 33 [118]\n
y[1]: "
── 2. Failure: most frequent_values work properly (@test-frequent_values.R#18)
frequent_values(w, n = 5L, type = "most") not equal to "(1) 0.244897959183673 [125]\n (2) 0.0408163265306122 [123]\n (3) 0.86734693877551 [120]\n (4) 0.397959183673469 [119]\n (5) 0.326530612244898 [118]\n".
1/1 mismatches
x[1]: "(1) 0.224489795918367 [119]\n (2) 0.397959183673469 [118]\n (2) 0.8979591
x[1]: 83673469 [118]\n (4) 0.316326530612245 [117]\n (4) 0.448979591836735 [117]
x[1]: \n"
y[1]: "(1) 0.244897959183673 [125]\n (2) 0.0408163265306122 [123]\n (3) 0.867346
y[1]: 93877551 [120]\n (4) 0.397959183673469 [119]\n (5) 0.326530612244898 [118]
y[1]: \n"
── 3. Failure: most frequent_values work properly (@test-frequent_values.R#19)
frequent_values(x, n = 5L, type = "most") not equal to "(1) w [406]\n (2) j [404]\n (3) g [397]\n (4) i [396]\n (5) y [390]\n".
1/1 mismatches
x[1]: "(1) m [405]\n (2) l [404]\n (3) s [399]\n (4) f [391]\n (4) v [391]\n"
y[1]: "(1) w [406]\n (2) j [404]\n (3) g [397]\n (4) i [396]\n (5) y [390]\n"
── 4. Failure: most frequent_values work properly (@test-frequent_values.R#20)
frequent_values(y, n = 5L, type = "most") not equal to "(1) FALSE [3367]\n (2) TRUE [3310]\n".
1/1 mismatches
x[1]: "(1) TRUE [3292]\n (2) FALSE [3284]\n"
y[1]: "(1) FALSE [3367]\n (2) TRUE [3310]\n"
── 5. Failure: most frequent_values work properly (@test-frequent_values.R#21)
frequent_values(z, n = 5L, type = "most") not equal to "(1) 1999-01-01 [1044]\n (2) 1990-01-01 [1035]\n (3) 1998-01-01 [1024]\n (4) 1994-01-01 [1016]\n (5) 1993-01-01 [1011]\n".
1/1 mismatches
x[1]: "(1) 1996-01-01 [1072]\n (2) 1999-01-01 [1030]\n (3) 1997-01-01 [1023]\n (
x[1]: 4) 1993-01-01 [1018]\n (5) 1998-01-01 [1015]\n"
y[1]: "(1) 1999-01-01 [1044]\n (2) 1990-01-01 [1035]\n (3) 1998-01-01 [1024]\n (
y[1]: 4) 1994-01-01 [1016]\n (5) 1993-01-01 [1011]\n"
── 6. Failure: least frequent_values work properly (@test-frequent_values.R#25)
frequent_values(v, n = 5L, type = "least") not equal to "(99) 66 [72]\n (97) 46 [76]\n (97) 31 [76]\n (95) 73 [80]\n (95) 60 [80]\n".
1/1 mismatches
x[1]: "(99) 55 [82]\n (98) 25 [83]\n (97) 90 [84]\n (95) 97 [86]\n (95) 35 [86]\
x[1]: n"
y[1]: "(99) 66 [72]\n (97) 46 [76]\n (97) 31 [76]\n (95) 73 [80]\n (95) 60 [80]\
y[1]: n"
── 7. Failure: least frequent_values work properly (@test-frequent_values.R#26)
frequent_values(w, n = 5L, type = "least") not equal to "(99) 0.663265306122449 [72]\n (97) 0.459183673469388 [76]\n (97) 0.306122448979592 [76]\n (95) 0.73469387755102 [80]\n (95) 0.602040816326531 [80]\n".
1/1 mismatches
x[1]: "(99) 0.551020408163265 [82]\n (98) 0.244897959183673 [83]\n (97) 0.908163
x[1]: 265306122 [84]\n (95) 0.979591836734694 [86]\n (95) 0.346938775510204 [86]
x[1]: \n"
y[1]: "(99) 0.663265306122449 [72]\n (97) 0.459183673469388 [76]\n (97) 0.306122
y[1]: 448979592 [76]\n (95) 0.73469387755102 [80]\n (95) 0.602040816326531 [80]\
y[1]: n"
── 8. Failure: least frequent_values work properly (@test-frequent_values.R#27)
frequent_values(x, n = 5L, type = "least") not equal to "(26) p [319]\n (25) h [338]\n (24) e [342]\n (22) s [343]\n (22) q [343]\n".
1/1 mismatches
x[1]: "(26) a [333]\n (25) z [337]\n (24) b [344]\n (23) n [353]\n (22) p [354]\
x[1]: n"
y[1]: "(26) p [319]\n (25) h [338]\n (24) e [342]\n (22) s [343]\n (22) q [343]\
y[1]: n"
── 9. Failure: least frequent_values work properly (@test-frequent_values.R#28)
frequent_values(y, n = 5L, type = "least") not equal to "(2) TRUE [3310]\n (1) FALSE [3367]\n".
1/1 mismatches
x[1]: "(2) FALSE [3284]\n (1) TRUE [3292]\n"
y[1]: "(2) TRUE [3310]\n (1) FALSE [3367]\n"
── 10. Failure: least frequent_values work properly (@test-frequent_values.R#29
frequent_values(z, n = 5L, type = "least") not equal to "(10) 1996-01-01 [930]\n (9) 1997-01-01 [968]\n (8) 1991-01-01 [977]\n (7) 1995-01-01 [987]\n (6) 1992-01-01 [1008]\n".
1/1 mismatches
x[1]: "(10) 1991-01-01 [937]\n (9) 1992-01-01 [972]\n (8) 1994-01-01 [974]\n (7)
x[1]: 1995-01-01 [979]\n (6) 1990-01-01 [980]\n"
y[1]: "(10) 1996-01-01 [930]\n (9) 1997-01-01 [968]\n (8) 1991-01-01 [977]\n (7)
y[1]: 1995-01-01 [987]\n (6) 1992-01-01 [1008]\n"
══ testthat results ═══════════════════════════════════════════════════════════
OK: 14 SKIPPED: 0 FAILED: 10
1. Failure: most frequent_values work properly (@test-frequent_values.R#17)
2. Failure: most frequent_values work properly (@test-frequent_values.R#18)
3. Failure: most frequent_values work properly (@test-frequent_values.R#19)
4. Failure: most frequent_values work properly (@test-frequent_values.R#20)
5. Failure: most frequent_values work properly (@test-frequent_values.R#21)
6. Failure: least frequent_values work properly (@test-frequent_values.R#25)
7. Failure: least frequent_values work properly (@test-frequent_values.R#26)
8. Failure: least frequent_values work properly (@test-frequent_values.R#27)
9. Failure: least frequent_values work properly (@test-frequent_values.R#28)
10. Failure: least frequent_values work properly (@test-frequent_values.R#29)
Error: testthat unit tests failed
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(profilr)
Attaching package: 'profilr'
The following object is masked from 'package:stats':
profile
>
> test_check("profilr")
── 1. Failure: most frequent_values work properly (@test-frequent_values.R#17)
frequent_values(v, n = 5L, type = "most") not equal to "(1) 25 [125]\n (2) 5 [123]\n (3) 86 [120]\n (4) 40 [119]\n (5) 33 [118]\n".
1/1 mismatches
x[1]: "(1) 23 [119]\n (2) 40 [118]\n (2) 89 [118]\n (4) 32 [117]\n (4) 45 [117]\
x[1]: n"
y[1]: "(1) 25 [125]\n (2) 5 [123]\n (3) 86 [120]\n (4) 40 [119]\n (5) 33 [118]\n
y[1]: "
── 2. Failure: most frequent_values work properly (@test-frequent_values.R#18)
frequent_values(w, n = 5L, type = "most") not equal to "(1) 0.244897959183673 [125]\n (2) 0.0408163265306122 [123]\n (3) 0.86734693877551 [120]\n (4) 0.397959183673469 [119]\n (5) 0.326530612244898 [118]\n".
1/1 mismatches
x[1]: "(1) 0.224489795918367 [119]\n (2) 0.397959183673469 [118]\n (2) 0.8979591
x[1]: 83673469 [118]\n (4) 0.316326530612245 [117]\n (4) 0.448979591836735 [117]
x[1]: \n"
y[1]: "(1) 0.244897959183673 [125]\n (2) 0.0408163265306122 [123]\n (3) 0.867346
y[1]: 93877551 [120]\n (4) 0.397959183673469 [119]\n (5) 0.326530612244898 [118]
y[1]: \n"
── 3. Failure: most frequent_values work properly (@test-frequent_values.R#19)
frequent_values(x, n = 5L, type = "most") not equal to "(1) w [406]\n (2) j [404]\n (3) g [397]\n (4) i [396]\n (5) y [390]\n".
1/1 mismatches
x[1]: "(1) m [405]\n (2) l [404]\n (3) s [399]\n (4) f [391]\n (4) v [391]\n"
y[1]: "(1) w [406]\n (2) j [404]\n (3) g [397]\n (4) i [396]\n (5) y [390]\n"
── 4. Failure: most frequent_values work properly (@test-frequent_values.R#20)
frequent_values(y, n = 5L, type = "most") not equal to "(1) FALSE [3367]\n (2) TRUE [3310]\n".
1/1 mismatches
x[1]: "(1) TRUE [3292]\n (2) FALSE [3284]\n"
y[1]: "(1) FALSE [3367]\n (2) TRUE [3310]\n"
── 5. Failure: most frequent_values work properly (@test-frequent_values.R#21)
frequent_values(z, n = 5L, type = "most") not equal to "(1) 1999-01-01 [1044]\n (2) 1990-01-01 [1035]\n (3) 1998-01-01 [1024]\n (4) 1994-01-01 [1016]\n (5) 1993-01-01 [1011]\n".
1/1 mismatches
x[1]: "(1) 1996-01-01 [1072]\n (2) 1999-01-01 [1030]\n (3) 1997-01-01 [1023]\n (
x[1]: 4) 1993-01-01 [1018]\n (5) 1998-01-01 [1015]\n"
y[1]: "(1) 1999-01-01 [1044]\n (2) 1990-01-01 [1035]\n (3) 1998-01-01 [1024]\n (
y[1]: 4) 1994-01-01 [1016]\n (5) 1993-01-01 [1011]\n"
── 6. Failure: least frequent_values work properly (@test-frequent_values.R#25)
frequent_values(v, n = 5L, type = "least") not equal to "(99) 66 [72]\n (97) 46 [76]\n (97) 31 [76]\n (95) 73 [80]\n (95) 60 [80]\n".
1/1 mismatches
x[1]: "(99) 55 [82]\n (98) 25 [83]\n (97) 90 [84]\n (95) 97 [86]\n (95) 35 [86]\
x[1]: n"
y[1]: "(99) 66 [72]\n (97) 46 [76]\n (97) 31 [76]\n (95) 73 [80]\n (95) 60 [80]\
y[1]: n"
── 7. Failure: least frequent_values work properly (@test-frequent_values.R#26)
frequent_values(w, n = 5L, type = "least") not equal to "(99) 0.663265306122449 [72]\n (97) 0.459183673469388 [76]\n (97) 0.306122448979592 [76]\n (95) 0.73469387755102 [80]\n (95) 0.602040816326531 [80]\n".
1/1 mismatches
x[1]: "(99) 0.551020408163265 [82]\n (98) 0.244897959183673 [83]\n (97) 0.908163
x[1]: 265306122 [84]\n (95) 0.979591836734694 [86]\n (95) 0.346938775510204 [86]
x[1]: \n"
y[1]: "(99) 0.663265306122449 [72]\n (97) 0.459183673469388 [76]\n (97) 0.306122
y[1]: 448979592 [76]\n (95) 0.73469387755102 [80]\n (95) 0.602040816326531 [80]\
y[1]: n"
── 8. Failure: least frequent_values work properly (@test-frequent_values.R#27)
frequent_values(x, n = 5L, type = "least") not equal to "(26) p [319]\n (25) h [338]\n (24) e [342]\n (22) s [343]\n (22) q [343]\n".
1/1 mismatches
x[1]: "(26) a [333]\n (25) z [337]\n (24) b [344]\n (23) n [353]\n (22) p [354]\
x[1]: n"
y[1]: "(26) p [319]\n (25) h [338]\n (24) e [342]\n (22) s [343]\n (22) q [343]\
y[1]: n"
── 9. Failure: least frequent_values work properly (@test-frequent_values.R#28)
frequent_values(y, n = 5L, type = "least") not equal to "(2) TRUE [3310]\n (1) FALSE [3367]\n".
1/1 mismatches
x[1]: "(2) FALSE [3284]\n (1) TRUE [3292]\n"
y[1]: "(2) TRUE [3310]\n (1) FALSE [3367]\n"
── 10. Failure: least frequent_values work properly (@test-frequent_values.R#29
frequent_values(z, n = 5L, type = "least") not equal to "(10) 1996-01-01 [930]\n (9) 1997-01-01 [968]\n (8) 1991-01-01 [977]\n (7) 1995-01-01 [987]\n (6) 1992-01-01 [1008]\n".
1/1 mismatches
x[1]: "(10) 1991-01-01 [937]\n (9) 1992-01-01 [972]\n (8) 1994-01-01 [974]\n (7)
x[1]: 1995-01-01 [979]\n (6) 1990-01-01 [980]\n"
y[1]: "(10) 1996-01-01 [930]\n (9) 1997-01-01 [968]\n (8) 1991-01-01 [977]\n (7)
y[1]: 1995-01-01 [987]\n (6) 1992-01-01 [1008]\n"
══ testthat results ═══════════════════════════════════════════════════════════
OK: 14 SKIPPED: 0 FAILED: 10
1. Failure: most frequent_values work properly (@test-frequent_values.R#17)
2. Failure: most frequent_values work properly (@test-frequent_values.R#18)
3. Failure: most frequent_values work properly (@test-frequent_values.R#19)
4. Failure: most frequent_values work properly (@test-frequent_values.R#20)
5. Failure: most frequent_values work properly (@test-frequent_values.R#21)
6. Failure: least frequent_values work properly (@test-frequent_values.R#25)
7. Failure: least frequent_values work properly (@test-frequent_values.R#26)
8. Failure: least frequent_values work properly (@test-frequent_values.R#27)
9. Failure: least frequent_values work properly (@test-frequent_values.R#28)
10. Failure: least frequent_values work properly (@test-frequent_values.R#29)
Error: testthat unit tests failed
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86
Version: 0.1.0
Check: tests
Result: ERROR
Running 'testthat.R' [1s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(profilr)
Attaching package: 'profilr'
The following object is masked from 'package:stats':
profile
>
> test_check("profilr")
-- 1. Failure: most frequent_values work properly (@test-frequent_values.R#17)
frequent_values(v, n = 5L, type = "most") not equal to "(1) 25 [125]\n (2) 5 [123]\n (3) 86 [120]\n (4) 40 [119]\n (5) 33 [118]\n".
1/1 mismatches
x[1]: "(1) 23 [119]\n (2) 40 [118]\n (2) 89 [118]\n (4) 32 [117]\n (4) 45 [117]\
x[1]: n"
y[1]: "(1) 25 [125]\n (2) 5 [123]\n (3) 86 [120]\n (4) 40 [119]\n (5) 33 [118]\n
y[1]: "
-- 2. Failure: most frequent_values work properly (@test-frequent_values.R#18)
frequent_values(w, n = 5L, type = "most") not equal to "(1) 0.244897959183673 [125]\n (2) 0.0408163265306122 [123]\n (3) 0.86734693877551 [120]\n (4) 0.397959183673469 [119]\n (5) 0.326530612244898 [118]\n".
1/1 mismatches
x[1]: "(1) 0.224489795918367 [119]\n (2) 0.397959183673469 [118]\n (2) 0.8979591
x[1]: 83673469 [118]\n (4) 0.316326530612245 [117]\n (4) 0.448979591836735 [117]
x[1]: \n"
y[1]: "(1) 0.244897959183673 [125]\n (2) 0.0408163265306122 [123]\n (3) 0.867346
y[1]: 93877551 [120]\n (4) 0.397959183673469 [119]\n (5) 0.326530612244898 [118]
y[1]: \n"
-- 3. Failure: most frequent_values work properly (@test-frequent_values.R#19)
frequent_values(x, n = 5L, type = "most") not equal to "(1) w [406]\n (2) j [404]\n (3) g [397]\n (4) i [396]\n (5) y [390]\n".
1/1 mismatches
x[1]: "(1) m [405]\n (2) l [404]\n (3) s [399]\n (4) f [391]\n (4) v [391]\n"
y[1]: "(1) w [406]\n (2) j [404]\n (3) g [397]\n (4) i [396]\n (5) y [390]\n"
-- 4. Failure: most frequent_values work properly (@test-frequent_values.R#20)
frequent_values(y, n = 5L, type = "most") not equal to "(1) FALSE [3367]\n (2) TRUE [3310]\n".
1/1 mismatches
x[1]: "(1) TRUE [3292]\n (2) FALSE [3284]\n"
y[1]: "(1) FALSE [3367]\n (2) TRUE [3310]\n"
-- 5. Failure: most frequent_values work properly (@test-frequent_values.R#21)
frequent_values(z, n = 5L, type = "most") not equal to "(1) 1999-01-01 [1044]\n (2) 1990-01-01 [1035]\n (3) 1998-01-01 [1024]\n (4) 1994-01-01 [1016]\n (5) 1993-01-01 [1011]\n".
1/1 mismatches
x[1]: "(1) 1996-01-01 [1072]\n (2) 1999-01-01 [1030]\n (3) 1997-01-01 [1023]\n (
x[1]: 4) 1993-01-01 [1018]\n (5) 1998-01-01 [1015]\n"
y[1]: "(1) 1999-01-01 [1044]\n (2) 1990-01-01 [1035]\n (3) 1998-01-01 [1024]\n (
y[1]: 4) 1994-01-01 [1016]\n (5) 1993-01-01 [1011]\n"
-- 6. Failure: least frequent_values work properly (@test-frequent_values.R#25)
frequent_values(v, n = 5L, type = "least") not equal to "(99) 66 [72]\n (97) 46 [76]\n (97) 31 [76]\n (95) 73 [80]\n (95) 60 [80]\n".
1/1 mismatches
x[1]: "(99) 55 [82]\n (98) 25 [83]\n (97) 90 [84]\n (95) 97 [86]\n (95) 35 [86]\
x[1]: n"
y[1]: "(99) 66 [72]\n (97) 46 [76]\n (97) 31 [76]\n (95) 73 [80]\n (95) 60 [80]\
y[1]: n"
-- 7. Failure: least frequent_values work properly (@test-frequent_values.R#26)
frequent_values(w, n = 5L, type = "least") not equal to "(99) 0.663265306122449 [72]\n (97) 0.459183673469388 [76]\n (97) 0.306122448979592 [76]\n (95) 0.73469387755102 [80]\n (95) 0.602040816326531 [80]\n".
1/1 mismatches
x[1]: "(99) 0.551020408163265 [82]\n (98) 0.244897959183673 [83]\n (97) 0.908163
x[1]: 265306122 [84]\n (95) 0.979591836734694 [86]\n (95) 0.346938775510204 [86]
x[1]: \n"
y[1]: "(99) 0.663265306122449 [72]\n (97) 0.459183673469388 [76]\n (97) 0.306122
y[1]: 448979592 [76]\n (95) 0.73469387755102 [80]\n (95) 0.602040816326531 [80]\
y[1]: n"
-- 8. Failure: least frequent_values work properly (@test-frequent_values.R#27)
frequent_values(x, n = 5L, type = "least") not equal to "(26) p [319]\n (25) h [338]\n (24) e [342]\n (22) s [343]\n (22) q [343]\n".
1/1 mismatches
x[1]: "(26) a [333]\n (25) z [337]\n (24) b [344]\n (23) n [353]\n (22) p [354]\
x[1]: n"
y[1]: "(26) p [319]\n (25) h [338]\n (24) e [342]\n (22) s [343]\n (22) q [343]\
y[1]: n"
-- 9. Failure: least frequent_values work properly (@test-frequent_values.R#28)
frequent_values(y, n = 5L, type = "least") not equal to "(2) TRUE [3310]\n (1) FALSE [3367]\n".
1/1 mismatches
x[1]: "(2) FALSE [3284]\n (1) TRUE [3292]\n"
y[1]: "(2) TRUE [3310]\n (1) FALSE [3367]\n"
-- 10. Failure: least frequent_values work properly (@test-frequent_values.R#29
frequent_values(z, n = 5L, type = "least") not equal to "(10) 1996-01-01 [930]\n (9) 1997-01-01 [968]\n (8) 1991-01-01 [977]\n (7) 1995-01-01 [987]\n (6) 1992-01-01 [1008]\n".
1/1 mismatches
x[1]: "(10) 1991-01-01 [937]\n (9) 1992-01-01 [972]\n (8) 1994-01-01 [974]\n (7)
x[1]: 1995-01-01 [979]\n (6) 1990-01-01 [980]\n"
y[1]: "(10) 1996-01-01 [930]\n (9) 1997-01-01 [968]\n (8) 1991-01-01 [977]\n (7)
y[1]: 1995-01-01 [987]\n (6) 1992-01-01 [1008]\n"
== testthat results ===========================================================
OK: 14 SKIPPED: 0 FAILED: 10
1. Failure: most frequent_values work properly (@test-frequent_values.R#17)
2. Failure: most frequent_values work properly (@test-frequent_values.R#18)
3. Failure: most frequent_values work properly (@test-frequent_values.R#19)
4. Failure: most frequent_values work properly (@test-frequent_values.R#20)
5. Failure: most frequent_values work properly (@test-frequent_values.R#21)
6. Failure: least frequent_values work properly (@test-frequent_values.R#25)
7. Failure: least frequent_values work properly (@test-frequent_values.R#26)
8. Failure: least frequent_values work properly (@test-frequent_values.R#27)
9. Failure: least frequent_values work properly (@test-frequent_values.R#28)
10. Failure: least frequent_values work properly (@test-frequent_values.R#29)
Error: testthat unit tests failed
Execution halted
Flavor: r-devel-windows-ix86+x86_64
Version: 0.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [1s/1s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(profilr)
Attaching package: 'profilr'
The following object is masked from 'package:stats':
profile
>
> test_check("profilr")
── 1. Failure: most frequent_values work properly (@test-frequent_values.R#17)
frequent_values(v, n = 5L, type = "most") not equal to "(1) 25 [125]\n (2) 5 [123]\n (3) 86 [120]\n (4) 40 [119]\n (5) 33 [118]\n".
1/1 mismatches
x[1]: "(1) 23 [119]\n (2) 40 [118]\n (2) 89 [118]\n (4) 32 [117]\n (4) 45 [117]\
x[1]: n"
y[1]: "(1) 25 [125]\n (2) 5 [123]\n (3) 86 [120]\n (4) 40 [119]\n (5) 33 [118]\n
y[1]: "
── 2. Failure: most frequent_values work properly (@test-frequent_values.R#18)
frequent_values(w, n = 5L, type = "most") not equal to "(1) 0.244897959183673 [125]\n (2) 0.0408163265306122 [123]\n (3) 0.86734693877551 [120]\n (4) 0.397959183673469 [119]\n (5) 0.326530612244898 [118]\n".
1/1 mismatches
x[1]: "(1) 0.224489795918367 [119]\n (2) 0.397959183673469 [118]\n (2) 0.8979591
x[1]: 83673469 [118]\n (4) 0.316326530612245 [117]\n (4) 0.448979591836735 [117]
x[1]: \n"
y[1]: "(1) 0.244897959183673 [125]\n (2) 0.0408163265306122 [123]\n (3) 0.867346
y[1]: 93877551 [120]\n (4) 0.397959183673469 [119]\n (5) 0.326530612244898 [118]
y[1]: \n"
── 3. Failure: most frequent_values work properly (@test-frequent_values.R#19)
frequent_values(x, n = 5L, type = "most") not equal to "(1) w [406]\n (2) j [404]\n (3) g [397]\n (4) i [396]\n (5) y [390]\n".
1/1 mismatches
x[1]: "(1) m [405]\n (2) l [404]\n (3) s [399]\n (4) f [391]\n (4) v [391]\n"
y[1]: "(1) w [406]\n (2) j [404]\n (3) g [397]\n (4) i [396]\n (5) y [390]\n"
── 4. Failure: most frequent_values work properly (@test-frequent_values.R#20)
frequent_values(y, n = 5L, type = "most") not equal to "(1) FALSE [3367]\n (2) TRUE [3310]\n".
1/1 mismatches
x[1]: "(1) TRUE [3292]\n (2) FALSE [3284]\n"
y[1]: "(1) FALSE [3367]\n (2) TRUE [3310]\n"
── 5. Failure: most frequent_values work properly (@test-frequent_values.R#21)
frequent_values(z, n = 5L, type = "most") not equal to "(1) 1999-01-01 [1044]\n (2) 1990-01-01 [1035]\n (3) 1998-01-01 [1024]\n (4) 1994-01-01 [1016]\n (5) 1993-01-01 [1011]\n".
1/1 mismatches
x[1]: "(1) 1996-01-01 [1072]\n (2) 1999-01-01 [1030]\n (3) 1997-01-01 [1023]\n (
x[1]: 4) 1993-01-01 [1018]\n (5) 1998-01-01 [1015]\n"
y[1]: "(1) 1999-01-01 [1044]\n (2) 1990-01-01 [1035]\n (3) 1998-01-01 [1024]\n (
y[1]: 4) 1994-01-01 [1016]\n (5) 1993-01-01 [1011]\n"
── 6. Failure: least frequent_values work properly (@test-frequent_values.R#25)
frequent_values(v, n = 5L, type = "least") not equal to "(99) 66 [72]\n (97) 46 [76]\n (97) 31 [76]\n (95) 73 [80]\n (95) 60 [80]\n".
1/1 mismatches
x[1]: "(99) 55 [82]\n (98) 25 [83]\n (97) 90 [84]\n (95) 97 [86]\n (95) 35 [86]\
x[1]: n"
y[1]: "(99) 66 [72]\n (97) 46 [76]\n (97) 31 [76]\n (95) 73 [80]\n (95) 60 [80]\
y[1]: n"
── 7. Failure: least frequent_values work properly (@test-frequent_values.R#26)
frequent_values(w, n = 5L, type = "least") not equal to "(99) 0.663265306122449 [72]\n (97) 0.459183673469388 [76]\n (97) 0.306122448979592 [76]\n (95) 0.73469387755102 [80]\n (95) 0.602040816326531 [80]\n".
1/1 mismatches
x[1]: "(99) 0.551020408163265 [82]\n (98) 0.244897959183673 [83]\n (97) 0.908163
x[1]: 265306122 [84]\n (95) 0.979591836734694 [86]\n (95) 0.346938775510204 [86]
x[1]: \n"
y[1]: "(99) 0.663265306122449 [72]\n (97) 0.459183673469388 [76]\n (97) 0.306122
y[1]: 448979592 [76]\n (95) 0.73469387755102 [80]\n (95) 0.602040816326531 [80]\
y[1]: n"
── 8. Failure: least frequent_values work properly (@test-frequent_values.R#27)
frequent_values(x, n = 5L, type = "least") not equal to "(26) p [319]\n (25) h [338]\n (24) e [342]\n (22) s [343]\n (22) q [343]\n".
1/1 mismatches
x[1]: "(26) a [333]\n (25) z [337]\n (24) b [344]\n (23) n [353]\n (22) p [354]\
x[1]: n"
y[1]: "(26) p [319]\n (25) h [338]\n (24) e [342]\n (22) s [343]\n (22) q [343]\
y[1]: n"
── 9. Failure: least frequent_values work properly (@test-frequent_values.R#28)
frequent_values(y, n = 5L, type = "least") not equal to "(2) TRUE [3310]\n (1) FALSE [3367]\n".
1/1 mismatches
x[1]: "(2) FALSE [3284]\n (1) TRUE [3292]\n"
y[1]: "(2) TRUE [3310]\n (1) FALSE [3367]\n"
── 10. Failure: least frequent_values work properly (@test-frequent_values.R#29
frequent_values(z, n = 5L, type = "least") not equal to "(10) 1996-01-01 [930]\n (9) 1997-01-01 [968]\n (8) 1991-01-01 [977]\n (7) 1995-01-01 [987]\n (6) 1992-01-01 [1008]\n".
1/1 mismatches
x[1]: "(10) 1991-01-01 [937]\n (9) 1992-01-01 [972]\n (8) 1994-01-01 [974]\n (7)
x[1]: 1995-01-01 [979]\n (6) 1990-01-01 [980]\n"
y[1]: "(10) 1996-01-01 [930]\n (9) 1997-01-01 [968]\n (8) 1991-01-01 [977]\n (7)
y[1]: 1995-01-01 [987]\n (6) 1992-01-01 [1008]\n"
══ testthat results ═══════════════════════════════════════════════════════════
OK: 14 SKIPPED: 0 FAILED: 10
1. Failure: most frequent_values work properly (@test-frequent_values.R#17)
2. Failure: most frequent_values work properly (@test-frequent_values.R#18)
3. Failure: most frequent_values work properly (@test-frequent_values.R#19)
4. Failure: most frequent_values work properly (@test-frequent_values.R#20)
5. Failure: most frequent_values work properly (@test-frequent_values.R#21)
6. Failure: least frequent_values work properly (@test-frequent_values.R#25)
7. Failure: least frequent_values work properly (@test-frequent_values.R#26)
8. Failure: least frequent_values work properly (@test-frequent_values.R#27)
9. Failure: least frequent_values work properly (@test-frequent_values.R#28)
10. Failure: least frequent_values work properly (@test-frequent_values.R#29)
Error: testthat unit tests failed
Execution halted
Flavor: r-patched-linux-x86_64