Running ‘testthat.R’ [39s/48s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(deeptime)
  > 
  > test_check("deeptime")
  viewport[GRID.VP.403] 
  viewport[GRID.VP.554] 
  Saving _problems/test-guides-194.R
  Saving _problems/test-guides-210.R
  NULL
  NULL
  NULL
  [ FAIL 2 | WARN 0 | SKIP 37 | PASS 131 ]
  
  ══ Skipped tests (37) ══════════════════════════════════════════════════════════
  • On CRAN (27): 'test-coord_geo.R:55:1', 'test-coord_geo.R:80:3',
    'test-coord_geo.R:102:1', 'test-coord_geo.R:117:1', 'test-coord_geo.R:132:1',
    'test-coord_geo.R:153:1', 'test-coord_trans_flip.R:1:1',
    'test-coord_trans_xy.R:1:1', 'test-disparity_through_time.R:1:1',
    'test-facet_color.R:1:1', 'test-facet_color.R:78:1',
    'test-facet_color.R:121:1', 'test-facet_color.R:167:1',
    'test-get_scale_data.R:14:3', 'test-guides.R:1:1', 'test-guides.R:73:1',
    'test-guides.R:88:1', 'test-guides.R:103:1', 'test-guides.R:125:1',
    'test-patterns.R:42:1', 'test-patterns.R:55:1', 'test-patterns.R:76:1',
    'test-phylomorpho.R:1:1', 'test-points_range.R:1:1', 'test-scales.R:1:1',
    'test-scales.R:14:1', 'test-scales.R:27:1'
  • R.Version()$os != "mingw32" is TRUE (2): 'test-patterns.R:9:3',
    'test-patterns.R:99:3'
  • {ggtree} is not installed (8): 'test-coord_geo.R:171:3',
    'test-coord_geo.R:183:3', 'test-coord_geo_polar.R:1:1',
    'test-coord_geo_radial.R:1:1', 'test-geom_text_phylo.R:3:3',
    'test-ggarrange2.R:25:3', 'test-guides.R:149:3', 'test-guides.R:163:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-guides.R:184:3'): guide_geo works with coord_geo_radial ────────
  <functionNotFoundError/objectNotFoundError/error/condition>
  Error in `revts(ggtree(tree))`: could not find function "revts"
  ── Error ('test-guides.R:200:3'): ggtree scale works with only fossil taxa ─────
  <functionNotFoundError/objectNotFoundError/error/condition>
  Error in `ggtree(ceratopsianTreeRaia, position = position_nudge(x = -ceratopsianTreeRaia$root.time))`: could not find function "ggtree"
  
  [ FAIL 2 | WARN 0 | SKIP 37 | PASS 131 ]
  Deleting unused snapshots: 'coord_geo/scale-on-fossil-ggtree-new.svg',
  'coord_geo/scale-on-ggtree-new.svg',
  'coord_geo/scales-on-different-sides1-new.svg',
  'coord_geo/scales-on-different-sides2-new.svg',
  'coord_geo_polar/coord-geo-polar-grey-new.svg',
  'coord_geo_polar/coord-geo-polar-new.svg',
  'coord_geo_polar/coord-geo-polar-pos-new.svg',
  'coord_geo_polar/scale-on-fossil-ggtree-new.svg',
  'coord_geo_polar/scale-on-fossil-ggtree-with-labels-new.svg',
  'coord_geo_polar/stacked-scales-new.svg',
  'coord_geo_radial/coord-geo-radial-new.svg',
  'coord_geo_radial/scale-on-fossil-ggtree-new.svg',
  'coord_geo_radial/scale-on-fossil-ggtree-with-labels-new.svg',
  'coord_geo_radial/stacked-scales-new.svg',
  'geom_text_phylo/geom-text-phylo-new.svg',
  'ggarrange2/double-ggarrange2-layout-new.svg',
  'ggarrange2/double-ggarrange2-new.svg',
  'ggarrange2/ggarrange2-no-dims-layout-new.svg', …,
  'patterns/scale-fill-geopattern-na2-new.svg', and
  'patterns/scale-fill-geopattern-new.svg'
  Error:
  ! Test failures.
  Execution halted