Created
May 31, 2020 16:23
-
-
Save lazycipher/336f4be8530a010efc450829107a52f1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tests_init("firefox") | |
Starting selenium binary. To shut it down, run: | |
remDr$closeWindow() | |
remDr$closeServer() | |
checking Selenium Server versions: | |
BEGIN: PREDOWNLOAD | |
BEGIN: DOWNLOAD | |
BEGIN: POSTDOWNLOAD | |
checking chromedriver versions: | |
BEGIN: PREDOWNLOAD | |
BEGIN: DOWNLOAD | |
BEGIN: POSTDOWNLOAD | |
checking geckodriver versions: | |
BEGIN: PREDOWNLOAD | |
BEGIN: DOWNLOAD | |
BEGIN: POSTDOWNLOAD | |
checking phantomjs versions: | |
BEGIN: PREDOWNLOAD | |
BEGIN: DOWNLOAD | |
BEGIN: POSTDOWNLOAD | |
> tests_run(filter = "renderer") | |
[1] "axis angle rotate" | |
[1] 0.75 | |
[1] "One character value" | |
[1] "coord" | |
[1] "facet-coord" | |
[1] "facet lines" | |
[1] "facet_grid(space=\"free\")" | |
[1] "facet-trivial" | |
[1] "facet-strips" | |
[1] "geom_abline" | |
[1] "global variables" | |
-- 1. Failure: animint.js only defines 1 object, called animint (@test-renderer1 | |
`diff.vars` not identical to "animint". | |
Lengths differ: 0 is not 1 | |
[1] "hjust text anchor" | |
[1] 0.8 | |
[1] 1.5 | |
[1] 0.5 1.0 | |
[1] 1 | |
[1] 0.5 | |
[1] 0.7 | |
[1] "hline" | |
[1] "aes(href)" | |
[1] "HTML page title" | |
[1] "Interactive facets" | |
[1] "interactivity" | |
[1] "knitting multiple animint plots in a single Rmd" | |
|.............. | 10% | |
ordinary text without R code | |
|............................ | 20% | |
label: safety (with options) | |
List of 1 | |
$ echo: logi FALSE | |
|........................................... | 30% | |
ordinary text without R code | |
|......................................................... | 40% | |
label: plot-1-top | |
|....................................................................... | 50% | |
ordinary text without R code | |
|..................................................................................... | 60% | |
label: plot.1.bottom | |
|................................................................................................... | 70% | |
ordinary text without R code | |
|.................................................................................................................. | 80% | |
label: boring | |
|................................................................................................................................ | 90% | |
ordinary text without R code | |
|..............................................................................................................................................| 100% | |
label: breakpoints | |
"C:/Program Files/RStudio/bin/pandoc/pandoc" +RTS -K512m -RTS index.utf8.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash+smart --output index.html --email-obfuscation none --standalone --section-divs --template "C:\Users\imhim\Documents\R\win-library\4.0\rmarkdown\rmd\h\default.html" --no-highlight --variable highlightjs=1 --variable "theme:bootstrap" --include-in-header "C:\Users\imhim\AppData\Local\Temp\RtmpCMsutb\rmarkdown-str2d88204a36ec.html" --mathjax --variable "mathjax-url:https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" --lua-filter "C:/Users/imhim/Documents/R/win-library/4.0/rmarkdown/rmd/lua/pagebreak.lua" --lua-filter "C:/Users/imhim/Documents/R/win-library/4.0/rmarkdown/rmd/lua/latex-div.lua" | |
-- 2. Failure: knit_print.animint renders five x axis titles (@test-renderer1-kn | |
`value.vec` not identical to `expected.vec`. | |
Modes: list, character | |
Length mismatch: comparison on first 0 components | |
-- 3. Failure: segments and breakpoints are rendered (@test-renderer1-knit-print | |
length(seg.list) not equal to 6. | |
1/1 mismatches | |
[1] 0 - 6 == -6 | |
-- 4. Failure: segments and breakpoints are rendered (@test-renderer1-knit-print | |
length(break.list) not equal to 5. | |
1/1 mismatches | |
[1] 0 - 5 == -5 | |
-- 5. Error: svg id property is unique (@test-renderer1-knit-print.R#39) ------ | |
incorrect number of dimensions | |
Backtrace: | |
1. base::table(attr.mat["id", ]) | |
-- 6. Error: (unknown) (@test-renderer1-knit-print.R#100) --------------------- | |
Summary: NoSuchElement | |
Detail: An element could not be located on the page using the given search parameters. | |
class: org.openqa.selenium.NoSuchElementException | |
Further Details: run errorDetails method | |
Backtrace: | |
1. animint2:::get_elements("plot1top") | |
2. remDr$findElement("id", id) | |
3. RSelenium:::queryRD(...) | |
4. RSelenium:::checkStatus(resContent) | |
[1] "Labels" | |
[1] "legends" | |
[1] "linetype" | |
[1] "malaria data viz" | |
-- 7. Failure: INTERGENIC legend entry opacity 0.5 after clicking (@test-rendere | |
`after.vec` not identical to c("1", "0.5", "1", "1"). | |
1/4 mismatches | |
x[2]: "1" | |
y[2]: "0.5" | |
-- 8. Failure: none legend entry opacity 0.5 after clicking (@test-renderer1-mal | |
`after.vec` not identical to c("0.5", "1"). | |
1/2 mismatches | |
x[1]: "1" | |
y[1]: "0.5" | |
[1] "many facets" | |
[1] "Panel background" | |
[1] "params" | |
[1] "PeakConsistency" | |
[1] "rect size" | |
[1] "Segment size" | |
[1] "Text" | |
[1] "aes(tooltip)" | |
[1] "url fragment identifier" | |
[1] "variable value" | |
[1] "WorldBank-NA" | |
[1] "Interactive Legends" | |
-- 9. Failure: clicking species legend adds and removes points (@test-renderer2- | |
length(get_circles("petal")) not equal to 100. | |
1/1 mismatches | |
[1] 150 - 100 == 50 | |
-- 10. Failure: clicking Sepal point doesn't affect sepal plot (@test-renderer2- | |
length(get_circles("petal")) not equal to 100. | |
1/1 mismatches | |
[1] 150 - 100 == 50 | |
List of 1 | |
$ : language factor(vs) | |
List of 1 | |
$ : language factor(vs) | |
chr [1:2] "vs0" "vs1" | |
List of 2 | |
$ : symbol vs.fac | |
$ : symbol vs.fac2 | |
[1] "no axes" | |
[1] "PredictedPeaks data set" | |
-- 11. Failure: hlines after clicking specific (@test-renderer2-PredictedPeaks.R | |
length(line.list) not equal to 0. | |
1/1 mismatches | |
[1] 2 - 0 == 2 | |
-- 12. Failure: hlines after clicking specific (@test-renderer2-PredictedPeaks.R | |
`computed.opacity` not equal to 0.5. | |
1/1 mismatches | |
[1] 1 - 0.5 == 0.5 | |
[1] "showSelected=var, showSelected2=var" | |
[1] "VariantModels data viz" | |
-- 13. Failure: geom counts after hiding MQ (@test-renderer2-VariantModels.R#243 | |
`expected.counts` not equal to as.numeric(computed.counts). | |
8/9 mismatches (average diff: 6.5) | |
[1] 114 - 120 == -6 | |
[2] 19 - 20 == -1 | |
[3] 57 - 60 == -3 | |
[4] 57 - 60 == -3 | |
[5] 19 - 20 == -1 | |
[7] 19 - 20 == -1 | |
[8] 57 - 60 == -3 | |
[9] 1667 - 1701 == -34 | |
-- 14. Failure: geom counts after hiding min error (@test-renderer2-VariantModel | |
`expected.counts` not equal to as.numeric(computed.counts). | |
9/9 mismatches (average diff: 29.1) | |
[1] 0 - 120 == -120 | |
[2] 19 - 20 == -1 | |
[3] 57 - 60 == -3 | |
[4] 0 - 60 == -60 | |
[5] 19 - 20 == -1 | |
[6] 0 - 20 == -20 | |
[7] 0 - 20 == -20 | |
[8] 57 - 60 == -3 | |
[9] 1667 - 1701 == -34 | |
-- 15. Failure: geom counts after hiding selected (@test-renderer2-VariantModels | |
`expected.counts` not equal to as.numeric(computed.counts). | |
9/9 mismatches (average diff: 225) | |
[1] 0 - 120 == -120 | |
[2] 0 - 20 == -20 | |
[3] 57 - 60 == -3 | |
[4] 0 - 60 == -60 | |
[5] 0 - 20 == -20 | |
[6] 0 - 20 == -20 | |
[7] 0 - 20 == -20 | |
[8] 0 - 60 == -60 | |
[9] 0 - 1701 == -1701 | |
-- 16. Failure: geom counts after showing min error (@test-renderer2-VariantMode | |
`expected.counts` not equal to as.numeric(computed.counts). | |
8/9 mismatches (average diff: 227) | |
[1] 114 - 120 == -6 | |
[2] 0 - 20 == -20 | |
[3] 57 - 60 == -3 | |
[4] 57 - 60 == -3 | |
[5] 0 - 20 == -20 | |
[7] 19 - 20 == -1 | |
[8] 0 - 60 == -60 | |
[9] 0 - 1701 == -1701 | |
-- 17. Failure: geom counts after hiding knn (@test-renderer2-VariantModels.R#30 | |
`expected.counts` not equal to as.numeric(computed.counts). | |
8/9 mismatches (average diff: 230) | |
[1] 102 - 120 == -18 | |
[2] 0 - 20 == -20 | |
[3] 51 - 60 == -9 | |
[4] 51 - 60 == -9 | |
[5] 0 - 20 == -20 | |
[7] 17 - 20 == -3 | |
[8] 0 - 60 == -60 | |
[9] 0 - 1701 == -1701 | |
-- 18. Failure: geom counts after showing selected (@test-renderer2-VariantModel | |
`expected.counts` not equal to as.numeric(computed.counts). | |
8/9 mismatches (average diff: 13) | |
[1] 102 - 120 == -18 | |
[2] 17 - 20 == -3 | |
[3] 51 - 60 == -9 | |
[4] 51 - 60 == -9 | |
[5] 17 - 20 == -3 | |
[7] 17 - 20 == -3 | |
[8] 51 - 60 == -9 | |
[9] 1651 - 1701 == -50 | |
-- 19. Failure: geom counts after hiding errors (@test-renderer2-VariantModels.R | |
`expected.counts` not equal to as.numeric(computed.counts). | |
8/9 mismatches (average diff: 15.1) | |
[1] 102 - 120 == -18 | |
[2] 17 - 20 == -3 | |
[3] 51 - 60 == -9 | |
[4] 51 - 60 == -9 | |
[5] 17 - 20 == -3 | |
[7] 17 - 20 == -3 | |
[8] 34 - 60 == -26 | |
[9] 1651 - 1701 == -50 | |
[1] "geom_widerect" | |
-- 20. Failure: clicking status legend hides tallrects (@test-renderer2-widerect | |
length(node.set) not equal to 0. | |
1/1 mismatches | |
[1] 52 - 0 == 52 | |
-- 21. Failure: clicking status legend hides tallrects (@test-renderer2-widerect | |
length(node.set) not equal to 0. | |
1/1 mismatches | |
[1] 52 - 0 == 52 | |
-- 22. Failure: clicking legend removes/adds countries (@test-renderer2-widerect | |
length(oneclick$rects) not equal to 0. | |
1/1 mismatches | |
[1] 1 - 0 == 1 | |
-- 23. Failure: clicking legend removes/adds countries (@test-renderer2-widerect | |
sum(oneclick$legends == "1") not equal to 12. | |
1/1 mismatches | |
[1] 14 - 12 == 2 | |
-- 24. Failure: clicking legend removes/adds countries (@test-renderer2-widerect | |
sum(oneclick$legends == "0.5") not equal to 2. | |
1/1 mismatches | |
[1] 0 - 2 == -2 | |
-- 25. Error: (unknown) (@test-renderer2-widerect.R#329) ---------------------- | |
Summary: UnknownCommand | |
Detail: The requested resource could not be found, or a request was received using an HTTP method that is not supported by the mapped resource. | |
Further Details: run errorDetails method | |
Backtrace: | |
1. remDr$sendKeysToActiveElement(list(key = "backspace")) | |
2. RSelenium:::queryRD(qpath, "POST", qdata = sendKeys) | |
3. RSelenium:::checkStatus(resContent) | |
[1] "ChromHMMinit data set" | |
[1] "FunctionalPruning" | |
[1] "mixtureKNN data set" | |
-- 26. Failure: first click, Bayes error disappears (@test-renderer3-knn.R#181) | |
length(click1$Bayes) not equal to 0. | |
1/1 mismatches | |
[1] 1 - 0 == 1 | |
-- 27. Failure: first click, Bayes boundary disappears (@test-renderer3-knn.R#18 | |
length(click1$boundary.Bayes) not equal to 0. | |
1/1 mismatches | |
[1] 2 - 0 == 2 | |
-- 28. Failure: second click, validation error band disappears (@test-renderer3- | |
length(click2$ribbon) not equal to 0. | |
1/1 mismatches | |
[1] 1 - 0 == 1 | |
-- 29. Failure: second click, validation error mean disappears (@test-renderer3- | |
length(click2$validation) not equal to 0. | |
1/1 mismatches | |
[1] 1 - 0 == 1 | |
-- 30. Failure: second click, train/test error disappears (@test-renderer3-knn.R | |
length(click2$train.test) not equal to 0. | |
1/1 mismatches | |
[1] 2 - 0 == 2 | |
-- 31. Failure: second click, Bayes error still gone (@test-renderer3-knn.R#203) | |
length(click2$Bayes) not equal to 0. | |
1/1 mismatches | |
[1] 1 - 0 == 1 | |
-- 32. Failure: second click, KNN boundary disappears (@test-renderer3-knn.R#206 | |
length(click2$boundary.KNN) not equal to 0. | |
1/1 mismatches | |
[1] 6 - 0 == 6 | |
-- 33. Failure: second click, Bayes boundary still gone (@test-renderer3-knn.R#2 | |
length(click2$boundary.Bayes) not equal to 0. | |
1/1 mismatches | |
[1] 2 - 0 == 2 | |
[1] "lilac chaser vi" | |
[1] "path key" | |
[1] "point fill NA" | |
[1] "TestROC" | |
[1] "stat bin" | |
mapping: x = count, group = stack, fill = stack, showSelected1 = facet | |
geom_bar: na.rm = FALSE, width = NULL | |
stat_bin: binwidth = 1, bins = NULL, na.rm = FALSE, pad = FALSE, width = NULL | |
position_identity | |
[1] "geom_point_stroke" | |
[1] "Inf" | |
-- 34. Error: (unknown) (@test-renderer4-Inf.R#36) ---------------------------- | |
incorrect number of dimensions | |
[1] "make_xrect" | |
[1] "NA separate lines" | |
[1] "prostateLasso data set" | |
[1] "update_axes - multiple single selectors" | |
[1] "update_axes" | |
-- 35. Failure: geom_ribbon has grid updates (@test-renderer4-update-axes.R#306) | |
unequal(minor_grid_attr1$hor, minor_grid_attr2$hor, tolerance = 0.01) isn't true. | |
-- 36. Failure: geom_ribbon has grid updates (@test-renderer4-update-axes.R#308) | |
unequal(major_grid_attr1$hor, major_grid_attr2$hor, tolerance = 0.01) isn't true. | |
-- 37. Failure: geom_ribbon has axis tick updates (@test-renderer4-update-axes.R | |
unequal(updated_tick_diff, original_tick_diff, tolerance = 0.01) isn't true. | |
[1] "ChromHMMiterations data set" | |
[1] "tooltip-interactivity" | |
-- 38. Failure: Interactivity does not mess up tooltip titles (@test-renderer5-t | |
length(rendered_titles2) not equal to sum(CO2$Treatment == "chilled"). | |
1/1 mismatches | |
[1] 84 - 42 == 42 | |
-- 39. Failure: Interactivity does not mess up tooltip titles (@test-renderer5-t | |
sort(rendered_titles2_unique) not identical to sort(actual_titles2). | |
Lengths differ: 12 is not 6 | |
-- 40. Failure: Interactivity does not mess up tooltip titles (@test-renderer5-t | |
length(title_nodes3) not equal to 0. | |
1/1 mismatches | |
[1] 84 - 0 == 84 | |
-- 41. Failure: Interactivity does not mess up tooltip titles (@test-renderer5-t | |
length(rendered_titles4) not equal to sum(CO2$Treatment == "nonchilled"). | |
1/1 mismatches | |
[1] 84 - 42 == 42 | |
-- 42. Failure: Interactivity does not mess up tooltip titles (@test-renderer5-t | |
sort(rendered_titles4_unique) not identical to sort(actual_titles4). | |
Lengths differ: 12 is not 6 | |
== testthat results =========================================================== | |
[ OK: 972 | SKIPPED: 0 | WARNINGS: 38 | FAILED: 42 ] | |
1. Failure: animint.js only defines 1 object, called animint (@test-renderer1-global-variables.R#36) | |
2. Failure: knit_print.animint renders five x axis titles (@test-renderer1-knit-print.R#26) | |
3. Failure: segments and breakpoints are rendered (@test-renderer1-knit-print.R#31) | |
4. Failure: segments and breakpoints are rendered (@test-renderer1-knit-print.R#33) | |
5. Error: svg id property is unique (@test-renderer1-knit-print.R#39) | |
6. Error: (unknown) (@test-renderer1-knit-print.R#100) | |
7. Failure: INTERGENIC legend entry opacity 0.5 after clicking (@test-renderer1-malaria.R#216) | |
8. Failure: none legend entry opacity 0.5 after clicking (@test-renderer1-malaria.R#227) | |
9. Failure: clicking species legend adds and removes points (@test-renderer2-interactive-legends.R#42) | |
1. ... | |
Error: testthat unit tests failed | |
> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment