Running ‘testthat.R’ [70s/99s]
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] "geom line"
  [1] "plot named timexxx"
  [1] "plot names"
  [1] "geom_point(aes(fill=numeric))"
  [1] "compiler print"
  [1] "pt/points to lines conversion test"
  [1] "save separate chunks"
  [1] "selectors"
  [1] "stat_summary"
  [1] "compiler errors"
  [1] "compiler unlink previous"
  [ FAIL 2 | WARN 10 | SKIP 5 | PASS 741 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • empty test (2)
  • passes when validate_params=FALSE (1)
  • passes when validate_params=TRUE (2)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-compiler-coord-train.r:34:3): NA's don't appear in breaks ───────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'mapproj'
  Backtrace:
       ▆
    1. ├─testthat::expect_false(any_NA_major_minor(coord_map()$train(scales))) at test-compiler-coord-train.r:34:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─animint2 any_NA_major_minor(coord_map()$train(scales))
    5. ├─coord_map()$train(scales) at test-compiler-coord-train.r:7:4
    6. │ └─animint2 f(..., self = self)
    7. │   └─animint2:::mproject(self, grid$x, grid$y, orientation)
    8. │     └─base::suppressWarnings(...)
    9. │       └─base::withCallingHandlers(...)
   10. └─base::loadNamespace(x)
   11.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   12.     └─base withOneRestart(expr, restarts[[1L]])
   13.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-compiler-fortify.r:2:1): (code run outside of `test_that()`) ────
  <packageNotFoundError/error/condition>
  Error in `library(sp)`: there is no package called 'sp'
  Backtrace:
      ▆
   1. └─base::library(sp) at test-compiler-fortify.r:2:0
  
  [ FAIL 2 | WARN 10 | SKIP 5 | PASS 741 ]
  Error: Test failures
  Execution halted