Skip to content

Instantly share code, notes, and snippets.

@lazycipher
Created June 12, 2020 15:48
Show Gist options
  • Save lazycipher/1e8a747adb29d97ad42e2dcd67b30b59 to your computer and use it in GitHub Desktop.
Save lazycipher/1e8a747adb29d97ad42e2dcd67b30b59 to your computer and use it in GitHub Desktop.
Firefox Test Output
> 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] "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 --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\RtmpYZLEel\rmarkdown-str3c10393e6bd2.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"
-- 1. Error: top widget adds/remove points (@test-renderer1-knit-print.R#143) -
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)
-- 2. Error: bottom widget adds/remove points (@test-renderer1-knit-print.R#160)
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] "Labels"
[1] "legends"
[1] "linetype"
[1] "malaria data viz"
-- 3. 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"
-- 4. 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"
-- 5. 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
-- 6. Failure: clicking Sepal point doesn't affect sepal plot (@test-renderer2-i
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"
-- 7. Failure: hlines after clicking specific (@test-renderer2-PredictedPeaks.R#
length(line.list) not equal to 0.
1/1 mismatches
[1] 2 - 0 == 2
-- 8. 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"
-- 9. 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
-- 10. 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
-- 11. 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
-- 12. 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
-- 13. 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
-- 14. 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
-- 15. 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"
-- 16. Failure: clicking status legend hides tallrects (@test-renderer2-widerect
length(node.set) not equal to 0.
1/1 mismatches
[1] 52 - 0 == 52
-- 17. Failure: clicking status legend hides tallrects (@test-renderer2-widerect
length(node.set) not equal to 0.
1/1 mismatches
[1] 52 - 0 == 52
-- 18. Failure: clicking legend removes/adds countries (@test-renderer2-widerect
length(oneclick$rects) not equal to 0.
1/1 mismatches
[1] 1 - 0 == 1
-- 19. Failure: clicking legend removes/adds countries (@test-renderer2-widerect
sum(oneclick$legends == "1") not equal to 12.
1/1 mismatches
[1] 14 - 12 == 2
-- 20. 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
-- 21. 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"
-- 22. 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
-- 23. 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
-- 24. Failure: second click, validation error band disappears (@test-renderer3-
length(click2$ribbon) not equal to 0.
1/1 mismatches
[1] 1 - 0 == 1
-- 25. Failure: second click, validation error mean disappears (@test-renderer3-
length(click2$validation) not equal to 0.
1/1 mismatches
[1] 1 - 0 == 1
-- 26. 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
-- 27. 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
-- 28. 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
-- 29. 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"
-- 30. 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"
-- 31. 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.
-- 32. 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.
-- 33. 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"
-- 34. 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
-- 35. 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
-- 36. 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
-- 37. 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
-- 38. 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: 989 | SKIPPED: 0 | WARNINGS: 38 | FAILED: 38 ]
1. Error: top widget adds/remove points (@test-renderer1-knit-print.R#143)
2. Error: bottom widget adds/remove points (@test-renderer1-knit-print.R#160)
3. Failure: INTERGENIC legend entry opacity 0.5 after clicking (@test-renderer1-malaria.R#216)
4. Failure: none legend entry opacity 0.5 after clicking (@test-renderer1-malaria.R#227)
5. Failure: clicking species legend adds and removes points (@test-renderer2-interactive-legends.R#42)
6. Failure: clicking Sepal point doesn't affect sepal plot (@test-renderer2-interactive-legends.R#57)
7. Failure: hlines after clicking specific (@test-renderer2-PredictedPeaks.R#270)
8. Failure: hlines after clicking specific (@test-renderer2-PredictedPeaks.R#272)
9. Failure: geom counts after hiding MQ (@test-renderer2-VariantModels.R#243)
1. ...
Error: testthat unit tests failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment