Running ‘spelling.R’
  Running ‘testthat.R’ [20s/40s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(deepdep)
  > 
  > test_check("deepdep")
          name  version    type last_day last_week last_month last_quarter
  1 data.table >= 1.9.7 Imports        0    121966     577513      1672092
  2     Matrix     <NA> Imports        0     12659      55414       182931
    last_half grand_total
  1   3351993    20197809
  2    412461     5153795
  cranlogs: Download Logs from the 'RStudio' 'CRAN' Mirror
  Maintainer: Gábor Csárdi <csardi.gabor@gmail.com> 
  Description: 
   'API' to the database of 'CRAN' package downloads from the
  'RStudio' 'CRAN mirror'. The database itself is at <http://cranlogs.r-pkg.org>,
  see <https://github.com/r-hub/cranlogs.app> for the raw 'API'. 
  Depends: 
  Imports: httr jsonlite 
  LinkingTo: 
  Suggests: testthat 
  Enhances: 
  Scrap date: 2019-04-29 20:50:20                 x
  last_day         0
  last_week     1265
  last_month    5112
  last_quarter 13678
  last_half    25041
  grand_total  73971
  ── 1. Error: dependencies plot have suitable layers and objects (@test_plot.R#7)
  attempt to set an attribute on NULL
  Backtrace:
   1. deepdep::plot_dependencies(deps)
   2. deepdep:::plot_dependencies.deepdep(deps)
   4. stats:::quantile.default(pkg_downloads, probs = 1 - label_percentage)
  
  ── 2. Error: Tree graph test (@test_plot.R#25)  ────────────────────────────────
  attempt to set an attribute on NULL
  Backtrace:
   1. deepdep::plot_dependencies(deps, type = "tree")
   2. deepdep:::plot_dependencies.deepdep(deps, type = "tree")
   4. stats:::quantile.default(pkg_downloads, probs = 1 - label_percentage)
  
  ── 3. Error: Plotting deepdep object with no rows works correctly (@test_plot.R#
  attempt to set an attribute on NULL
  Backtrace:
   1. deepdep::plot_dependencies("rlang")
   2. deepdep:::plot_dependencies.character("rlang")
   4. deepdep:::plot_dependencies.deepdep(...)
   6. stats:::quantile.default(pkg_downloads, probs = 1 - label_percentage)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 34 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 3 ]
  1. Error: dependencies plot have suitable layers and objects (@test_plot.R#7) 
  2. Error: Tree graph test (@test_plot.R#25) 
  3. Error: Plotting deepdep object with no rows works correctly (@test_plot.R#30) 
  
  Error: testthat unit tests failed
  Execution halted