Skip to content

Instantly share code, notes, and snippets.

@lazycipher
Created May 23, 2020 20:46
Show Gist options
  • Save lazycipher/2e3d48b16de3a44969ebf84e7481a212 to your computer and use it in GitHub Desktop.
Save lazycipher/2e3d48b16de3a44969ebf84e7481a212 to your computer and use it in GitHub Desktop.
Output when PhantomJS used i.e tests_init()
tests_init()
Starting phantomjs binary. To shut it down, run:
pJS$stop()
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] "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"
-- 1. 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"
-- 2. Error: (unknown) (@test-renderer1-malaria.R#19) -------------------------
object 'malaria' not found
[1] "many facets"
[1] "Panel background"
[1] "params"
[1] "PeakConsistency"
-- 3. 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"
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"
[1] "showSelected=var, showSelected2=var"
[1] "VariantModels data viz"
-- 4. Error: (unknown) (@test-renderer2-VariantModels.R#5) --------------------
object 'VariantModels' not found
Backtrace:
1. base::subset(VariantModels$auc, metric.name == "min.error")
[1] "geom_widerect"
[1] "ChromHMMinit data set"
[1] "FunctionalPruning"
-- 5. 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"
-- 6. Error: (unknown) (@test-renderer3-knn.R#5) ------------------------------
object 'mixtureKNN' not found
[1] "lilac chaser vi"
[1] "path key"
[1] "point fill NA"
[1] "TestROC"
-- 7. 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"
-- 8. Error: (unknown) (@test-renderer4-Inf.R#36) -----------------------------
incorrect number of dimensions
[1] "make_xrect"
[1] "NA separate lines"
[1] "prostateLasso data set"
-- 9. Error: (unknown) (@test-renderer4-prostateLasso.R#9) --------------------
object 'prostateLasso' not found
[1] "update_axes - multiple single selectors"
[1] "update_axes"
[1] "ChromHMMiterations data set"
-- 10. Error: (unknown) (@test-renderer5-ChromHMMiterations.R#5) --------------
object 'ChromHMMiterations' not found
Backtrace:
1. base::data.frame(ChromHMMiterations$emission, parameters = "emission")
[1] "tooltip-interactivity"
== testthat results ===========================================================
[ OK: 956 | SKIPPED: 0 | WARNINGS: 46 | FAILED: 10 ]
1. Error: (unknown) (@test-renderer1-knit-print.R#12)
2. Error: (unknown) (@test-renderer1-malaria.R#19)
3. Error: (unknown) (@test-renderer1-PeakConsistency.R#15)
4. Error: (unknown) (@test-renderer2-VariantModels.R#5)
5. Error: (unknown) (@test-renderer3-FunctionalPruning.R#4)
6. Error: (unknown) (@test-renderer3-knn.R#5)
7. Error: (unknown) (@test-renderer3-roc.R#16)
8. Error: (unknown) (@test-renderer4-Inf.R#36)
9. Error: (unknown) (@test-renderer4-prostateLasso.R#9)
10. Error: (unknown) (@test-renderer5-ChromHMMiterations.R#5)
Error: testthat unit tests failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment