Skip to content

Instantly share code, notes, and snippets.

@lazycipher
Created May 23, 2020 20:47
Show Gist options
  • Save lazycipher/0a21f0161902bea0245c09da550efdb9 to your computer and use it in GitHub Desktop.
Save lazycipher/0a21f0161902bea0245c09da550efdb9 to your computer and use it in GitHub Desktop.
Output when Firefox used i.e tests_init("firefox")
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"
-- 2. Error: (unknown) (@test-renderer1-knit-print.R#12) ----------------------
The file 'animint-htmltest/index.Rmd' does not exist.
Backtrace:
1. rmarkdown::render(index.file)
4. rmarkdown:::abs_path(input)
[1] "Labels"
[1] "legends"
[1] "linetype"
[1] "malaria data viz"
-- 3. Error: (unknown) (@test-renderer1-malaria.R#19) -------------------------
object 'malaria' not found
[1] "many facets"
[1] "Panel background"
[1] "params"
[1] "PeakConsistency"
-- 4. Error: (unknown) (@test-renderer1-PeakConsistency.R#15) -----------------
object 'PeakConsistency' not found
Backtrace:
1. animint2::geom_segment(...)
4. base::subset(PeakConsistency$model, increase == 1)
[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. Error: (unknown) (@test-renderer2-VariantModels.R#5) --------------------
object 'VariantModels' not found
Backtrace:
1. base::subset(VariantModels$auc, metric.name == "min.error")
[1] "geom_widerect"
-- 10. Failure: clicking status legend hides tallrects (@test-renderer2-widerect
length(node.set) not equal to 0.
1/1 mismatches
[1] 52 - 0 == 52
-- 11. Failure: clicking status legend hides tallrects (@test-renderer2-widerect
length(node.set) not equal to 0.
1/1 mismatches
[1] 52 - 0 == 52
-- 12. Failure: clicking legend removes/adds countries (@test-renderer2-widerect
length(oneclick$rects) not equal to 0.
1/1 mismatches
[1] 1 - 0 == 1
-- 13. Failure: clicking legend removes/adds countries (@test-renderer2-widerect
sum(oneclick$legends == "1") not equal to 12.
1/1 mismatches
[1] 14 - 12 == 2
-- 14. 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
-- 15. 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"
-- 16. Error: (unknown) (@test-renderer3-FunctionalPruning.R#4) ---------------
object 'FunctionalPruning' not found
Backtrace:
1. animint2::geom_line(...)
2. animint2::layer(...)
3. animint2::fortify(data)
[1] "mixtureKNN data set"
-- 17. Error: (unknown) (@test-renderer3-knn.R#5) -----------------------------
object 'mixtureKNN' not found
[1] "lilac chaser vi"
[1] "path key"
[1] "point fill NA"
[1] "TestROC"
-- 18. Error: (unknown) (@test-renderer3-roc.R#16) ----------------------------
object 'TestROC' not found
Backtrace:
1. animint2::geom_path(...)
2. animint2::layer(...)
3. animint2::fortify(data)
[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"
-- 19. Error: (unknown) (@test-renderer4-Inf.R#36) ----------------------------
incorrect number of dimensions
[1] "make_xrect"
[1] "NA separate lines"
[1] "prostateLasso data set"
-- 20. Error: (unknown) (@test-renderer4-prostateLasso.R#9) -------------------
object 'prostateLasso' not found
[1] "update_axes - multiple single selectors"
[1] "update_axes"
-- 21. 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.
-- 22. 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.
-- 23. 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"
-- 24. Error: (unknown) (@test-renderer5-ChromHMMiterations.R#5) --------------
object 'ChromHMMiterations' not found
Backtrace:
1. base::data.frame(ChromHMMiterations$emission, parameters = "emission")
[1] "tooltip-interactivity"
-- 25. 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
-- 26. 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
-- 27. 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
-- 28. 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
-- 29. 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: 922 | SKIPPED: 0 | WARNINGS: 46 | FAILED: 29 ]
1. Failure: animint.js only defines 1 object, called animint (@test-renderer1-global-variables.R#36)
2. Error: (unknown) (@test-renderer1-knit-print.R#12)
3. Error: (unknown) (@test-renderer1-malaria.R#19)
4. Error: (unknown) (@test-renderer1-PeakConsistency.R#15)
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. Error: (unknown) (@test-renderer2-VariantModels.R#5)
1. ...
Error: testthat unit tests failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment