Running ‘testthat.R’ [66s/92s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(ggh4x)
  Loading required package: ggplot2
  > 
  > test_check("ggh4x")
  $start.arg
  $start.arg$mean
  [1] 5.936
  
  $start.arg$sd
  [1] 0.5109834
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$mean
  [1] 6.588
  
  $start.arg$sd
  [1] 0.6294887
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$lambda
  [1] 70.89706
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$prob
  [1] 0.01390877
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$size
  [1] 44.38443
  
  $start.arg$mu
  [1] 70.89706
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$prob
  [1] 0.738511
  
  
  $fix.arg
  $fix.arg$size
  [1] 96
  
  
  $start.arg
  $start.arg$shape1
  [1] 0.4913464
  
  $start.arg$shape2
  [1] 0.4869971
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$location
  [1] 10.20318
  
  $start.arg$scale
  [1] 1.068549
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$shape
  [1] 1.399107
  
  
  $fix.arg
  $fix.arg$rate
  [1] 0.5
  
  
  $start.arg
  $start.arg$rate
  [1] 1.047001
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$df1
  [1] 4
  
  $start.arg$df2
  [1] 2
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$shape
  [1] 1.962004
  
  $start.arg$rate
  [1] 2.018138
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$meanlog
  [1] 2.022644
  
  $start.arg$sdlog
  [1] 1.010916
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$mean
  [1] 2.045288
  
  $start.arg$sd
  [1] 2.021832
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$df
  [1] 20
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$min
  [1] 0
  
  $start.arg$max
  [1] 1
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$shape
  [1] 1.913839
  
  $start.arg$scale
  [1] 2.026148
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$location
  [1] 2.043288
  
  $start.arg$scale
  [1] 1.891818
  
  
  $fix.arg
  NULL
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-element_part_rect.R:19:3): element_part_rect draws grobs correctly ──
  Error: object 'nl' not found
  Backtrace:
      █
   1. └─base::lapply(cases, element_grob) test-element_part_rect.R:19:2
   2.   ├─ggplot2:::FUN(X[[i]], ...)
   3.   └─ggh4x:::element_grob.element_part_rect(X[[i]], ...)
   4.     └─ggh4x:::partrectGrob(...)
   5.       ├─grid::rectGrob(...)
   6.       │ └─grid::grob(...)
   7.       ├─base::do.call(gpar, within(gp, col <- NA))
   8.       ├─base::within(gp, col <- NA)
   9.       └─base::within.list(gp, col <- NA)
  
  [ FAIL 1 | WARN 1 | SKIP 0 | PASS 740 ]
  Error: Test failures
  Execution halted