Running ‘testthat.R’ [30s/46s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(lax)
  > 
  > test_check("lax")
  Loading required package: mgcv
  Loading required package: nlme
  This is mgcv 1.9-1. For overview type 'help("mgcv-package")'.
  
  Attaching package: 'POT'
  
  The following objects are masked from 'package:evd':
  
      dens, dgpd, exiplot, mrlplot, pgpd, pp, qgpd, qq, rgpd, tcplot
  
  
  Attaching package: 'eva'
  
  The following objects are masked from 'package:POT':
  
      dgpd, pgpd, qgpd, rgpd
  
  The following objects are masked from 'package:evd':
  
      dgpd, pgev, pgpd, qgev, qgpd, rgpd
  
  
  Attaching package: 'evir'
  
  The following objects are masked from 'package:eva':
  
      dgpd, pgev, pgpd, qgev, qgpd, rgpd
  
  The following objects are masked from 'package:POT':
  
      dgpd, pgpd, qgpd, rgpd
  
  The following objects are masked from 'package:evd':
  
      dgev, dgpd, pgev, pgpd, qgev, qgpd, rgev, rgpd
  
  Loading required package: Lmoments
  Loading required package: distillery
  
  Attaching package: 'extRemes'
  
  The following object is masked from 'package:evir':
  
      decluster
  
  The following object is masked from 'package:POT':
  
      mrlplot
  
  The following object is masked from 'package:evd':
  
      mrlplot
  
  The following objects are masked from 'package:stats':
  
      qqnorm, qqplot
  
  
  Attaching package: 'fExtremes'
  
  The following objects are masked from 'package:evir':
  
      dgev, dgpd, pgev, pgpd, qgev, qgpd, rgev, rgpd
  
  The following objects are masked from 'package:eva':
  
      dgpd, gpdFit, mrlPlot, pgev, pgpd, qgev, qgpd, rgpd
  
  The following objects are masked from 'package:POT':
  
      dgpd, pgpd, qgpd, rgpd
  
  The following objects are masked from 'package:evd':
  
      dgev, dgpd, pgev, pgpd, qgev, qgpd, rgev, rgpd
  
  
  Attaching package: 'mev'
  
  The following objects are masked from 'package:fExtremes':
  
      dgev, pgev, qgev, rgev
  
  The following object is masked from 'package:extRemes':
  
      taildep
  
  The following objects are masked from 'package:evir':
  
      dgev, pgev, qgev, rgev
  
  The following objects are masked from 'package:eva':
  
      pgev, qgev
  
  The following objects are masked from 'package:evd':
  
      dgev, pgev, qgev, rgev, venice
  
  Loading required package: mvtnorm
  Loading required package: ggplot2
  
  Attaching package: 'ggplot2'
  
  The following object is masked from 'package:evir':
  
      qplot
  
  
  Attaching package: 'texmex'
  
  The following objects are masked from 'package:mev':
  
      dgev, pgev, qgev, rgev
  
  The following objects are masked from 'package:fExtremes':
  
      dgev, dgpd, pgev, pgpd, qgev, qgpd, rgev, rgpd
  
  The following objects are masked from 'package:evir':
  
      dgev, dgpd, pgev, pgpd, qgev, qgpd, rgev, rgpd
  
  The following objects are masked from 'package:eva':
  
      dgpd, pgev, pgpd, qgev, qgpd, rgpd
  
  The following objects are masked from 'package:POT':
  
      dgpd, pgpd, qgpd, rgpd
  
  The following object is masked from 'package:ismev':
  
      gpd.prof
  
  The following objects are masked from 'package:evd':
  
      dgev, dgpd, dgumbel, pgev, pgpd, pgumbel, portpirie, qgev, qgpd,
      qgumbel, rgev, rgpd, rgumbel, rl
  
  
  Call:
  return_level(x = adj_M1, m = 100)
  
  MLE and 95% confidence limits for the 100-year return level
  
  Normal interval:
  lower    mle  upper  
  4.711  6.993  9.274  
  
   Profile likelihood-based interval:
   lower     mle   upper  
   5.303   6.993  10.356  
  
  Call:
  return_level(x = adj_M1, m = 100)
  
  MLE and 95% confidence limits for the 100-year return level
  
  Normal interval:
  lower    mle  upper  
  4.711  6.993  9.274  
  
   Profile likelihood-based interval:
   lower     mle   upper  
   5.303   6.993  10.356  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 173 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-logLik-texmex.R:13:3'): (code run outside of `test_that()`) ────
  Error in `lapply(X = X, FUN = FUN, ...)`: getting UseMethod variable 'theCall' from generic 'evm'; this is no longer supported
  Backtrace:
      ▆
   1. ├─texmex::evm(SeaLevel, data = texmex::portpirie, family = gev) at test-logLik-texmex.R:13:3
   2. └─texmex:::evm.default(SeaLevel, data = texmex::portpirie, family = gev)
   3.   └─texmex:::texmexParameters(theCall, family, ...)
   4.     └─texmex:::findFormulae(call, ...)
   5.       └─base::sapply(...)
   6.         └─base::lapply(X = X, FUN = FUN, ...)
  ── Error ('test-nobs.R:49:3'): (code run outside of `test_that()`) ─────────────
  Error in `lapply(X = X, FUN = FUN, ...)`: getting UseMethod variable 'theCall' from generic 'evm'; this is no longer supported
  Backtrace:
      ▆
   1. ├─texmex::evm(SeaLevel, texmex::portpirie, family = gev) at test-nobs.R:49:3
   2. └─texmex:::evm.default(SeaLevel, texmex::portpirie, family = gev)
   3.   └─texmex:::texmexParameters(theCall, family, ...)
   4.     └─texmex:::findFormulae(call, ...)
   5.       └─base::sapply(...)
   6.         └─base::lapply(X = X, FUN = FUN, ...)
  ── Error ('test-vcov.R:154:3'): (code run outside of `test_that()`) ────────────
  Error in `lapply(X = X, FUN = FUN, ...)`: getting UseMethod variable 'theCall' from generic 'evm'; this is no longer supported
  Backtrace:
      ▆
   1. ├─texmex::evm(rain, th = 30) at test-vcov.R:154:3
   2. └─texmex:::evm.default(rain, th = 30)
   3.   └─texmex:::texmexParameters(theCall, family, ...)
   4.     └─texmex:::findFormulae(call, ...)
   5.       └─base::sapply(...)
   6.         └─base::lapply(X = X, FUN = FUN, ...)
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 173 ]
  Error: Test failures
  Execution halted