Running 'testthat.R' [15s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(phenofit)
  > 
  > test_check("phenofit")
       meth        R2       NSE         R         RMSE        pvalue n_sim
  1:     AG 0.9986908 0.9985845 0.9993452 9.940385e-03  4.489925e-65    46
  2:   Beck 1.0000000 1.0000000 1.0000000 1.389780e-09  0.000000e+00    46
  3: Elmore 1.0000000 1.0000000 1.0000000 4.161813e-10  0.000000e+00    46
  4:     Gu 1.0000000 1.0000000 1.0000000 1.536880e-11  0.000000e+00    46
  5:  Zhang 1.0000000 1.0000000 1.0000000 5.529073e-06 8.043461e-208    46
  $AG
   formula:	mn + (mx - mn) * exp(-((t0 - t) * rsp)^a3)
    formula:	mn + (mx - mn) * exp(-((t - t0) * rau)^a5)
  pars:
               t0        mn        mx         rsp a3         rau a5
  nlminb 149.8926 0.1020656 0.7095242 0.009389263  6 0.009367765  6
  
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular (rcond: 1.65502e-16); attempting approx solution
  
  warning: solve(): system is singular (rcond: 2.19427e-17); attempting approx solution
  
  warning: solve(): system is singular (rcond: 1.65502e-16); attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular (rcond: 1.33432e-17); attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular (rcond: 2.38811e-17); attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular (rcond: 2.03034e-17); attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular (rcond: 1.33432e-17); attempting approx solution
  
  warning: solve(): system is singular (rcond: 3.31005e-17); attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular (rcond: 3.08395e-17); attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular (rcond: 2.36432e-17); attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular (rcond: 6.97437e-18); attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular (rcond: 1.85037e-16); attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular (rcond: 2.80681e-17); attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular (rcond: 5.43896e-17); attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular (rcond: 2.38811e-17); attempting approx solution
  
  warning: solve(): system is singular (rcond: 3.05447e-17); attempting approx solution
  
  warning: solve(): system is singular (rcond: 2.11109e-17); attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular (rcond: 6.04329e-17); attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular (rcond: 1.85037e-16); attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular (rcond: 2.80681e-17); attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular (rcond: 5.43896e-17); attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular (rcond: 3.31005e-17); attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular (rcond: 2.38811e-17); attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular (rcond: 3.31005e-17); attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular (rcond: 2.38811e-17); attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular (rcond: 1.94249e-17); attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular (rcond: 3.84957e-17); attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular (rcond: 3.31005e-17); attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular (rcond: 8.58712e-17); attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular (rcond: 2.38811e-17); attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular (rcond: 2.09346e-17); attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular (rcond: 3.82199e-17); attempting approx solution
  
  warning: solve(): system is singular (rcond: 2.38705e-17); attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular (rcond: 2.38811e-17); attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular (rcond: 5.88785e-17); attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular (rcond: 1.85037e-16); attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular (rcond: 7.40149e-17); attempting approx solution
  
  warning: solve(): system is singular (rcond: 6.20634e-17); attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular (rcond: 2.38811e-17); attempting approx solution
  
  warning: solve(): system is singular (rcond: 3.05447e-17); attempting approx solution
  
  warning: solve(): system is singular (rcond: 2.11109e-17); attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular (rcond: 5.43896e-17); attempting approx solution
  
  warning: solve(): system is singular (rcond: 4.38854e-17); attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular (rcond: 1.00786e-16); attempting approx solution
  
  warning: solve(): system is singular (rcond: 1.46031e-17); attempting approx solution
  
  warning: solve(): system is singular (rcond: 5.02097e-17); attempting approx solution
  
  warning: solve(): system is singular (rcond: 1.25524e-17); attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular (rcond: 3.31005e-17); attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular; attempting approx solution
  
  warning: solve(): system is singular (rcond: 3.31005e-17); attempting approx solution
  [ FAIL 9 | WARN 0 | SKIP 0 | PASS 45 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-PhenoExtract.R:8'): (code run outside of `test_that()`) ────────
  Error in `FUN(X[[i]], ...)`: only defined on a data frame with all numeric-alike variables
  Backtrace:
       ▆
    1. ├─phenofit::season_mov(...) at test-PhenoExtract.R:8:0
    2. │ ├─base::do.call(season_input, params_i)
    3. │ └─phenofit (local) `<fn>`(INPUT = `<named list>`, lambda = 14.876473740795)
    4. │   └─phenofit::find_season.peaks(rfit, info_peak)
    5. │     └─phenofit:::get_A(ypred, na.rm = FALSE)
    6. │       ├─range(x, na.rm = na.rm) %>% diff()
    7. │       └─base::Summary.data.frame(`<dt[,6]>`, na.rm = FALSE)
    8. │         └─base::lapply(...)
    9. │           └─base (local) FUN(X[[i]], ...)
   10. └─base::diff(.)
  ── Error ('test-curvefits.R:16'): (code run outside of `test_that()`) ──────────
  Error in `FUN(X[[i]], ...)`: only defined on a data frame with all numeric-alike variables
  Backtrace:
       ▆
    1. ├─phenofit::season_mov(...) at test-curvefits.R:16:0
    2. │ ├─base::do.call(season_input, params_i)
    3. │ └─phenofit (local) `<fn>`(INPUT = `<named list>`, lambda = 14.876473740795)
    4. │   └─phenofit::find_season.peaks(rfit, info_peak)
    5. │     └─phenofit:::get_A(ypred, na.rm = FALSE)
    6. │       ├─range(x, na.rm = na.rm) %>% diff()
    7. │       └─base::Summary.data.frame(`<dt[,6]>`, na.rm = FALSE)
    8. │         └─base::lapply(...)
    9. │           └─base (local) FUN(X[[i]], ...)
   10. └─base::diff(.)
  ── Error ('test-curvefits_LocalModel.R:6'): (code run outside of `test_that()`) ──
  Error in `FUN(X[[i]], ...)`: only defined on a data frame with all numeric-alike variables
  Backtrace:
       ▆
    1. ├─phenofit::season_mov(...) at test-curvefits_LocalModel.R:6:0
    2. │ ├─base::do.call(season_input, params_i)
    3. │ └─phenofit (local) `<fn>`(INPUT = `<named list>`, lambda = 10)
    4. │   └─phenofit::find_season.peaks(rfit, info_peak)
    5. │     └─phenofit:::get_A(ypred, na.rm = FALSE)
    6. │       ├─range(x, na.rm = na.rm) %>% diff()
    7. │       └─base::Summary.data.frame(`<dt[,6]>`, na.rm = FALSE)
    8. │         └─base::lapply(...)
    9. │           └─base (local) FUN(X[[i]], ...)
   10. └─base::diff(.)
  ── Error ('test-find_season.R:16'): find_season works ──────────────────────────
  Error in `is.finite(x)`: default method not implemented for type 'list'
  Backtrace:
      ▆
   1. └─phenofit::plot_season(INPUT, brks, d) at test-find_season.R:16:4
   2.   └─phenofit:::stat_season(INPUT, brks$fit)
   3.     ├─base::with(d, GOF(y0, ypred, w, include.cv = TRUE, include.r = TRUE))
   4.     └─base::with.default(d, GOF(y0, ypred, w, include.cv = TRUE, include.r = TRUE))
   5.       └─base::eval(substitute(expr), data, enclos = parent.frame())
   6.         └─base::eval(substitute(expr), data, enclos = parent.frame())
   7.           └─phenofit::GOF(y0, ypred, w, include.cv = TRUE, include.r = TRUE)
   8.             ├─base::which(valid(Y_sim) & valid(Y_obs) & valid(w))
   9.             └─phenofit (local) valid(Y_sim)
  ── Error ('test-season_input.R:12'): movmean works ─────────────────────────────
  Error in `FUN(X[[i]], ...)`: only defined on a data frame with all numeric-alike variables
  Backtrace:
      ▆
   1. ├─phenofit::season_input(input_single) at test-season_input.R:12:4
   2. │ └─phenofit::find_season.peaks(rfit, info_peak)
   3. │   └─phenofit:::get_A(ypred, na.rm = FALSE)
   4. │     ├─range(x, na.rm = na.rm) %>% diff()
   5. │     └─base::Summary.data.frame(`<dt[,6]>`, na.rm = FALSE)
   6. │       └─base::lapply(...)
   7. │         └─base (local) FUN(X[[i]], ...)
   8. └─base::diff(.)
  ── Error ('test-season_mov.R:26'): `season` with smooth_wWHIT and calendarYear ──
  Error in `FUN(X[[i]], ...)`: only defined on a data frame with all numeric-alike variables
  Backtrace:
       ▆
    1. ├─testthat::expect_silent(brks <- do.call(season_mov, param)) at test-season_mov.R:26:4
    2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ ├─withr::with_output_sink(...)
    5. │   │ │ └─base::force(code)
    6. │   │ ├─base::withCallingHandlers(...)
    7. │   │ └─base::withVisible(code)
    8. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. ├─base::do.call(season_mov, param)
   10. ├─phenofit (local) `<fn>`(...)
   11. │ ├─base::do.call(season_input, params_i)
   12. │ └─phenofit (local) `<fn>`(INPUT = `<named list>`, lambda = 10, rFUN = `<fn>`, calendarYear = TRUE)
   13. │   └─phenofit::find_season.peaks(rfit, info_peak)
   14. │     └─phenofit:::get_A(ypred, na.rm = FALSE)
   15. │       ├─range(x, na.rm = na.rm) %>% diff()
   16. │       └─base::Summary.data.frame(`<dt[,8]>`, na.rm = FALSE)
   17. │         └─base::lapply(...)
   18. │           └─base (local) FUN(X[[i]], ...)
   19. └─base::diff(.)
  ── Error ('test-season_mov.R:31'): `season_mov` with smooth_wWHIT ──────────────
  Error in `FUN(X[[i]], ...)`: only defined on a data frame with all numeric-alike variables
  Backtrace:
       ▆
    1. ├─testthat::expect_silent(brks <- do.call(season_mov, param)) at test-season_mov.R:31:4
    2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ ├─withr::with_output_sink(...)
    5. │   │ │ └─base::force(code)
    6. │   │ ├─base::withCallingHandlers(...)
    7. │   │ └─base::withVisible(code)
    8. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. ├─base::do.call(season_mov, param)
   10. ├─phenofit (local) `<fn>`(...)
   11. │ ├─base::do.call(season_input, params_i)
   12. │ └─phenofit (local) `<fn>`(INPUT = `<named list>`, lambda = 10, rFUN = `<fn>`, calendarYear = FALSE)
   13. │   └─phenofit::find_season.peaks(rfit, info_peak)
   14. │     └─phenofit:::get_A(ypred, na.rm = FALSE)
   15. │       ├─range(x, na.rm = na.rm) %>% diff()
   16. │       └─base::Summary.data.frame(`<dt[,8]>`, na.rm = FALSE)
   17. │         └─base::lapply(...)
   18. │           └─base (local) FUN(X[[i]], ...)
   19. └─base::diff(.)
  ── Error ('test-season_mov.R:36'): `season_mov` with wHANTS ────────────────────
  Error in `FUN(X[[i]], ...)`: only defined on a data frame with all numeric-alike variables
  Backtrace:
       ▆
    1. ├─testthat::expect_silent(brks <- do.call(season_mov, param)) at test-season_mov.R:36:4
    2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ ├─withr::with_output_sink(...)
    5. │   │ │ └─base::force(code)
    6. │   │ ├─base::withCallingHandlers(...)
    7. │   │ └─base::withVisible(code)
    8. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. ├─base::do.call(season_mov, param)
   10. ├─phenofit (local) `<fn>`(INPUT = `<input>`, options = `<named list>`, rFUN = "smooth_wHANTS")
   11. │ ├─base::do.call(season_input, params_i)
   12. │ └─phenofit (local) `<fn>`(INPUT = `<named list>`, lambda = 10, rFUN = "smooth_wHANTS")
   13. │   └─phenofit::find_season.peaks(rfit, info_peak)
   14. │     └─phenofit:::get_A(ypred, na.rm = FALSE)
   15. │       ├─range(x, na.rm = na.rm) %>% diff()
   16. │       └─base::Summary.data.frame(`<dt[,8]>`, na.rm = FALSE)
   17. │         └─base::lapply(...)
   18. │           └─base (local) FUN(X[[i]], ...)
   19. └─base::diff(.)
  ── Error ('test-season_mov.R:41'): `season_mov` with smooth_wSG ────────────────
  Error in `FUN(X[[i]], ...)`: only defined on a data frame with all numeric-alike variables
  Backtrace:
       ▆
    1. ├─testthat::expect_silent(brks <- do.call(season_mov, param)) at test-season_mov.R:41:4
    2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ ├─withr::with_output_sink(...)
    5. │   │ │ └─base::force(code)
    6. │   │ ├─base::withCallingHandlers(...)
    7. │   │ └─base::withVisible(code)
    8. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. ├─base::do.call(season_mov, param)
   10. ├─phenofit (local) `<fn>`(INPUT = `<input>`, options = `<named list>`, rFUN = "smooth_wSG")
   11. │ ├─base::do.call(season_input, params_i)
   12. │ └─phenofit (local) `<fn>`(INPUT = `<named list>`, lambda = 10, rFUN = "smooth_wSG")
   13. │   └─phenofit::find_season.peaks(rfit, info_peak)
   14. │     └─phenofit:::get_A(ypred, na.rm = FALSE)
   15. │       ├─range(x, na.rm = na.rm) %>% diff()
   16. │       └─base::Summary.data.frame(`<dt[,8]>`, na.rm = FALSE)
   17. │         └─base::lapply(...)
   18. │           └─base (local) FUN(X[[i]], ...)
   19. └─base::diff(.)
  
  [ FAIL 9 | WARN 0 | SKIP 0 | PASS 45 ]
  Error: Test failures
  Execution halted