Running ‘testthat.R’ [56s/57s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > test_check("DHARMa")
  Loading required package: DHARMa
  This is DHARMa 0.4.1. For overview type '?DHARMa'. For recent changes, type news(package = 'DHARMa') Note: Syntax of plotResiduals has changed in 0.3.0, see ?plotResiduals for details
  $uniformity
  
  	One-sample Kolmogorov-Smirnov test
  
  data:  simulationOutput$scaledResiduals
  D = 0.046573, p-value = 0.7785
  alternative hypothesis: two-sided
  
  
  $dispersion
  
  	DHARMa nonparametric dispersion test via sd of residuals fitted vs.
  	simulated
  
  data:  simulationOutput
  dispersion = 1.4873, p-value < 2.2e-16
  alternative hypothesis: two.sided
  
  
  $outliers
  
  	DHARMa bootstrapped outlier test
  
  data:  simulationOutput
  outliers at both margin(s) = 2, observations = 200, p-value = 0.32
  alternative hypothesis: two.sided
   percent confidence interval:
   0.00 0.01
  sample estimates:
  outlier frequency (expected: 0.00315 ) 
                                    0.01 
  
  
  $uniformity
  
  	One-sample Kolmogorov-Smirnov test
  
  data:  simulationOutput$scaledResiduals
  D = 0.046573, p-value = 0.7785
  alternative hypothesis: two-sided
  
  
  $dispersion
  
  	DHARMa nonparametric dispersion test via sd of residuals fitted vs.
  	simulated
  
  data:  simulationOutput
  dispersion = 1.4873, p-value < 2.2e-16
  alternative hypothesis: two.sided
  
  
  $outliers
  
  	DHARMa bootstrapped outlier test
  
  data:  simulationOutput
  outliers at both margin(s) = 2, observations = 200, p-value = 0.26
  alternative hypothesis: two.sided
   percent confidence interval:
   0.000000 0.012625
  sample estimates:
  outlier frequency (expected: 0.00305 ) 
                                    0.01 
  
  
  $uniformity
  
  	One-sample Kolmogorov-Smirnov test
  
  data:  simulationOutput$scaledResiduals
  D = 0.19312, p-value = 0.7838
  alternative hypothesis: two-sided
  
  
  $dispersion
  
  	DHARMa nonparametric dispersion test via sd of residuals fitted vs.
  	simulated
  
  data:  simulationOutput
  dispersion = 1.4863, p-value = 0.248
  alternative hypothesis: two.sided
  
  
  $outliers
  
  	DHARMa bootstrapped outlier test
  
  data:  simulationOutput
  outliers at both margin(s) = 0, observations = 200, p-value = 1
  alternative hypothesis: two.sided
   percent confidence interval:
   0.0 0.1
  sample estimates:
  outlier frequency (expected: 0.008 ) 
                                     0 
  
  
  $uniformity
  
  	One-sample Kolmogorov-Smirnov test
  
  data:  simulationOutput$scaledResiduals
  D = 0.19312, p-value = 0.7838
  alternative hypothesis: two-sided
  
  
  $dispersion
  
  	DHARMa nonparametric dispersion test via sd of residuals fitted vs.
  	simulated
  
  data:  simulationOutput
  dispersion = 1.4863, p-value = 0.248
  alternative hypothesis: two.sided
  
  
  $outliers
  
  	DHARMa bootstrapped outlier test
  
  data:  simulationOutput
  outliers at both margin(s) = 0, observations = 200, p-value = 1
  alternative hypothesis: two.sided
   percent confidence interval:
   0.0 0.1
  sample estimates:
  outlier frequency (expected: 0.009 ) 
                                     0 
  
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (1)
  • empty test (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (testModelTypes.R:8:1): (code run outside of `test_that()`) ───────────
  Error: there is no package called 'glmmTMB'
  Backtrace:
      █
   1. └─base::library(glmmTMB) testModelTypes.R:8:0
  
  [ FAIL 1 | WARN 0 | SKIP 2 | PASS 29 ]
  Error: Test failures
  Execution halted