Running 'testthat.R' [97s/107s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > test_check("animint2", filter="compiler")
  Loading required package: animint2
  [1] "aesthetics"
  mapping: x = Sepal.Length, y = Petal.Length 
  geom_point: na.rm = FALSE
  stat_identity: na.rm = FALSE
  position_identity 
  $problem.aes
  [1] "foo"
  
  $data.variables
  [1] "Sepal.Length" "Sepal.Width"  "Petal.Length" "Petal.Width"  "Species"     
  
  [1] "animation"
  [1] "compiler errors"
  mapping: x = letter, y = count, fill = stack, key = key, showSelected1 = facet 
  geom_bar: width = NULL, na.rm = FALSE
  stat_identity: na.rm = FALSE
  position_stack 
  -- 1. Failure: grid: facet order follows default data frame order (@test-compile
  as.character(lay$fy) not equal to c("C", "B", "A")[lay$ROW].
  6/9 mismatches
  x[1]: "A"
  y[1]: "C"
  
  x[2]: "A"
  y[2]: "C"
  
  x[3]: "A"
  y[3]: "C"
  
  x[7]: "C"
  y[7]: "A"
  
  x[8]: "C"
  y[8]: "A"
  
  -- 2. Failure: grid: facet order follows default data frame order (@test-compile
  as.character(lay$fx) not equal to c("c", "b", "a")[lay$COL].
  6/9 mismatches
  x[1]: "a"
  y[1]: "c"
  
  x[3]: "c"
  y[3]: "a"
  
  x[4]: "a"
  y[4]: "c"
  
  x[6]: "c"
  y[6]: "a"
  
  x[7]: "a"
  y[7]: "c"
  
  -- 3. Failure: grid: facet order follows default data frame order (@test-compile
  as.character(lay$fy) not equal to c("B", "C", "A")[lay$ROW].
  9/9 mismatches
  x[1]: "A"
  y[1]: "B"
  
  x[2]: "A"
  y[2]: "B"
  
  x[3]: "A"
  y[3]: "B"
  
  x[4]: "B"
  y[4]: "C"
  
  x[5]: "B"
  y[5]: "C"
  
  -- 4. Failure: grid: facet order follows default data frame order (@test-compile
  as.character(lay$fx) not equal to c("a", "c", "b")[lay$COL].
  6/9 mismatches
  x[2]: "b"
  y[2]: "c"
  
  x[3]: "c"
  y[3]: "b"
  
  x[5]: "b"
  y[5]: "c"
  
  x[6]: "c"
  y[6]: "b"
  
  x[8]: "b"
  y[8]: "c"
  
  -- 5. Failure: grid: facet order follows default data frame order (@test-compile
  as.character(lay$fy) not equal to c("C", "B", "A")[lay$ROW].
  6/9 mismatches
  x[1]: "A"
  y[1]: "C"
  
  x[2]: "A"
  y[2]: "C"
  
  x[3]: "A"
  y[3]: "C"
  
  x[7]: "C"
  y[7]: "A"
  
  x[8]: "C"
  y[8]: "A"
  
  -- 6. Failure: grid: facet order follows default data frame order (@test-compile
  as.character(lay$fx) not equal to c("c", "b", "a")[lay$COL].
  6/9 mismatches
  x[1]: "a"
  y[1]: "c"
  
  x[3]: "c"
  y[3]: "a"
  
  x[4]: "a"
  y[4]: "c"
  
  x[6]: "c"
  y[6]: "a"
  
  x[7]: "a"
  y[7]: "c"
  
  -- 7. Failure: wrap: facet order follows default data frame order (@test-compile
  as.character(lay$fx) not equal to c("c", "b", "a")[lay$PANEL].
  2/3 mismatches
  x[1]: "a"
  y[1]: "c"
  
  x[3]: "c"
  y[3]: "a"
  
  -- 8. Failure: wrap: facet order follows default data frame order (@test-compile
  as.character(lay$fx) not equal to c("a", "c", "b")[lay$PANEL].
  2/3 mismatches
  x[2]: "b"
  y[2]: "c"
  
  x[3]: "c"
  y[3]: "b"
  
  -- 9. Failure: wrap: facet order follows default data frame order (@test-compile
  as.character(lay$fx) not equal to c("c", "b", "a")[lay$PANEL].
  2/3 mismatches
  x[1]: "a"
  y[1]: "c"
  
  x[3]: "c"
  y[3]: "a"
  
  [1] "geom line"
  [1] "plot named timexxx"
  [1] "plot names"
  [1] "geom_point(aes(fill=numeric))"
  [1] "compiler print"
  [1] "save separate chunks"
  -- 10. Failure: identity scale preserves input values (@test-compiler-scales.r#6
  d1$size not equal to as.numeric(df$z).
  3/3 mismatches (average diff: NaN)
  [1] 1 - NA == NA
  [2] 2 - NA == NA
  [3] 3 - NA == NA
  
  -- 11. Failure: identity scale preserves input values (@test-compiler-scales.r#6
  d1$alpha not equal to as.numeric(df$z).
  3/3 mismatches (average diff: NaN)
  [1] 1 - NA == NA
  [2] 2 - NA == NA
  [3] 3 - NA == NA
  
  [1] "selectors"
  [1] "stat_summary"
  [1] "compiler unlink previous"
  == testthat results  ===========================================================
  [ OK: 740 | SKIPPED: 7 | WARNINGS: 13 | FAILED: 11 ]
  1. Failure: grid: facet order follows default data frame order (@test-compiler-facet-locate.r#118) 
  2. Failure: grid: facet order follows default data frame order (@test-compiler-facet-locate.r#119) 
  3. Failure: grid: facet order follows default data frame order (@test-compiler-facet-locate.r#126) 
  4. Failure: grid: facet order follows default data frame order (@test-compiler-facet-locate.r#127) 
  5. Failure: grid: facet order follows default data frame order (@test-compiler-facet-locate.r#134) 
  6. Failure: grid: facet order follows default data frame order (@test-compiler-facet-locate.r#135) 
  7. Failure: wrap: facet order follows default data frame order (@test-compiler-facet-locate.r#148) 
  8. Failure: wrap: facet order follows default data frame order (@test-compiler-facet-locate.r#154) 
  9. Failure: wrap: facet order follows default data frame order (@test-compiler-facet-locate.r#160) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted